@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
@@ -150,9 +150,12 @@ class RankServiceClient {
|
|
150
150
|
// Create useful helper objects for these.
|
151
151
|
this.pathTemplates = {
|
152
152
|
enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
|
153
|
+
projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
|
153
154
|
projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
|
154
155
|
projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
156
|
+
projectLocationCollectionDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/controls/{control}'),
|
155
157
|
projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
|
158
|
+
projectLocationCollectionDataStoreCustomTuningModelPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}'),
|
156
159
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
157
160
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
158
161
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
@@ -160,13 +163,16 @@ class RankServiceClient {
|
|
160
163
|
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
161
164
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
162
165
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
166
|
+
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
163
167
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
164
168
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
165
169
|
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
166
170
|
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
167
171
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
168
172
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
173
|
+
projectLocationDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/controls/{control}'),
|
169
174
|
projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
|
175
|
+
projectLocationDataStoreCustomTuningModelPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}'),
|
170
176
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
171
177
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
172
178
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
@@ -422,6 +428,27 @@ class RankServiceClient {
|
|
422
428
|
matchEngineFromEngineName(engineName) {
|
423
429
|
return this.pathTemplates.enginePathTemplate.match(engineName).engine;
|
424
430
|
}
|
431
|
+
/**
|
432
|
+
* Return a fully-qualified project resource name string.
|
433
|
+
*
|
434
|
+
* @param {string} project
|
435
|
+
* @returns {string} Resource name string.
|
436
|
+
*/
|
437
|
+
projectPath(project) {
|
438
|
+
return this.pathTemplates.projectPathTemplate.render({
|
439
|
+
project: project,
|
440
|
+
});
|
441
|
+
}
|
442
|
+
/**
|
443
|
+
* Parse the project from Project resource.
|
444
|
+
*
|
445
|
+
* @param {string} projectName
|
446
|
+
* A fully-qualified path representing Project resource.
|
447
|
+
* @returns {string} A string representing the project.
|
448
|
+
*/
|
449
|
+
matchProjectFromProjectName(projectName) {
|
450
|
+
return this.pathTemplates.projectPathTemplate.match(projectName).project;
|
451
|
+
}
|
425
452
|
/**
|
426
453
|
* Return a fully-qualified projectLocationCollectionDataStore resource name string.
|
427
454
|
*
|
@@ -560,6 +587,75 @@ class RankServiceClient {
|
|
560
587
|
matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName) {
|
561
588
|
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentName).document;
|
562
589
|
}
|
590
|
+
/**
|
591
|
+
* Return a fully-qualified projectLocationCollectionDataStoreControl resource name string.
|
592
|
+
*
|
593
|
+
* @param {string} project
|
594
|
+
* @param {string} location
|
595
|
+
* @param {string} collection
|
596
|
+
* @param {string} data_store
|
597
|
+
* @param {string} control
|
598
|
+
* @returns {string} Resource name string.
|
599
|
+
*/
|
600
|
+
projectLocationCollectionDataStoreControlPath(project, location, collection, dataStore, control) {
|
601
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.render({
|
602
|
+
project: project,
|
603
|
+
location: location,
|
604
|
+
collection: collection,
|
605
|
+
data_store: dataStore,
|
606
|
+
control: control,
|
607
|
+
});
|
608
|
+
}
|
609
|
+
/**
|
610
|
+
* Parse the project from ProjectLocationCollectionDataStoreControl resource.
|
611
|
+
*
|
612
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
613
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
614
|
+
* @returns {string} A string representing the project.
|
615
|
+
*/
|
616
|
+
matchProjectFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
617
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).project;
|
618
|
+
}
|
619
|
+
/**
|
620
|
+
* Parse the location from ProjectLocationCollectionDataStoreControl resource.
|
621
|
+
*
|
622
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
623
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
624
|
+
* @returns {string} A string representing the location.
|
625
|
+
*/
|
626
|
+
matchLocationFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
627
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).location;
|
628
|
+
}
|
629
|
+
/**
|
630
|
+
* Parse the collection from ProjectLocationCollectionDataStoreControl resource.
|
631
|
+
*
|
632
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
633
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
634
|
+
* @returns {string} A string representing the collection.
|
635
|
+
*/
|
636
|
+
matchCollectionFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
637
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).collection;
|
638
|
+
}
|
639
|
+
/**
|
640
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreControl resource.
|
641
|
+
*
|
642
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
643
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
644
|
+
* @returns {string} A string representing the data_store.
|
645
|
+
*/
|
646
|
+
matchDataStoreFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
647
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).data_store;
|
648
|
+
}
|
649
|
+
/**
|
650
|
+
* Parse the control from ProjectLocationCollectionDataStoreControl resource.
|
651
|
+
*
|
652
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
653
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
654
|
+
* @returns {string} A string representing the control.
|
655
|
+
*/
|
656
|
+
matchControlFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
657
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).control;
|
658
|
+
}
|
563
659
|
/**
|
564
660
|
* Return a fully-qualified projectLocationCollectionDataStoreConversation resource name string.
|
565
661
|
*
|
@@ -629,6 +725,75 @@ class RankServiceClient {
|
|
629
725
|
matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
|
630
726
|
return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).conversation;
|
631
727
|
}
|
728
|
+
/**
|
729
|
+
* Return a fully-qualified projectLocationCollectionDataStoreCustomTuningModel resource name string.
|
730
|
+
*
|
731
|
+
* @param {string} project
|
732
|
+
* @param {string} location
|
733
|
+
* @param {string} collection
|
734
|
+
* @param {string} data_store
|
735
|
+
* @param {string} custom_tuning_model
|
736
|
+
* @returns {string} Resource name string.
|
737
|
+
*/
|
738
|
+
projectLocationCollectionDataStoreCustomTuningModelPath(project, location, collection, dataStore, customTuningModel) {
|
739
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.render({
|
740
|
+
project: project,
|
741
|
+
location: location,
|
742
|
+
collection: collection,
|
743
|
+
data_store: dataStore,
|
744
|
+
custom_tuning_model: customTuningModel,
|
745
|
+
});
|
746
|
+
}
|
747
|
+
/**
|
748
|
+
* Parse the project from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
749
|
+
*
|
750
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
751
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
752
|
+
* @returns {string} A string representing the project.
|
753
|
+
*/
|
754
|
+
matchProjectFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
755
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).project;
|
756
|
+
}
|
757
|
+
/**
|
758
|
+
* Parse the location from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
759
|
+
*
|
760
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
761
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
762
|
+
* @returns {string} A string representing the location.
|
763
|
+
*/
|
764
|
+
matchLocationFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
765
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).location;
|
766
|
+
}
|
767
|
+
/**
|
768
|
+
* Parse the collection from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
769
|
+
*
|
770
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
771
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
772
|
+
* @returns {string} A string representing the collection.
|
773
|
+
*/
|
774
|
+
matchCollectionFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
775
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).collection;
|
776
|
+
}
|
777
|
+
/**
|
778
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
779
|
+
*
|
780
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
781
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
782
|
+
* @returns {string} A string representing the data_store.
|
783
|
+
*/
|
784
|
+
matchDataStoreFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
785
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).data_store;
|
786
|
+
}
|
787
|
+
/**
|
788
|
+
* Parse the custom_tuning_model from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
789
|
+
*
|
790
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
791
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
792
|
+
* @returns {string} A string representing the custom_tuning_model.
|
793
|
+
*/
|
794
|
+
matchCustomTuningModelFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
795
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).custom_tuning_model;
|
796
|
+
}
|
632
797
|
/**
|
633
798
|
* Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
|
634
799
|
*
|
@@ -1100,6 +1265,75 @@ class RankServiceClient {
|
|
1100
1265
|
matchTargetSiteFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
|
1101
1266
|
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).target_site;
|
1102
1267
|
}
|
1268
|
+
/**
|
1269
|
+
* Return a fully-qualified projectLocationCollectionEngineControl resource name string.
|
1270
|
+
*
|
1271
|
+
* @param {string} project
|
1272
|
+
* @param {string} location
|
1273
|
+
* @param {string} collection
|
1274
|
+
* @param {string} engine
|
1275
|
+
* @param {string} control
|
1276
|
+
* @returns {string} Resource name string.
|
1277
|
+
*/
|
1278
|
+
projectLocationCollectionEngineControlPath(project, location, collection, engine, control) {
|
1279
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.render({
|
1280
|
+
project: project,
|
1281
|
+
location: location,
|
1282
|
+
collection: collection,
|
1283
|
+
engine: engine,
|
1284
|
+
control: control,
|
1285
|
+
});
|
1286
|
+
}
|
1287
|
+
/**
|
1288
|
+
* Parse the project from ProjectLocationCollectionEngineControl resource.
|
1289
|
+
*
|
1290
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1291
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1292
|
+
* @returns {string} A string representing the project.
|
1293
|
+
*/
|
1294
|
+
matchProjectFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
1295
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).project;
|
1296
|
+
}
|
1297
|
+
/**
|
1298
|
+
* Parse the location from ProjectLocationCollectionEngineControl resource.
|
1299
|
+
*
|
1300
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1301
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1302
|
+
* @returns {string} A string representing the location.
|
1303
|
+
*/
|
1304
|
+
matchLocationFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
1305
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).location;
|
1306
|
+
}
|
1307
|
+
/**
|
1308
|
+
* Parse the collection from ProjectLocationCollectionEngineControl resource.
|
1309
|
+
*
|
1310
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1311
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1312
|
+
* @returns {string} A string representing the collection.
|
1313
|
+
*/
|
1314
|
+
matchCollectionFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
1315
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).collection;
|
1316
|
+
}
|
1317
|
+
/**
|
1318
|
+
* Parse the engine from ProjectLocationCollectionEngineControl resource.
|
1319
|
+
*
|
1320
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1321
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1322
|
+
* @returns {string} A string representing the engine.
|
1323
|
+
*/
|
1324
|
+
matchEngineFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
1325
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).engine;
|
1326
|
+
}
|
1327
|
+
/**
|
1328
|
+
* Parse the control from ProjectLocationCollectionEngineControl resource.
|
1329
|
+
*
|
1330
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1331
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1332
|
+
* @returns {string} A string representing the control.
|
1333
|
+
*/
|
1334
|
+
matchControlFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
1335
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).control;
|
1336
|
+
}
|
1103
1337
|
/**
|
1104
1338
|
* Return a fully-qualified projectLocationCollectionEngineConversation resource name string.
|
1105
1339
|
*
|
@@ -1502,6 +1736,63 @@ class RankServiceClient {
|
|
1502
1736
|
matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName) {
|
1503
1737
|
return this.pathTemplates.projectLocationDataStoreBranchDocumentPathTemplate.match(projectLocationDataStoreBranchDocumentName).document;
|
1504
1738
|
}
|
1739
|
+
/**
|
1740
|
+
* Return a fully-qualified projectLocationDataStoreControl resource name string.
|
1741
|
+
*
|
1742
|
+
* @param {string} project
|
1743
|
+
* @param {string} location
|
1744
|
+
* @param {string} data_store
|
1745
|
+
* @param {string} control
|
1746
|
+
* @returns {string} Resource name string.
|
1747
|
+
*/
|
1748
|
+
projectLocationDataStoreControlPath(project, location, dataStore, control) {
|
1749
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.render({
|
1750
|
+
project: project,
|
1751
|
+
location: location,
|
1752
|
+
data_store: dataStore,
|
1753
|
+
control: control,
|
1754
|
+
});
|
1755
|
+
}
|
1756
|
+
/**
|
1757
|
+
* Parse the project from ProjectLocationDataStoreControl resource.
|
1758
|
+
*
|
1759
|
+
* @param {string} projectLocationDataStoreControlName
|
1760
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
1761
|
+
* @returns {string} A string representing the project.
|
1762
|
+
*/
|
1763
|
+
matchProjectFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
|
1764
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).project;
|
1765
|
+
}
|
1766
|
+
/**
|
1767
|
+
* Parse the location from ProjectLocationDataStoreControl resource.
|
1768
|
+
*
|
1769
|
+
* @param {string} projectLocationDataStoreControlName
|
1770
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
1771
|
+
* @returns {string} A string representing the location.
|
1772
|
+
*/
|
1773
|
+
matchLocationFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
|
1774
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).location;
|
1775
|
+
}
|
1776
|
+
/**
|
1777
|
+
* Parse the data_store from ProjectLocationDataStoreControl resource.
|
1778
|
+
*
|
1779
|
+
* @param {string} projectLocationDataStoreControlName
|
1780
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
1781
|
+
* @returns {string} A string representing the data_store.
|
1782
|
+
*/
|
1783
|
+
matchDataStoreFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
|
1784
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).data_store;
|
1785
|
+
}
|
1786
|
+
/**
|
1787
|
+
* Parse the control from ProjectLocationDataStoreControl resource.
|
1788
|
+
*
|
1789
|
+
* @param {string} projectLocationDataStoreControlName
|
1790
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
1791
|
+
* @returns {string} A string representing the control.
|
1792
|
+
*/
|
1793
|
+
matchControlFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
|
1794
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).control;
|
1795
|
+
}
|
1505
1796
|
/**
|
1506
1797
|
* Return a fully-qualified projectLocationDataStoreConversation resource name string.
|
1507
1798
|
*
|
@@ -1559,6 +1850,63 @@ class RankServiceClient {
|
|
1559
1850
|
matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
|
1560
1851
|
return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).conversation;
|
1561
1852
|
}
|
1853
|
+
/**
|
1854
|
+
* Return a fully-qualified projectLocationDataStoreCustomTuningModel resource name string.
|
1855
|
+
*
|
1856
|
+
* @param {string} project
|
1857
|
+
* @param {string} location
|
1858
|
+
* @param {string} data_store
|
1859
|
+
* @param {string} custom_tuning_model
|
1860
|
+
* @returns {string} Resource name string.
|
1861
|
+
*/
|
1862
|
+
projectLocationDataStoreCustomTuningModelPath(project, location, dataStore, customTuningModel) {
|
1863
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.render({
|
1864
|
+
project: project,
|
1865
|
+
location: location,
|
1866
|
+
data_store: dataStore,
|
1867
|
+
custom_tuning_model: customTuningModel,
|
1868
|
+
});
|
1869
|
+
}
|
1870
|
+
/**
|
1871
|
+
* Parse the project from ProjectLocationDataStoreCustomTuningModel resource.
|
1872
|
+
*
|
1873
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
1874
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
1875
|
+
* @returns {string} A string representing the project.
|
1876
|
+
*/
|
1877
|
+
matchProjectFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
|
1878
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).project;
|
1879
|
+
}
|
1880
|
+
/**
|
1881
|
+
* Parse the location from ProjectLocationDataStoreCustomTuningModel resource.
|
1882
|
+
*
|
1883
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
1884
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
1885
|
+
* @returns {string} A string representing the location.
|
1886
|
+
*/
|
1887
|
+
matchLocationFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
|
1888
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).location;
|
1889
|
+
}
|
1890
|
+
/**
|
1891
|
+
* Parse the data_store from ProjectLocationDataStoreCustomTuningModel resource.
|
1892
|
+
*
|
1893
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
1894
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
1895
|
+
* @returns {string} A string representing the data_store.
|
1896
|
+
*/
|
1897
|
+
matchDataStoreFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
|
1898
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).data_store;
|
1899
|
+
}
|
1900
|
+
/**
|
1901
|
+
* Parse the custom_tuning_model from ProjectLocationDataStoreCustomTuningModel resource.
|
1902
|
+
*
|
1903
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
1904
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
1905
|
+
* @returns {string} A string representing the custom_tuning_model.
|
1906
|
+
*/
|
1907
|
+
matchCustomTuningModelFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
|
1908
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).custom_tuning_model;
|
1909
|
+
}
|
1562
1910
|
/**
|
1563
1911
|
* Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
|
1564
1912
|
*
|