@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
@@ -152,9 +152,12 @@ class EngineServiceClient {
|
|
152
152
|
this.pathTemplates = {
|
153
153
|
collectionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}'),
|
154
154
|
enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
|
155
|
+
projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
|
155
156
|
projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
|
156
157
|
projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
158
|
+
projectLocationCollectionDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/controls/{control}'),
|
157
159
|
projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
|
160
|
+
projectLocationCollectionDataStoreCustomTuningModelPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}'),
|
158
161
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
159
162
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
160
163
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
@@ -162,13 +165,16 @@ class EngineServiceClient {
|
|
162
165
|
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
163
166
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
164
167
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
168
|
+
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
165
169
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
166
170
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
167
171
|
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
168
172
|
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
169
173
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
170
174
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
175
|
+
projectLocationDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/controls/{control}'),
|
171
176
|
projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
|
177
|
+
projectLocationDataStoreCustomTuningModelPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}'),
|
172
178
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
173
179
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
174
180
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
@@ -194,6 +200,17 @@ class EngineServiceClient {
|
|
194
200
|
if (opts.fallback) {
|
195
201
|
lroOptions.protoJson = protoFilesRoot;
|
196
202
|
lroOptions.httpRules = [
|
203
|
+
{
|
204
|
+
selector: 'google.longrunning.Operations.CancelOperation',
|
205
|
+
post: '/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/operations/*}:cancel',
|
206
|
+
body: '*',
|
207
|
+
additional_bindings: [
|
208
|
+
{
|
209
|
+
post: '/v1beta/{name=projects/*/locations/*/dataStores/*/branches/*/operations/*}:cancel',
|
210
|
+
body: '*',
|
211
|
+
},
|
212
|
+
],
|
213
|
+
},
|
197
214
|
{
|
198
215
|
selector: 'google.longrunning.Operations.GetOperation',
|
199
216
|
get: '/v1beta/{name=projects/*/locations/*/collections/*/dataConnector/operations/*}',
|
@@ -1007,6 +1024,27 @@ class EngineServiceClient {
|
|
1007
1024
|
matchEngineFromEngineName(engineName) {
|
1008
1025
|
return this.pathTemplates.enginePathTemplate.match(engineName).engine;
|
1009
1026
|
}
|
1027
|
+
/**
|
1028
|
+
* Return a fully-qualified project resource name string.
|
1029
|
+
*
|
1030
|
+
* @param {string} project
|
1031
|
+
* @returns {string} Resource name string.
|
1032
|
+
*/
|
1033
|
+
projectPath(project) {
|
1034
|
+
return this.pathTemplates.projectPathTemplate.render({
|
1035
|
+
project: project,
|
1036
|
+
});
|
1037
|
+
}
|
1038
|
+
/**
|
1039
|
+
* Parse the project from Project resource.
|
1040
|
+
*
|
1041
|
+
* @param {string} projectName
|
1042
|
+
* A fully-qualified path representing Project resource.
|
1043
|
+
* @returns {string} A string representing the project.
|
1044
|
+
*/
|
1045
|
+
matchProjectFromProjectName(projectName) {
|
1046
|
+
return this.pathTemplates.projectPathTemplate.match(projectName).project;
|
1047
|
+
}
|
1010
1048
|
/**
|
1011
1049
|
* Return a fully-qualified projectLocationCollectionDataStore resource name string.
|
1012
1050
|
*
|
@@ -1145,6 +1183,75 @@ class EngineServiceClient {
|
|
1145
1183
|
matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName) {
|
1146
1184
|
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentName).document;
|
1147
1185
|
}
|
1186
|
+
/**
|
1187
|
+
* Return a fully-qualified projectLocationCollectionDataStoreControl resource name string.
|
1188
|
+
*
|
1189
|
+
* @param {string} project
|
1190
|
+
* @param {string} location
|
1191
|
+
* @param {string} collection
|
1192
|
+
* @param {string} data_store
|
1193
|
+
* @param {string} control
|
1194
|
+
* @returns {string} Resource name string.
|
1195
|
+
*/
|
1196
|
+
projectLocationCollectionDataStoreControlPath(project, location, collection, dataStore, control) {
|
1197
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.render({
|
1198
|
+
project: project,
|
1199
|
+
location: location,
|
1200
|
+
collection: collection,
|
1201
|
+
data_store: dataStore,
|
1202
|
+
control: control,
|
1203
|
+
});
|
1204
|
+
}
|
1205
|
+
/**
|
1206
|
+
* Parse the project from ProjectLocationCollectionDataStoreControl resource.
|
1207
|
+
*
|
1208
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
1209
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
1210
|
+
* @returns {string} A string representing the project.
|
1211
|
+
*/
|
1212
|
+
matchProjectFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
1213
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).project;
|
1214
|
+
}
|
1215
|
+
/**
|
1216
|
+
* Parse the location from ProjectLocationCollectionDataStoreControl resource.
|
1217
|
+
*
|
1218
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
1219
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
1220
|
+
* @returns {string} A string representing the location.
|
1221
|
+
*/
|
1222
|
+
matchLocationFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
1223
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).location;
|
1224
|
+
}
|
1225
|
+
/**
|
1226
|
+
* Parse the collection from ProjectLocationCollectionDataStoreControl resource.
|
1227
|
+
*
|
1228
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
1229
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
1230
|
+
* @returns {string} A string representing the collection.
|
1231
|
+
*/
|
1232
|
+
matchCollectionFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
1233
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).collection;
|
1234
|
+
}
|
1235
|
+
/**
|
1236
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreControl resource.
|
1237
|
+
*
|
1238
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
1239
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
1240
|
+
* @returns {string} A string representing the data_store.
|
1241
|
+
*/
|
1242
|
+
matchDataStoreFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
1243
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).data_store;
|
1244
|
+
}
|
1245
|
+
/**
|
1246
|
+
* Parse the control from ProjectLocationCollectionDataStoreControl resource.
|
1247
|
+
*
|
1248
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
1249
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
1250
|
+
* @returns {string} A string representing the control.
|
1251
|
+
*/
|
1252
|
+
matchControlFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
1253
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).control;
|
1254
|
+
}
|
1148
1255
|
/**
|
1149
1256
|
* Return a fully-qualified projectLocationCollectionDataStoreConversation resource name string.
|
1150
1257
|
*
|
@@ -1214,6 +1321,75 @@ class EngineServiceClient {
|
|
1214
1321
|
matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
|
1215
1322
|
return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).conversation;
|
1216
1323
|
}
|
1324
|
+
/**
|
1325
|
+
* Return a fully-qualified projectLocationCollectionDataStoreCustomTuningModel resource name string.
|
1326
|
+
*
|
1327
|
+
* @param {string} project
|
1328
|
+
* @param {string} location
|
1329
|
+
* @param {string} collection
|
1330
|
+
* @param {string} data_store
|
1331
|
+
* @param {string} custom_tuning_model
|
1332
|
+
* @returns {string} Resource name string.
|
1333
|
+
*/
|
1334
|
+
projectLocationCollectionDataStoreCustomTuningModelPath(project, location, collection, dataStore, customTuningModel) {
|
1335
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.render({
|
1336
|
+
project: project,
|
1337
|
+
location: location,
|
1338
|
+
collection: collection,
|
1339
|
+
data_store: dataStore,
|
1340
|
+
custom_tuning_model: customTuningModel,
|
1341
|
+
});
|
1342
|
+
}
|
1343
|
+
/**
|
1344
|
+
* Parse the project from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1345
|
+
*
|
1346
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1347
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1348
|
+
* @returns {string} A string representing the project.
|
1349
|
+
*/
|
1350
|
+
matchProjectFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
1351
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).project;
|
1352
|
+
}
|
1353
|
+
/**
|
1354
|
+
* Parse the location from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1355
|
+
*
|
1356
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1357
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1358
|
+
* @returns {string} A string representing the location.
|
1359
|
+
*/
|
1360
|
+
matchLocationFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
1361
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).location;
|
1362
|
+
}
|
1363
|
+
/**
|
1364
|
+
* Parse the collection from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1365
|
+
*
|
1366
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1367
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1368
|
+
* @returns {string} A string representing the collection.
|
1369
|
+
*/
|
1370
|
+
matchCollectionFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
1371
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).collection;
|
1372
|
+
}
|
1373
|
+
/**
|
1374
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1375
|
+
*
|
1376
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1377
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1378
|
+
* @returns {string} A string representing the data_store.
|
1379
|
+
*/
|
1380
|
+
matchDataStoreFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
1381
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).data_store;
|
1382
|
+
}
|
1383
|
+
/**
|
1384
|
+
* Parse the custom_tuning_model from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1385
|
+
*
|
1386
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1387
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1388
|
+
* @returns {string} A string representing the custom_tuning_model.
|
1389
|
+
*/
|
1390
|
+
matchCustomTuningModelFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
1391
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).custom_tuning_model;
|
1392
|
+
}
|
1217
1393
|
/**
|
1218
1394
|
* Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
|
1219
1395
|
*
|
@@ -1685,6 +1861,75 @@ class EngineServiceClient {
|
|
1685
1861
|
matchTargetSiteFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
|
1686
1862
|
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).target_site;
|
1687
1863
|
}
|
1864
|
+
/**
|
1865
|
+
* Return a fully-qualified projectLocationCollectionEngineControl resource name string.
|
1866
|
+
*
|
1867
|
+
* @param {string} project
|
1868
|
+
* @param {string} location
|
1869
|
+
* @param {string} collection
|
1870
|
+
* @param {string} engine
|
1871
|
+
* @param {string} control
|
1872
|
+
* @returns {string} Resource name string.
|
1873
|
+
*/
|
1874
|
+
projectLocationCollectionEngineControlPath(project, location, collection, engine, control) {
|
1875
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.render({
|
1876
|
+
project: project,
|
1877
|
+
location: location,
|
1878
|
+
collection: collection,
|
1879
|
+
engine: engine,
|
1880
|
+
control: control,
|
1881
|
+
});
|
1882
|
+
}
|
1883
|
+
/**
|
1884
|
+
* Parse the project from ProjectLocationCollectionEngineControl resource.
|
1885
|
+
*
|
1886
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1887
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1888
|
+
* @returns {string} A string representing the project.
|
1889
|
+
*/
|
1890
|
+
matchProjectFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
1891
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).project;
|
1892
|
+
}
|
1893
|
+
/**
|
1894
|
+
* Parse the location from ProjectLocationCollectionEngineControl resource.
|
1895
|
+
*
|
1896
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1897
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1898
|
+
* @returns {string} A string representing the location.
|
1899
|
+
*/
|
1900
|
+
matchLocationFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
1901
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).location;
|
1902
|
+
}
|
1903
|
+
/**
|
1904
|
+
* Parse the collection from ProjectLocationCollectionEngineControl resource.
|
1905
|
+
*
|
1906
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1907
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1908
|
+
* @returns {string} A string representing the collection.
|
1909
|
+
*/
|
1910
|
+
matchCollectionFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
1911
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).collection;
|
1912
|
+
}
|
1913
|
+
/**
|
1914
|
+
* Parse the engine from ProjectLocationCollectionEngineControl resource.
|
1915
|
+
*
|
1916
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1917
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1918
|
+
* @returns {string} A string representing the engine.
|
1919
|
+
*/
|
1920
|
+
matchEngineFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
1921
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).engine;
|
1922
|
+
}
|
1923
|
+
/**
|
1924
|
+
* Parse the control from ProjectLocationCollectionEngineControl resource.
|
1925
|
+
*
|
1926
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1927
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1928
|
+
* @returns {string} A string representing the control.
|
1929
|
+
*/
|
1930
|
+
matchControlFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
1931
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).control;
|
1932
|
+
}
|
1688
1933
|
/**
|
1689
1934
|
* Return a fully-qualified projectLocationCollectionEngineConversation resource name string.
|
1690
1935
|
*
|
@@ -2087,6 +2332,63 @@ class EngineServiceClient {
|
|
2087
2332
|
matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName) {
|
2088
2333
|
return this.pathTemplates.projectLocationDataStoreBranchDocumentPathTemplate.match(projectLocationDataStoreBranchDocumentName).document;
|
2089
2334
|
}
|
2335
|
+
/**
|
2336
|
+
* Return a fully-qualified projectLocationDataStoreControl resource name string.
|
2337
|
+
*
|
2338
|
+
* @param {string} project
|
2339
|
+
* @param {string} location
|
2340
|
+
* @param {string} data_store
|
2341
|
+
* @param {string} control
|
2342
|
+
* @returns {string} Resource name string.
|
2343
|
+
*/
|
2344
|
+
projectLocationDataStoreControlPath(project, location, dataStore, control) {
|
2345
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.render({
|
2346
|
+
project: project,
|
2347
|
+
location: location,
|
2348
|
+
data_store: dataStore,
|
2349
|
+
control: control,
|
2350
|
+
});
|
2351
|
+
}
|
2352
|
+
/**
|
2353
|
+
* Parse the project from ProjectLocationDataStoreControl resource.
|
2354
|
+
*
|
2355
|
+
* @param {string} projectLocationDataStoreControlName
|
2356
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
2357
|
+
* @returns {string} A string representing the project.
|
2358
|
+
*/
|
2359
|
+
matchProjectFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
|
2360
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).project;
|
2361
|
+
}
|
2362
|
+
/**
|
2363
|
+
* Parse the location from ProjectLocationDataStoreControl resource.
|
2364
|
+
*
|
2365
|
+
* @param {string} projectLocationDataStoreControlName
|
2366
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
2367
|
+
* @returns {string} A string representing the location.
|
2368
|
+
*/
|
2369
|
+
matchLocationFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
|
2370
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).location;
|
2371
|
+
}
|
2372
|
+
/**
|
2373
|
+
* Parse the data_store from ProjectLocationDataStoreControl resource.
|
2374
|
+
*
|
2375
|
+
* @param {string} projectLocationDataStoreControlName
|
2376
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
2377
|
+
* @returns {string} A string representing the data_store.
|
2378
|
+
*/
|
2379
|
+
matchDataStoreFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
|
2380
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).data_store;
|
2381
|
+
}
|
2382
|
+
/**
|
2383
|
+
* Parse the control from ProjectLocationDataStoreControl resource.
|
2384
|
+
*
|
2385
|
+
* @param {string} projectLocationDataStoreControlName
|
2386
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
2387
|
+
* @returns {string} A string representing the control.
|
2388
|
+
*/
|
2389
|
+
matchControlFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
|
2390
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).control;
|
2391
|
+
}
|
2090
2392
|
/**
|
2091
2393
|
* Return a fully-qualified projectLocationDataStoreConversation resource name string.
|
2092
2394
|
*
|
@@ -2144,6 +2446,63 @@ class EngineServiceClient {
|
|
2144
2446
|
matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
|
2145
2447
|
return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).conversation;
|
2146
2448
|
}
|
2449
|
+
/**
|
2450
|
+
* Return a fully-qualified projectLocationDataStoreCustomTuningModel resource name string.
|
2451
|
+
*
|
2452
|
+
* @param {string} project
|
2453
|
+
* @param {string} location
|
2454
|
+
* @param {string} data_store
|
2455
|
+
* @param {string} custom_tuning_model
|
2456
|
+
* @returns {string} Resource name string.
|
2457
|
+
*/
|
2458
|
+
projectLocationDataStoreCustomTuningModelPath(project, location, dataStore, customTuningModel) {
|
2459
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.render({
|
2460
|
+
project: project,
|
2461
|
+
location: location,
|
2462
|
+
data_store: dataStore,
|
2463
|
+
custom_tuning_model: customTuningModel,
|
2464
|
+
});
|
2465
|
+
}
|
2466
|
+
/**
|
2467
|
+
* Parse the project from ProjectLocationDataStoreCustomTuningModel resource.
|
2468
|
+
*
|
2469
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2470
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2471
|
+
* @returns {string} A string representing the project.
|
2472
|
+
*/
|
2473
|
+
matchProjectFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
|
2474
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).project;
|
2475
|
+
}
|
2476
|
+
/**
|
2477
|
+
* Parse the location from ProjectLocationDataStoreCustomTuningModel resource.
|
2478
|
+
*
|
2479
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2480
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2481
|
+
* @returns {string} A string representing the location.
|
2482
|
+
*/
|
2483
|
+
matchLocationFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
|
2484
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).location;
|
2485
|
+
}
|
2486
|
+
/**
|
2487
|
+
* Parse the data_store from ProjectLocationDataStoreCustomTuningModel resource.
|
2488
|
+
*
|
2489
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2490
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2491
|
+
* @returns {string} A string representing the data_store.
|
2492
|
+
*/
|
2493
|
+
matchDataStoreFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
|
2494
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).data_store;
|
2495
|
+
}
|
2496
|
+
/**
|
2497
|
+
* Parse the custom_tuning_model from ProjectLocationDataStoreCustomTuningModel resource.
|
2498
|
+
*
|
2499
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2500
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2501
|
+
* @returns {string} A string representing the custom_tuning_model.
|
2502
|
+
*/
|
2503
|
+
matchCustomTuningModelFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
|
2504
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).custom_tuning_model;
|
2505
|
+
}
|
2147
2506
|
/**
|
2148
2507
|
* Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
|
2149
2508
|
*
|