@google-cloud/discoveryengine 1.7.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 +16 -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 +34 -1
- package/build/protos/google/cloud/discoveryengine/v1/completion.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1/completion_service.proto +1 -1
- 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 +3 -3
- package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +570 -1
- package/build/protos/google/cloud/discoveryengine/v1/data_store.proto +5 -1
- package/build/protos/google/cloud/discoveryengine/v1/data_store_service.proto +3 -3
- package/build/protos/google/cloud/discoveryengine/v1/document.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1/document_processing_config.proto +92 -0
- package/build/protos/google/cloud/discoveryengine/v1/document_service.proto +7 -7
- package/build/protos/google/cloud/discoveryengine/v1/engine.proto +5 -5
- package/build/protos/google/cloud/discoveryengine/v1/engine_service.proto +1 -1
- 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 +5 -5
- 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/purge_config.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1/rank_service.proto +131 -0
- package/build/protos/google/cloud/discoveryengine/v1/recommendation_service.proto +21 -20
- package/build/protos/google/cloud/discoveryengine/v1/schema.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1/schema_service.proto +6 -6
- package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +24 -19
- package/build/protos/google/cloud/discoveryengine/v1/session.proto +97 -0
- package/build/protos/google/cloud/discoveryengine/v1/site_search_engine.proto +4 -1
- package/build/protos/google/cloud/discoveryengine/v1/site_search_engine_service.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1/user_event.proto +29 -4
- package/build/protos/google/cloud/discoveryengine/v1/user_event_service.proto +19 -3
- package/build/protos/google/cloud/discoveryengine/v1alpha/acl_config.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/acl_config_service.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/answer.proto +10 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/chunk.proto +8 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/chunk_service.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +17 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/completion.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/completion_service.proto +1 -1
- 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 +3 -3
- package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +20 -4
- package/build/protos/google/cloud/discoveryengine/v1alpha/custom_tuning_model.proto +87 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/data_store.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/data_store_service.proto +3 -3
- package/build/protos/google/cloud/discoveryengine/v1alpha/document.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/document_processing_config.proto +2 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/document_service.proto +13 -10
- package/build/protos/google/cloud/discoveryengine/v1alpha/engine.proto +5 -5
- package/build/protos/google/cloud/discoveryengine/v1alpha/engine_service.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/estimate_billing_service.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/grounded_generation_service.proto +31 -2
- package/build/protos/google/cloud/discoveryengine/v1alpha/grounding.proto +4 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/import_config.proto +5 -5
- package/build/protos/google/cloud/discoveryengine/v1alpha/project.proto +2 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/project_service.proto +3 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/purge_config.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/rank_service.proto +20 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/recommendation_service.proto +21 -20
- package/build/protos/google/cloud/discoveryengine/v1alpha/schema.proto +38 -3
- package/build/protos/google/cloud/discoveryengine/v1alpha/schema_service.proto +7 -7
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +29 -32
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_tuning_service.proto +40 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/serving_config.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/serving_config_service.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/session.proto +4 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine.proto +4 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine_service.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/user_event.proto +30 -4
- package/build/protos/google/cloud/discoveryengine/v1alpha/user_event_service.proto +19 -3
- package/build/protos/google/cloud/discoveryengine/v1beta/answer.proto +11 -2
- package/build/protos/google/cloud/discoveryengine/v1beta/common.proto +17 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/completion.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/completion_service.proto +1 -1
- 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 +3 -3
- package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +20 -4
- package/build/protos/google/cloud/discoveryengine/v1beta/custom_tuning_model.proto +87 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/data_store.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/data_store_service.proto +3 -3
- package/build/protos/google/cloud/discoveryengine/v1beta/document.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/document_processing_config.proto +2 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/document_service.proto +8 -9
- package/build/protos/google/cloud/discoveryengine/v1beta/engine.proto +5 -5
- package/build/protos/google/cloud/discoveryengine/v1beta/engine_service.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/grounded_generation_service.proto +31 -2
- package/build/protos/google/cloud/discoveryengine/v1beta/grounding.proto +4 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/import_config.proto +5 -5
- 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/purge_config.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/rank_service.proto +20 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/recommendation_service.proto +21 -20
- package/build/protos/google/cloud/discoveryengine/v1beta/schema.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/schema_service.proto +6 -6
- package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +31 -25
- package/build/protos/google/cloud/discoveryengine/v1beta/search_tuning_service.proto +40 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/serving_config.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/serving_config_service.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/session.proto +5 -2
- package/build/protos/google/cloud/discoveryengine/v1beta/site_search_engine.proto +4 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/site_search_engine_service.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/user_event.proto +29 -4
- package/build/protos/google/cloud/discoveryengine/v1beta/user_event_service.proto +19 -3
- 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
@@ -156,7 +156,9 @@ class RecommendationServiceClient {
|
|
156
156
|
projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
|
157
157
|
projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
158
158
|
projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
159
|
+
projectLocationCollectionDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/controls/{control}'),
|
159
160
|
projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
|
161
|
+
projectLocationCollectionDataStoreCustomTuningModelPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}'),
|
160
162
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
161
163
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
162
164
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
@@ -164,6 +166,7 @@ class RecommendationServiceClient {
|
|
164
166
|
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
165
167
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
166
168
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
169
|
+
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
167
170
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
168
171
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
169
172
|
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
@@ -171,7 +174,9 @@ class RecommendationServiceClient {
|
|
171
174
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
172
175
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
173
176
|
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
177
|
+
projectLocationDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/controls/{control}'),
|
174
178
|
projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
|
179
|
+
projectLocationDataStoreCustomTuningModelPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}'),
|
175
180
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
176
181
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
177
182
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
@@ -714,6 +719,75 @@ class RecommendationServiceClient {
|
|
714
719
|
matchChunkFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
715
720
|
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).chunk;
|
716
721
|
}
|
722
|
+
/**
|
723
|
+
* Return a fully-qualified projectLocationCollectionDataStoreControl resource name string.
|
724
|
+
*
|
725
|
+
* @param {string} project
|
726
|
+
* @param {string} location
|
727
|
+
* @param {string} collection
|
728
|
+
* @param {string} data_store
|
729
|
+
* @param {string} control
|
730
|
+
* @returns {string} Resource name string.
|
731
|
+
*/
|
732
|
+
projectLocationCollectionDataStoreControlPath(project, location, collection, dataStore, control) {
|
733
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.render({
|
734
|
+
project: project,
|
735
|
+
location: location,
|
736
|
+
collection: collection,
|
737
|
+
data_store: dataStore,
|
738
|
+
control: control,
|
739
|
+
});
|
740
|
+
}
|
741
|
+
/**
|
742
|
+
* Parse the project from ProjectLocationCollectionDataStoreControl resource.
|
743
|
+
*
|
744
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
745
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
746
|
+
* @returns {string} A string representing the project.
|
747
|
+
*/
|
748
|
+
matchProjectFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
749
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).project;
|
750
|
+
}
|
751
|
+
/**
|
752
|
+
* Parse the location from ProjectLocationCollectionDataStoreControl resource.
|
753
|
+
*
|
754
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
755
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
756
|
+
* @returns {string} A string representing the location.
|
757
|
+
*/
|
758
|
+
matchLocationFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
759
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).location;
|
760
|
+
}
|
761
|
+
/**
|
762
|
+
* Parse the collection from ProjectLocationCollectionDataStoreControl resource.
|
763
|
+
*
|
764
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
765
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
766
|
+
* @returns {string} A string representing the collection.
|
767
|
+
*/
|
768
|
+
matchCollectionFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
769
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).collection;
|
770
|
+
}
|
771
|
+
/**
|
772
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreControl resource.
|
773
|
+
*
|
774
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
775
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
776
|
+
* @returns {string} A string representing the data_store.
|
777
|
+
*/
|
778
|
+
matchDataStoreFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
779
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).data_store;
|
780
|
+
}
|
781
|
+
/**
|
782
|
+
* Parse the control from ProjectLocationCollectionDataStoreControl resource.
|
783
|
+
*
|
784
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
785
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
786
|
+
* @returns {string} A string representing the control.
|
787
|
+
*/
|
788
|
+
matchControlFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
789
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).control;
|
790
|
+
}
|
717
791
|
/**
|
718
792
|
* Return a fully-qualified projectLocationCollectionDataStoreConversation resource name string.
|
719
793
|
*
|
@@ -783,6 +857,75 @@ class RecommendationServiceClient {
|
|
783
857
|
matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
|
784
858
|
return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).conversation;
|
785
859
|
}
|
860
|
+
/**
|
861
|
+
* Return a fully-qualified projectLocationCollectionDataStoreCustomTuningModel resource name string.
|
862
|
+
*
|
863
|
+
* @param {string} project
|
864
|
+
* @param {string} location
|
865
|
+
* @param {string} collection
|
866
|
+
* @param {string} data_store
|
867
|
+
* @param {string} custom_tuning_model
|
868
|
+
* @returns {string} Resource name string.
|
869
|
+
*/
|
870
|
+
projectLocationCollectionDataStoreCustomTuningModelPath(project, location, collection, dataStore, customTuningModel) {
|
871
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.render({
|
872
|
+
project: project,
|
873
|
+
location: location,
|
874
|
+
collection: collection,
|
875
|
+
data_store: dataStore,
|
876
|
+
custom_tuning_model: customTuningModel,
|
877
|
+
});
|
878
|
+
}
|
879
|
+
/**
|
880
|
+
* Parse the project from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
881
|
+
*
|
882
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
883
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
884
|
+
* @returns {string} A string representing the project.
|
885
|
+
*/
|
886
|
+
matchProjectFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
887
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).project;
|
888
|
+
}
|
889
|
+
/**
|
890
|
+
* Parse the location from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
891
|
+
*
|
892
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
893
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
894
|
+
* @returns {string} A string representing the location.
|
895
|
+
*/
|
896
|
+
matchLocationFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
897
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).location;
|
898
|
+
}
|
899
|
+
/**
|
900
|
+
* Parse the collection from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
901
|
+
*
|
902
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
903
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
904
|
+
* @returns {string} A string representing the collection.
|
905
|
+
*/
|
906
|
+
matchCollectionFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
907
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).collection;
|
908
|
+
}
|
909
|
+
/**
|
910
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
911
|
+
*
|
912
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
913
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
914
|
+
* @returns {string} A string representing the data_store.
|
915
|
+
*/
|
916
|
+
matchDataStoreFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
917
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).data_store;
|
918
|
+
}
|
919
|
+
/**
|
920
|
+
* Parse the custom_tuning_model from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
921
|
+
*
|
922
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
923
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
924
|
+
* @returns {string} A string representing the custom_tuning_model.
|
925
|
+
*/
|
926
|
+
matchCustomTuningModelFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
927
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).custom_tuning_model;
|
928
|
+
}
|
786
929
|
/**
|
787
930
|
* Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
|
788
931
|
*
|
@@ -1254,6 +1397,75 @@ class RecommendationServiceClient {
|
|
1254
1397
|
matchTargetSiteFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
|
1255
1398
|
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).target_site;
|
1256
1399
|
}
|
1400
|
+
/**
|
1401
|
+
* Return a fully-qualified projectLocationCollectionEngineControl resource name string.
|
1402
|
+
*
|
1403
|
+
* @param {string} project
|
1404
|
+
* @param {string} location
|
1405
|
+
* @param {string} collection
|
1406
|
+
* @param {string} engine
|
1407
|
+
* @param {string} control
|
1408
|
+
* @returns {string} Resource name string.
|
1409
|
+
*/
|
1410
|
+
projectLocationCollectionEngineControlPath(project, location, collection, engine, control) {
|
1411
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.render({
|
1412
|
+
project: project,
|
1413
|
+
location: location,
|
1414
|
+
collection: collection,
|
1415
|
+
engine: engine,
|
1416
|
+
control: control,
|
1417
|
+
});
|
1418
|
+
}
|
1419
|
+
/**
|
1420
|
+
* Parse the project from ProjectLocationCollectionEngineControl resource.
|
1421
|
+
*
|
1422
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1423
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1424
|
+
* @returns {string} A string representing the project.
|
1425
|
+
*/
|
1426
|
+
matchProjectFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
1427
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).project;
|
1428
|
+
}
|
1429
|
+
/**
|
1430
|
+
* Parse the location from ProjectLocationCollectionEngineControl resource.
|
1431
|
+
*
|
1432
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1433
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1434
|
+
* @returns {string} A string representing the location.
|
1435
|
+
*/
|
1436
|
+
matchLocationFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
1437
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).location;
|
1438
|
+
}
|
1439
|
+
/**
|
1440
|
+
* Parse the collection from ProjectLocationCollectionEngineControl resource.
|
1441
|
+
*
|
1442
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1443
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1444
|
+
* @returns {string} A string representing the collection.
|
1445
|
+
*/
|
1446
|
+
matchCollectionFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
1447
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).collection;
|
1448
|
+
}
|
1449
|
+
/**
|
1450
|
+
* Parse the engine from ProjectLocationCollectionEngineControl resource.
|
1451
|
+
*
|
1452
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1453
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1454
|
+
* @returns {string} A string representing the engine.
|
1455
|
+
*/
|
1456
|
+
matchEngineFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
1457
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).engine;
|
1458
|
+
}
|
1459
|
+
/**
|
1460
|
+
* Parse the control from ProjectLocationCollectionEngineControl resource.
|
1461
|
+
*
|
1462
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1463
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1464
|
+
* @returns {string} A string representing the control.
|
1465
|
+
*/
|
1466
|
+
matchControlFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
1467
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).control;
|
1468
|
+
}
|
1257
1469
|
/**
|
1258
1470
|
* Return a fully-qualified projectLocationCollectionEngineConversation resource name string.
|
1259
1471
|
*
|
@@ -1737,6 +1949,63 @@ class RecommendationServiceClient {
|
|
1737
1949
|
matchChunkFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
1738
1950
|
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).chunk;
|
1739
1951
|
}
|
1952
|
+
/**
|
1953
|
+
* Return a fully-qualified projectLocationDataStoreControl resource name string.
|
1954
|
+
*
|
1955
|
+
* @param {string} project
|
1956
|
+
* @param {string} location
|
1957
|
+
* @param {string} data_store
|
1958
|
+
* @param {string} control
|
1959
|
+
* @returns {string} Resource name string.
|
1960
|
+
*/
|
1961
|
+
projectLocationDataStoreControlPath(project, location, dataStore, control) {
|
1962
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.render({
|
1963
|
+
project: project,
|
1964
|
+
location: location,
|
1965
|
+
data_store: dataStore,
|
1966
|
+
control: control,
|
1967
|
+
});
|
1968
|
+
}
|
1969
|
+
/**
|
1970
|
+
* Parse the project from ProjectLocationDataStoreControl resource.
|
1971
|
+
*
|
1972
|
+
* @param {string} projectLocationDataStoreControlName
|
1973
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
1974
|
+
* @returns {string} A string representing the project.
|
1975
|
+
*/
|
1976
|
+
matchProjectFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
|
1977
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).project;
|
1978
|
+
}
|
1979
|
+
/**
|
1980
|
+
* Parse the location from ProjectLocationDataStoreControl resource.
|
1981
|
+
*
|
1982
|
+
* @param {string} projectLocationDataStoreControlName
|
1983
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
1984
|
+
* @returns {string} A string representing the location.
|
1985
|
+
*/
|
1986
|
+
matchLocationFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
|
1987
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).location;
|
1988
|
+
}
|
1989
|
+
/**
|
1990
|
+
* Parse the data_store from ProjectLocationDataStoreControl resource.
|
1991
|
+
*
|
1992
|
+
* @param {string} projectLocationDataStoreControlName
|
1993
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
1994
|
+
* @returns {string} A string representing the data_store.
|
1995
|
+
*/
|
1996
|
+
matchDataStoreFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
|
1997
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).data_store;
|
1998
|
+
}
|
1999
|
+
/**
|
2000
|
+
* Parse the control from ProjectLocationDataStoreControl resource.
|
2001
|
+
*
|
2002
|
+
* @param {string} projectLocationDataStoreControlName
|
2003
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
2004
|
+
* @returns {string} A string representing the control.
|
2005
|
+
*/
|
2006
|
+
matchControlFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
|
2007
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).control;
|
2008
|
+
}
|
1740
2009
|
/**
|
1741
2010
|
* Return a fully-qualified projectLocationDataStoreConversation resource name string.
|
1742
2011
|
*
|
@@ -1794,6 +2063,63 @@ class RecommendationServiceClient {
|
|
1794
2063
|
matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
|
1795
2064
|
return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).conversation;
|
1796
2065
|
}
|
2066
|
+
/**
|
2067
|
+
* Return a fully-qualified projectLocationDataStoreCustomTuningModel resource name string.
|
2068
|
+
*
|
2069
|
+
* @param {string} project
|
2070
|
+
* @param {string} location
|
2071
|
+
* @param {string} data_store
|
2072
|
+
* @param {string} custom_tuning_model
|
2073
|
+
* @returns {string} Resource name string.
|
2074
|
+
*/
|
2075
|
+
projectLocationDataStoreCustomTuningModelPath(project, location, dataStore, customTuningModel) {
|
2076
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.render({
|
2077
|
+
project: project,
|
2078
|
+
location: location,
|
2079
|
+
data_store: dataStore,
|
2080
|
+
custom_tuning_model: customTuningModel,
|
2081
|
+
});
|
2082
|
+
}
|
2083
|
+
/**
|
2084
|
+
* Parse the project from ProjectLocationDataStoreCustomTuningModel resource.
|
2085
|
+
*
|
2086
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2087
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2088
|
+
* @returns {string} A string representing the project.
|
2089
|
+
*/
|
2090
|
+
matchProjectFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
|
2091
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).project;
|
2092
|
+
}
|
2093
|
+
/**
|
2094
|
+
* Parse the location from ProjectLocationDataStoreCustomTuningModel resource.
|
2095
|
+
*
|
2096
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2097
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2098
|
+
* @returns {string} A string representing the location.
|
2099
|
+
*/
|
2100
|
+
matchLocationFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
|
2101
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).location;
|
2102
|
+
}
|
2103
|
+
/**
|
2104
|
+
* Parse the data_store from ProjectLocationDataStoreCustomTuningModel resource.
|
2105
|
+
*
|
2106
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2107
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2108
|
+
* @returns {string} A string representing the data_store.
|
2109
|
+
*/
|
2110
|
+
matchDataStoreFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
|
2111
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).data_store;
|
2112
|
+
}
|
2113
|
+
/**
|
2114
|
+
* Parse the custom_tuning_model from ProjectLocationDataStoreCustomTuningModel resource.
|
2115
|
+
*
|
2116
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2117
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2118
|
+
* @returns {string} A string representing the custom_tuning_model.
|
2119
|
+
*/
|
2120
|
+
matchCustomTuningModelFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
|
2121
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).custom_tuning_model;
|
2122
|
+
}
|
1797
2123
|
/**
|
1798
2124
|
* Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
|
1799
2125
|
*
|