@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
@@ -150,9 +150,12 @@ class SearchTuningServiceClient {
|
|
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 SearchTuningServiceClient {
|
|
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}'),
|
@@ -186,6 +192,17 @@ class SearchTuningServiceClient {
|
|
186
192
|
if (opts.fallback) {
|
187
193
|
lroOptions.protoJson = protoFilesRoot;
|
188
194
|
lroOptions.httpRules = [
|
195
|
+
{
|
196
|
+
selector: 'google.longrunning.Operations.CancelOperation',
|
197
|
+
post: '/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/operations/*}:cancel',
|
198
|
+
body: '*',
|
199
|
+
additional_bindings: [
|
200
|
+
{
|
201
|
+
post: '/v1beta/{name=projects/*/locations/*/dataStores/*/branches/*/operations/*}:cancel',
|
202
|
+
body: '*',
|
203
|
+
},
|
204
|
+
],
|
205
|
+
},
|
189
206
|
{
|
190
207
|
selector: 'google.longrunning.Operations.GetOperation',
|
191
208
|
get: '/v1beta/{name=projects/*/locations/*/collections/*/dataConnector/operations/*}',
|
@@ -312,7 +329,10 @@ class SearchTuningServiceClient {
|
|
312
329
|
.SearchTuningService, this._opts, this._providedCustomServicePath);
|
313
330
|
// Iterate over each of the methods that the service provides
|
314
331
|
// and create an API call method for each.
|
315
|
-
const searchTuningServiceStubMethods = [
|
332
|
+
const searchTuningServiceStubMethods = [
|
333
|
+
'trainCustomModel',
|
334
|
+
'listCustomModels',
|
335
|
+
];
|
316
336
|
for (const methodName of searchTuningServiceStubMethods) {
|
317
337
|
const callPromise = this.searchTuningServiceStub.then(stub => (...args) => {
|
318
338
|
if (this._terminated) {
|
@@ -389,6 +409,27 @@ class SearchTuningServiceClient {
|
|
389
409
|
}
|
390
410
|
return this.auth.getProjectId();
|
391
411
|
}
|
412
|
+
listCustomModels(request, optionsOrCallback, callback) {
|
413
|
+
var _a;
|
414
|
+
request = request || {};
|
415
|
+
let options;
|
416
|
+
if (typeof optionsOrCallback === 'function' && callback === undefined) {
|
417
|
+
callback = optionsOrCallback;
|
418
|
+
options = {};
|
419
|
+
}
|
420
|
+
else {
|
421
|
+
options = optionsOrCallback;
|
422
|
+
}
|
423
|
+
options = options || {};
|
424
|
+
options.otherArgs = options.otherArgs || {};
|
425
|
+
options.otherArgs.headers = options.otherArgs.headers || {};
|
426
|
+
options.otherArgs.headers['x-goog-request-params'] =
|
427
|
+
this._gaxModule.routingHeader.fromParams({
|
428
|
+
data_store: (_a = request.dataStore) !== null && _a !== void 0 ? _a : '',
|
429
|
+
});
|
430
|
+
this.initialize();
|
431
|
+
return this.innerApiCalls.listCustomModels(request, options, callback);
|
432
|
+
}
|
392
433
|
trainCustomModel(request, optionsOrCallback, callback) {
|
393
434
|
var _a;
|
394
435
|
request = request || {};
|
@@ -670,6 +711,27 @@ class SearchTuningServiceClient {
|
|
670
711
|
matchEngineFromEngineName(engineName) {
|
671
712
|
return this.pathTemplates.enginePathTemplate.match(engineName).engine;
|
672
713
|
}
|
714
|
+
/**
|
715
|
+
* Return a fully-qualified project resource name string.
|
716
|
+
*
|
717
|
+
* @param {string} project
|
718
|
+
* @returns {string} Resource name string.
|
719
|
+
*/
|
720
|
+
projectPath(project) {
|
721
|
+
return this.pathTemplates.projectPathTemplate.render({
|
722
|
+
project: project,
|
723
|
+
});
|
724
|
+
}
|
725
|
+
/**
|
726
|
+
* Parse the project from Project resource.
|
727
|
+
*
|
728
|
+
* @param {string} projectName
|
729
|
+
* A fully-qualified path representing Project resource.
|
730
|
+
* @returns {string} A string representing the project.
|
731
|
+
*/
|
732
|
+
matchProjectFromProjectName(projectName) {
|
733
|
+
return this.pathTemplates.projectPathTemplate.match(projectName).project;
|
734
|
+
}
|
673
735
|
/**
|
674
736
|
* Return a fully-qualified projectLocationCollectionDataStore resource name string.
|
675
737
|
*
|
@@ -808,6 +870,75 @@ class SearchTuningServiceClient {
|
|
808
870
|
matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName) {
|
809
871
|
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentName).document;
|
810
872
|
}
|
873
|
+
/**
|
874
|
+
* Return a fully-qualified projectLocationCollectionDataStoreControl resource name string.
|
875
|
+
*
|
876
|
+
* @param {string} project
|
877
|
+
* @param {string} location
|
878
|
+
* @param {string} collection
|
879
|
+
* @param {string} data_store
|
880
|
+
* @param {string} control
|
881
|
+
* @returns {string} Resource name string.
|
882
|
+
*/
|
883
|
+
projectLocationCollectionDataStoreControlPath(project, location, collection, dataStore, control) {
|
884
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.render({
|
885
|
+
project: project,
|
886
|
+
location: location,
|
887
|
+
collection: collection,
|
888
|
+
data_store: dataStore,
|
889
|
+
control: control,
|
890
|
+
});
|
891
|
+
}
|
892
|
+
/**
|
893
|
+
* Parse the project from ProjectLocationCollectionDataStoreControl resource.
|
894
|
+
*
|
895
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
896
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
897
|
+
* @returns {string} A string representing the project.
|
898
|
+
*/
|
899
|
+
matchProjectFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
900
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).project;
|
901
|
+
}
|
902
|
+
/**
|
903
|
+
* Parse the location from ProjectLocationCollectionDataStoreControl resource.
|
904
|
+
*
|
905
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
906
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
907
|
+
* @returns {string} A string representing the location.
|
908
|
+
*/
|
909
|
+
matchLocationFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
910
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).location;
|
911
|
+
}
|
912
|
+
/**
|
913
|
+
* Parse the collection from ProjectLocationCollectionDataStoreControl resource.
|
914
|
+
*
|
915
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
916
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
917
|
+
* @returns {string} A string representing the collection.
|
918
|
+
*/
|
919
|
+
matchCollectionFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
920
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).collection;
|
921
|
+
}
|
922
|
+
/**
|
923
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreControl resource.
|
924
|
+
*
|
925
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
926
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
927
|
+
* @returns {string} A string representing the data_store.
|
928
|
+
*/
|
929
|
+
matchDataStoreFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
930
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).data_store;
|
931
|
+
}
|
932
|
+
/**
|
933
|
+
* Parse the control from ProjectLocationCollectionDataStoreControl resource.
|
934
|
+
*
|
935
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
936
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
937
|
+
* @returns {string} A string representing the control.
|
938
|
+
*/
|
939
|
+
matchControlFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
940
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).control;
|
941
|
+
}
|
811
942
|
/**
|
812
943
|
* Return a fully-qualified projectLocationCollectionDataStoreConversation resource name string.
|
813
944
|
*
|
@@ -877,6 +1008,75 @@ class SearchTuningServiceClient {
|
|
877
1008
|
matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
|
878
1009
|
return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).conversation;
|
879
1010
|
}
|
1011
|
+
/**
|
1012
|
+
* Return a fully-qualified projectLocationCollectionDataStoreCustomTuningModel resource name string.
|
1013
|
+
*
|
1014
|
+
* @param {string} project
|
1015
|
+
* @param {string} location
|
1016
|
+
* @param {string} collection
|
1017
|
+
* @param {string} data_store
|
1018
|
+
* @param {string} custom_tuning_model
|
1019
|
+
* @returns {string} Resource name string.
|
1020
|
+
*/
|
1021
|
+
projectLocationCollectionDataStoreCustomTuningModelPath(project, location, collection, dataStore, customTuningModel) {
|
1022
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.render({
|
1023
|
+
project: project,
|
1024
|
+
location: location,
|
1025
|
+
collection: collection,
|
1026
|
+
data_store: dataStore,
|
1027
|
+
custom_tuning_model: customTuningModel,
|
1028
|
+
});
|
1029
|
+
}
|
1030
|
+
/**
|
1031
|
+
* Parse the project from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1032
|
+
*
|
1033
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1034
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1035
|
+
* @returns {string} A string representing the project.
|
1036
|
+
*/
|
1037
|
+
matchProjectFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
1038
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).project;
|
1039
|
+
}
|
1040
|
+
/**
|
1041
|
+
* Parse the location from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1042
|
+
*
|
1043
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1044
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1045
|
+
* @returns {string} A string representing the location.
|
1046
|
+
*/
|
1047
|
+
matchLocationFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
1048
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).location;
|
1049
|
+
}
|
1050
|
+
/**
|
1051
|
+
* Parse the collection from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1052
|
+
*
|
1053
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1054
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1055
|
+
* @returns {string} A string representing the collection.
|
1056
|
+
*/
|
1057
|
+
matchCollectionFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
1058
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).collection;
|
1059
|
+
}
|
1060
|
+
/**
|
1061
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1062
|
+
*
|
1063
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1064
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1065
|
+
* @returns {string} A string representing the data_store.
|
1066
|
+
*/
|
1067
|
+
matchDataStoreFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
1068
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).data_store;
|
1069
|
+
}
|
1070
|
+
/**
|
1071
|
+
* Parse the custom_tuning_model from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1072
|
+
*
|
1073
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1074
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1075
|
+
* @returns {string} A string representing the custom_tuning_model.
|
1076
|
+
*/
|
1077
|
+
matchCustomTuningModelFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
1078
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).custom_tuning_model;
|
1079
|
+
}
|
880
1080
|
/**
|
881
1081
|
* Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
|
882
1082
|
*
|
@@ -1348,6 +1548,75 @@ class SearchTuningServiceClient {
|
|
1348
1548
|
matchTargetSiteFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
|
1349
1549
|
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).target_site;
|
1350
1550
|
}
|
1551
|
+
/**
|
1552
|
+
* Return a fully-qualified projectLocationCollectionEngineControl resource name string.
|
1553
|
+
*
|
1554
|
+
* @param {string} project
|
1555
|
+
* @param {string} location
|
1556
|
+
* @param {string} collection
|
1557
|
+
* @param {string} engine
|
1558
|
+
* @param {string} control
|
1559
|
+
* @returns {string} Resource name string.
|
1560
|
+
*/
|
1561
|
+
projectLocationCollectionEngineControlPath(project, location, collection, engine, control) {
|
1562
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.render({
|
1563
|
+
project: project,
|
1564
|
+
location: location,
|
1565
|
+
collection: collection,
|
1566
|
+
engine: engine,
|
1567
|
+
control: control,
|
1568
|
+
});
|
1569
|
+
}
|
1570
|
+
/**
|
1571
|
+
* Parse the project from ProjectLocationCollectionEngineControl resource.
|
1572
|
+
*
|
1573
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1574
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1575
|
+
* @returns {string} A string representing the project.
|
1576
|
+
*/
|
1577
|
+
matchProjectFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
1578
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).project;
|
1579
|
+
}
|
1580
|
+
/**
|
1581
|
+
* Parse the location from ProjectLocationCollectionEngineControl resource.
|
1582
|
+
*
|
1583
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1584
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1585
|
+
* @returns {string} A string representing the location.
|
1586
|
+
*/
|
1587
|
+
matchLocationFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
1588
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).location;
|
1589
|
+
}
|
1590
|
+
/**
|
1591
|
+
* Parse the collection from ProjectLocationCollectionEngineControl resource.
|
1592
|
+
*
|
1593
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1594
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1595
|
+
* @returns {string} A string representing the collection.
|
1596
|
+
*/
|
1597
|
+
matchCollectionFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
1598
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).collection;
|
1599
|
+
}
|
1600
|
+
/**
|
1601
|
+
* Parse the engine from ProjectLocationCollectionEngineControl resource.
|
1602
|
+
*
|
1603
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1604
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1605
|
+
* @returns {string} A string representing the engine.
|
1606
|
+
*/
|
1607
|
+
matchEngineFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
1608
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).engine;
|
1609
|
+
}
|
1610
|
+
/**
|
1611
|
+
* Parse the control from ProjectLocationCollectionEngineControl resource.
|
1612
|
+
*
|
1613
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1614
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1615
|
+
* @returns {string} A string representing the control.
|
1616
|
+
*/
|
1617
|
+
matchControlFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
1618
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).control;
|
1619
|
+
}
|
1351
1620
|
/**
|
1352
1621
|
* Return a fully-qualified projectLocationCollectionEngineConversation resource name string.
|
1353
1622
|
*
|
@@ -1750,6 +2019,63 @@ class SearchTuningServiceClient {
|
|
1750
2019
|
matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName) {
|
1751
2020
|
return this.pathTemplates.projectLocationDataStoreBranchDocumentPathTemplate.match(projectLocationDataStoreBranchDocumentName).document;
|
1752
2021
|
}
|
2022
|
+
/**
|
2023
|
+
* Return a fully-qualified projectLocationDataStoreControl resource name string.
|
2024
|
+
*
|
2025
|
+
* @param {string} project
|
2026
|
+
* @param {string} location
|
2027
|
+
* @param {string} data_store
|
2028
|
+
* @param {string} control
|
2029
|
+
* @returns {string} Resource name string.
|
2030
|
+
*/
|
2031
|
+
projectLocationDataStoreControlPath(project, location, dataStore, control) {
|
2032
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.render({
|
2033
|
+
project: project,
|
2034
|
+
location: location,
|
2035
|
+
data_store: dataStore,
|
2036
|
+
control: control,
|
2037
|
+
});
|
2038
|
+
}
|
2039
|
+
/**
|
2040
|
+
* Parse the project from ProjectLocationDataStoreControl resource.
|
2041
|
+
*
|
2042
|
+
* @param {string} projectLocationDataStoreControlName
|
2043
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
2044
|
+
* @returns {string} A string representing the project.
|
2045
|
+
*/
|
2046
|
+
matchProjectFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
|
2047
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).project;
|
2048
|
+
}
|
2049
|
+
/**
|
2050
|
+
* Parse the location from ProjectLocationDataStoreControl resource.
|
2051
|
+
*
|
2052
|
+
* @param {string} projectLocationDataStoreControlName
|
2053
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
2054
|
+
* @returns {string} A string representing the location.
|
2055
|
+
*/
|
2056
|
+
matchLocationFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
|
2057
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).location;
|
2058
|
+
}
|
2059
|
+
/**
|
2060
|
+
* Parse the data_store from ProjectLocationDataStoreControl resource.
|
2061
|
+
*
|
2062
|
+
* @param {string} projectLocationDataStoreControlName
|
2063
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
2064
|
+
* @returns {string} A string representing the data_store.
|
2065
|
+
*/
|
2066
|
+
matchDataStoreFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
|
2067
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).data_store;
|
2068
|
+
}
|
2069
|
+
/**
|
2070
|
+
* Parse the control from ProjectLocationDataStoreControl resource.
|
2071
|
+
*
|
2072
|
+
* @param {string} projectLocationDataStoreControlName
|
2073
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
2074
|
+
* @returns {string} A string representing the control.
|
2075
|
+
*/
|
2076
|
+
matchControlFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
|
2077
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).control;
|
2078
|
+
}
|
1753
2079
|
/**
|
1754
2080
|
* Return a fully-qualified projectLocationDataStoreConversation resource name string.
|
1755
2081
|
*
|
@@ -1807,6 +2133,63 @@ class SearchTuningServiceClient {
|
|
1807
2133
|
matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
|
1808
2134
|
return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).conversation;
|
1809
2135
|
}
|
2136
|
+
/**
|
2137
|
+
* Return a fully-qualified projectLocationDataStoreCustomTuningModel resource name string.
|
2138
|
+
*
|
2139
|
+
* @param {string} project
|
2140
|
+
* @param {string} location
|
2141
|
+
* @param {string} data_store
|
2142
|
+
* @param {string} custom_tuning_model
|
2143
|
+
* @returns {string} Resource name string.
|
2144
|
+
*/
|
2145
|
+
projectLocationDataStoreCustomTuningModelPath(project, location, dataStore, customTuningModel) {
|
2146
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.render({
|
2147
|
+
project: project,
|
2148
|
+
location: location,
|
2149
|
+
data_store: dataStore,
|
2150
|
+
custom_tuning_model: customTuningModel,
|
2151
|
+
});
|
2152
|
+
}
|
2153
|
+
/**
|
2154
|
+
* Parse the project from ProjectLocationDataStoreCustomTuningModel resource.
|
2155
|
+
*
|
2156
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2157
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2158
|
+
* @returns {string} A string representing the project.
|
2159
|
+
*/
|
2160
|
+
matchProjectFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
|
2161
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).project;
|
2162
|
+
}
|
2163
|
+
/**
|
2164
|
+
* Parse the location from ProjectLocationDataStoreCustomTuningModel resource.
|
2165
|
+
*
|
2166
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2167
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2168
|
+
* @returns {string} A string representing the location.
|
2169
|
+
*/
|
2170
|
+
matchLocationFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
|
2171
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).location;
|
2172
|
+
}
|
2173
|
+
/**
|
2174
|
+
* Parse the data_store from ProjectLocationDataStoreCustomTuningModel resource.
|
2175
|
+
*
|
2176
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2177
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2178
|
+
* @returns {string} A string representing the data_store.
|
2179
|
+
*/
|
2180
|
+
matchDataStoreFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
|
2181
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).data_store;
|
2182
|
+
}
|
2183
|
+
/**
|
2184
|
+
* Parse the custom_tuning_model from ProjectLocationDataStoreCustomTuningModel resource.
|
2185
|
+
*
|
2186
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2187
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2188
|
+
* @returns {string} A string representing the custom_tuning_model.
|
2189
|
+
*/
|
2190
|
+
matchCustomTuningModelFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
|
2191
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).custom_tuning_model;
|
2192
|
+
}
|
1810
2193
|
/**
|
1811
2194
|
* Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
|
1812
2195
|
*
|