@google-cloud/discoveryengine 1.7.0 → 1.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/README.md +33 -4
- package/build/protos/google/cloud/discoveryengine/v1/answer.proto +337 -0
- package/build/protos/google/cloud/discoveryengine/v1/common.proto +34 -1
- package/build/protos/google/cloud/discoveryengine/v1/completion.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1/completion_service.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1/control.proto +214 -0
- package/build/protos/google/cloud/discoveryengine/v1/control_service.proto +236 -0
- package/build/protos/google/cloud/discoveryengine/v1/conversation.proto +3 -3
- package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +570 -1
- package/build/protos/google/cloud/discoveryengine/v1/data_store.proto +5 -1
- package/build/protos/google/cloud/discoveryengine/v1/data_store_service.proto +3 -3
- package/build/protos/google/cloud/discoveryengine/v1/document.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1/document_processing_config.proto +92 -0
- package/build/protos/google/cloud/discoveryengine/v1/document_service.proto +7 -7
- package/build/protos/google/cloud/discoveryengine/v1/engine.proto +5 -5
- package/build/protos/google/cloud/discoveryengine/v1/engine_service.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1/grounded_generation_service.proto +149 -0
- package/build/protos/google/cloud/discoveryengine/v1/grounding.proto +58 -0
- package/build/protos/google/cloud/discoveryengine/v1/import_config.proto +5 -5
- package/build/protos/google/cloud/discoveryengine/v1/project.proto +103 -0
- package/build/protos/google/cloud/discoveryengine/v1/project_service.proto +90 -0
- package/build/protos/google/cloud/discoveryengine/v1/purge_config.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1/rank_service.proto +131 -0
- package/build/protos/google/cloud/discoveryengine/v1/recommendation_service.proto +21 -20
- package/build/protos/google/cloud/discoveryengine/v1/schema.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1/schema_service.proto +6 -6
- package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +24 -19
- package/build/protos/google/cloud/discoveryengine/v1/session.proto +97 -0
- package/build/protos/google/cloud/discoveryengine/v1/site_search_engine.proto +4 -1
- package/build/protos/google/cloud/discoveryengine/v1/site_search_engine_service.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1/user_event.proto +29 -4
- package/build/protos/google/cloud/discoveryengine/v1/user_event_service.proto +19 -3
- package/build/protos/google/cloud/discoveryengine/v1alpha/acl_config.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/acl_config_service.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/answer.proto +10 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/chunk.proto +8 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/chunk_service.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +17 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/completion.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/completion_service.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/control.proto +217 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/control_service.proto +236 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/conversation.proto +3 -3
- package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +20 -4
- package/build/protos/google/cloud/discoveryengine/v1alpha/custom_tuning_model.proto +87 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/data_store.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/data_store_service.proto +3 -3
- package/build/protos/google/cloud/discoveryengine/v1alpha/document.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/document_processing_config.proto +2 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/document_service.proto +13 -10
- package/build/protos/google/cloud/discoveryengine/v1alpha/engine.proto +5 -5
- package/build/protos/google/cloud/discoveryengine/v1alpha/engine_service.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/estimate_billing_service.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/grounded_generation_service.proto +31 -2
- package/build/protos/google/cloud/discoveryengine/v1alpha/grounding.proto +4 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/import_config.proto +5 -5
- package/build/protos/google/cloud/discoveryengine/v1alpha/project.proto +2 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/project_service.proto +3 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/purge_config.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/rank_service.proto +20 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/recommendation_service.proto +21 -20
- package/build/protos/google/cloud/discoveryengine/v1alpha/schema.proto +38 -3
- package/build/protos/google/cloud/discoveryengine/v1alpha/schema_service.proto +7 -7
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +29 -32
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_tuning_service.proto +40 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/serving_config.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/serving_config_service.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/session.proto +4 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine.proto +4 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine_service.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/user_event.proto +30 -4
- package/build/protos/google/cloud/discoveryengine/v1alpha/user_event_service.proto +19 -3
- package/build/protos/google/cloud/discoveryengine/v1beta/answer.proto +11 -2
- package/build/protos/google/cloud/discoveryengine/v1beta/common.proto +17 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/completion.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/completion_service.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/control.proto +216 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/control_service.proto +236 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/conversation.proto +3 -3
- package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +20 -4
- package/build/protos/google/cloud/discoveryengine/v1beta/custom_tuning_model.proto +87 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/data_store.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/data_store_service.proto +3 -3
- package/build/protos/google/cloud/discoveryengine/v1beta/document.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/document_processing_config.proto +2 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/document_service.proto +8 -9
- package/build/protos/google/cloud/discoveryengine/v1beta/engine.proto +5 -5
- package/build/protos/google/cloud/discoveryengine/v1beta/engine_service.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/grounded_generation_service.proto +31 -2
- package/build/protos/google/cloud/discoveryengine/v1beta/grounding.proto +4 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/import_config.proto +5 -5
- package/build/protos/google/cloud/discoveryengine/v1beta/project.proto +103 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/project_service.proto +90 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/purge_config.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/rank_service.proto +20 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/recommendation_service.proto +21 -20
- package/build/protos/google/cloud/discoveryengine/v1beta/schema.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/schema_service.proto +6 -6
- package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +31 -25
- package/build/protos/google/cloud/discoveryengine/v1beta/search_tuning_service.proto +40 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/serving_config.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/serving_config_service.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/session.proto +5 -2
- package/build/protos/google/cloud/discoveryengine/v1beta/site_search_engine.proto +4 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/site_search_engine_service.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/user_event.proto +29 -4
- package/build/protos/google/cloud/discoveryengine/v1beta/user_event_service.proto +19 -3
- package/build/protos/protos.d.ts +52350 -38733
- package/build/protos/protos.js +136479 -103212
- package/build/protos/protos.json +9460 -5916
- package/build/src/index.d.ts +13 -1
- package/build/src/index.js +13 -1
- package/build/src/v1/completion_service_client.d.ts +549 -0
- package/build/src/v1/completion_service_client.js +771 -0
- package/build/src/v1/control_service_client.d.ts +1623 -0
- package/build/src/v1/control_service_client.js +2218 -0
- package/build/src/v1/control_service_client_config.json +63 -0
- package/build/src/v1/conversational_search_service_client.d.ts +893 -0
- package/build/src/v1/conversational_search_service_client.js +1040 -14
- package/build/src/v1/conversational_search_service_client_config.json +35 -0
- package/build/src/v1/data_store_service_client.d.ts +555 -6
- package/build/src/v1/data_store_service_client.js +775 -4
- package/build/src/v1/document_service_client.d.ts +557 -8
- package/build/src/v1/document_service_client.js +773 -2
- package/build/src/v1/engine_service_client.d.ts +549 -0
- package/build/src/v1/engine_service_client.js +771 -0
- package/build/src/v1/grounded_generation_service_client.d.ts +1439 -0
- package/build/src/v1/grounded_generation_service_client.js +2036 -0
- package/build/src/v1/grounded_generation_service_client_config.json +43 -0
- package/build/src/v1/index.d.ts +4 -0
- package/build/src/v1/index.js +9 -1
- package/build/src/v1/project_service_client.d.ts +1533 -0
- package/build/src/v1/project_service_client.js +2255 -0
- package/build/src/v1/project_service_client_config.json +43 -0
- package/build/src/v1/rank_service_client.d.ts +1449 -0
- package/build/src/v1/rank_service_client.js +2037 -0
- package/build/src/v1/rank_service_client_config.json +43 -0
- package/build/src/v1/recommendation_service_client.d.ts +568 -18
- package/build/src/v1/recommendation_service_client.js +756 -0
- package/build/src/v1/schema_service_client.d.ts +558 -9
- package/build/src/v1/schema_service_client.js +775 -4
- package/build/src/v1/search_service_client.d.ts +579 -21
- package/build/src/v1/search_service_client.js +776 -14
- package/build/src/v1/site_search_engine_service_client.d.ts +549 -0
- package/build/src/v1/site_search_engine_service_client.js +771 -0
- package/build/src/v1/user_event_service_client.d.ts +562 -2
- package/build/src/v1/user_event_service_client.js +771 -0
- package/build/src/v1alpha/acl_config_service_client.d.ts +237 -0
- package/build/src/v1alpha/acl_config_service_client.js +326 -0
- package/build/src/v1alpha/chunk_service_client.d.ts +237 -0
- package/build/src/v1alpha/chunk_service_client.js +326 -0
- package/build/src/v1alpha/completion_service_client.d.ts +237 -0
- package/build/src/v1alpha/completion_service_client.js +340 -0
- package/build/src/v1alpha/control_service_client.d.ts +2013 -0
- package/build/src/v1alpha/control_service_client.js +2757 -0
- package/build/src/v1alpha/control_service_client_config.json +63 -0
- package/build/src/v1alpha/conversational_search_service_client.d.ts +239 -2
- package/build/src/v1alpha/conversational_search_service_client.js +326 -0
- package/build/src/v1alpha/data_store_service_client.d.ts +243 -6
- package/build/src/v1alpha/data_store_service_client.js +344 -4
- package/build/src/v1alpha/document_service_client.d.ts +246 -9
- package/build/src/v1alpha/document_service_client.js +342 -2
- package/build/src/v1alpha/engine_service_client.d.ts +237 -0
- package/build/src/v1alpha/engine_service_client.js +340 -0
- package/build/src/v1alpha/estimate_billing_service_client.d.ts +237 -0
- package/build/src/v1alpha/estimate_billing_service_client.js +340 -0
- package/build/src/v1alpha/grounded_generation_service_client.d.ts +256 -1
- package/build/src/v1alpha/grounded_generation_service_client.js +326 -0
- package/build/src/v1alpha/index.d.ts +1 -0
- package/build/src/v1alpha/index.js +3 -1
- package/build/src/v1alpha/project_service_client.d.ts +239 -0
- package/build/src/v1alpha/project_service_client.js +340 -0
- package/build/src/v1alpha/project_service_client_config.json +21 -6
- package/build/src/v1alpha/rank_service_client.d.ts +255 -0
- package/build/src/v1alpha/rank_service_client.js +326 -0
- package/build/src/v1alpha/recommendation_service_client.d.ts +256 -18
- package/build/src/v1alpha/recommendation_service_client.js +326 -0
- package/build/src/v1alpha/schema_service_client.d.ts +247 -10
- package/build/src/v1alpha/schema_service_client.js +344 -4
- package/build/src/v1alpha/search_service_client.d.ts +267 -21
- package/build/src/v1alpha/search_service_client.js +346 -14
- package/build/src/v1alpha/search_tuning_service_client.d.ts +265 -0
- package/build/src/v1alpha/search_tuning_service_client.js +365 -1
- package/build/src/v1alpha/search_tuning_service_client_config.json +4 -0
- package/build/src/v1alpha/serving_config_service_client.d.ts +237 -0
- package/build/src/v1alpha/serving_config_service_client.js +326 -0
- package/build/src/v1alpha/site_search_engine_service_client.d.ts +237 -0
- package/build/src/v1alpha/site_search_engine_service_client.js +340 -0
- package/build/src/v1alpha/user_event_service_client.d.ts +250 -2
- package/build/src/v1alpha/user_event_service_client.js +340 -0
- package/build/src/v1beta/completion_service_client.d.ts +252 -0
- package/build/src/v1beta/completion_service_client.js +359 -0
- package/build/src/v1beta/control_service_client.d.ts +1860 -0
- package/build/src/v1beta/control_service_client.js +2545 -0
- package/build/src/v1beta/control_service_client_config.json +63 -0
- package/build/src/v1beta/conversational_search_service_client.d.ts +254 -2
- package/build/src/v1beta/conversational_search_service_client.js +348 -0
- package/build/src/v1beta/data_store_service_client.d.ts +258 -6
- package/build/src/v1beta/data_store_service_client.js +363 -4
- package/build/src/v1beta/document_service_client.d.ts +261 -10
- package/build/src/v1beta/document_service_client.js +361 -2
- package/build/src/v1beta/engine_service_client.d.ts +252 -0
- package/build/src/v1beta/engine_service_client.js +359 -0
- package/build/src/v1beta/grounded_generation_service_client.d.ts +271 -1
- package/build/src/v1beta/grounded_generation_service_client.js +348 -0
- package/build/src/v1beta/index.d.ts +2 -0
- package/build/src/v1beta/index.js +5 -1
- package/build/src/v1beta/project_service_client.d.ts +1770 -0
- package/build/src/v1beta/project_service_client.js +2576 -0
- package/build/src/v1beta/project_service_client_config.json +43 -0
- package/build/src/v1beta/rank_service_client.d.ts +270 -0
- package/build/src/v1beta/rank_service_client.js +348 -0
- package/build/src/v1beta/recommendation_service_client.d.ts +271 -18
- package/build/src/v1beta/recommendation_service_client.js +348 -0
- package/build/src/v1beta/schema_service_client.d.ts +261 -9
- package/build/src/v1beta/schema_service_client.js +363 -4
- package/build/src/v1beta/search_service_client.d.ts +282 -21
- package/build/src/v1beta/search_service_client.js +368 -14
- package/build/src/v1beta/search_tuning_service_client.d.ts +280 -0
- package/build/src/v1beta/search_tuning_service_client.js +384 -1
- package/build/src/v1beta/search_tuning_service_client_config.json +4 -0
- package/build/src/v1beta/serving_config_service_client.d.ts +237 -0
- package/build/src/v1beta/serving_config_service_client.js +326 -0
- package/build/src/v1beta/site_search_engine_service_client.d.ts +252 -0
- package/build/src/v1beta/site_search_engine_service_client.js +359 -0
- package/build/src/v1beta/user_event_service_client.d.ts +265 -2
- package/build/src/v1beta/user_event_service_client.js +359 -0
- package/package.json +2 -2
@@ -156,7 +156,9 @@ class SiteSearchEngineServiceClient {
|
|
156
156
|
projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
|
157
157
|
projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
158
158
|
projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
159
|
+
projectLocationCollectionDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/controls/{control}'),
|
159
160
|
projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
|
161
|
+
projectLocationCollectionDataStoreCustomTuningModelPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}'),
|
160
162
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
161
163
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
162
164
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
@@ -164,6 +166,7 @@ class SiteSearchEngineServiceClient {
|
|
164
166
|
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
165
167
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
166
168
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
169
|
+
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
167
170
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
168
171
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
169
172
|
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
@@ -171,7 +174,9 @@ class SiteSearchEngineServiceClient {
|
|
171
174
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
172
175
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
173
176
|
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
177
|
+
projectLocationDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/controls/{control}'),
|
174
178
|
projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
|
179
|
+
projectLocationDataStoreCustomTuningModelPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}'),
|
175
180
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
176
181
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
177
182
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
@@ -198,6 +203,17 @@ class SiteSearchEngineServiceClient {
|
|
198
203
|
if (opts.fallback) {
|
199
204
|
lroOptions.protoJson = protoFilesRoot;
|
200
205
|
lroOptions.httpRules = [
|
206
|
+
{
|
207
|
+
selector: 'google.longrunning.Operations.CancelOperation',
|
208
|
+
post: '/v1alpha/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/operations/*}:cancel',
|
209
|
+
body: '*',
|
210
|
+
additional_bindings: [
|
211
|
+
{
|
212
|
+
post: '/v1alpha/{name=projects/*/locations/*/dataStores/*/branches/*/operations/*}:cancel',
|
213
|
+
body: '*',
|
214
|
+
},
|
215
|
+
],
|
216
|
+
},
|
201
217
|
{
|
202
218
|
selector: 'google.longrunning.Operations.GetOperation',
|
203
219
|
get: '/v1alpha/{name=projects/*/locations/*/collections/*/dataConnector/operations/*}',
|
@@ -239,6 +255,9 @@ class SiteSearchEngineServiceClient {
|
|
239
255
|
get: '/v1alpha/{name=projects/*/locations/*/evaluations/*/operations/*}',
|
240
256
|
},
|
241
257
|
{ get: '/v1alpha/{name=projects/*/locations/*/operations/*}' },
|
258
|
+
{
|
259
|
+
get: '/v1alpha/{name=projects/*/locations/*/sampleQuerySets/*/operations/*}',
|
260
|
+
},
|
242
261
|
{ get: '/v1alpha/{name=projects/*/operations/*}' },
|
243
262
|
],
|
244
263
|
},
|
@@ -1558,6 +1577,75 @@ class SiteSearchEngineServiceClient {
|
|
1558
1577
|
matchChunkFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
1559
1578
|
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).chunk;
|
1560
1579
|
}
|
1580
|
+
/**
|
1581
|
+
* Return a fully-qualified projectLocationCollectionDataStoreControl resource name string.
|
1582
|
+
*
|
1583
|
+
* @param {string} project
|
1584
|
+
* @param {string} location
|
1585
|
+
* @param {string} collection
|
1586
|
+
* @param {string} data_store
|
1587
|
+
* @param {string} control
|
1588
|
+
* @returns {string} Resource name string.
|
1589
|
+
*/
|
1590
|
+
projectLocationCollectionDataStoreControlPath(project, location, collection, dataStore, control) {
|
1591
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.render({
|
1592
|
+
project: project,
|
1593
|
+
location: location,
|
1594
|
+
collection: collection,
|
1595
|
+
data_store: dataStore,
|
1596
|
+
control: control,
|
1597
|
+
});
|
1598
|
+
}
|
1599
|
+
/**
|
1600
|
+
* Parse the project from ProjectLocationCollectionDataStoreControl resource.
|
1601
|
+
*
|
1602
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
1603
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
1604
|
+
* @returns {string} A string representing the project.
|
1605
|
+
*/
|
1606
|
+
matchProjectFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
1607
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).project;
|
1608
|
+
}
|
1609
|
+
/**
|
1610
|
+
* Parse the location from ProjectLocationCollectionDataStoreControl resource.
|
1611
|
+
*
|
1612
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
1613
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
1614
|
+
* @returns {string} A string representing the location.
|
1615
|
+
*/
|
1616
|
+
matchLocationFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
1617
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).location;
|
1618
|
+
}
|
1619
|
+
/**
|
1620
|
+
* Parse the collection from ProjectLocationCollectionDataStoreControl resource.
|
1621
|
+
*
|
1622
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
1623
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
1624
|
+
* @returns {string} A string representing the collection.
|
1625
|
+
*/
|
1626
|
+
matchCollectionFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
1627
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).collection;
|
1628
|
+
}
|
1629
|
+
/**
|
1630
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreControl resource.
|
1631
|
+
*
|
1632
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
1633
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
1634
|
+
* @returns {string} A string representing the data_store.
|
1635
|
+
*/
|
1636
|
+
matchDataStoreFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
1637
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).data_store;
|
1638
|
+
}
|
1639
|
+
/**
|
1640
|
+
* Parse the control from ProjectLocationCollectionDataStoreControl resource.
|
1641
|
+
*
|
1642
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
1643
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
1644
|
+
* @returns {string} A string representing the control.
|
1645
|
+
*/
|
1646
|
+
matchControlFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
1647
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).control;
|
1648
|
+
}
|
1561
1649
|
/**
|
1562
1650
|
* Return a fully-qualified projectLocationCollectionDataStoreConversation resource name string.
|
1563
1651
|
*
|
@@ -1627,6 +1715,75 @@ class SiteSearchEngineServiceClient {
|
|
1627
1715
|
matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
|
1628
1716
|
return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).conversation;
|
1629
1717
|
}
|
1718
|
+
/**
|
1719
|
+
* Return a fully-qualified projectLocationCollectionDataStoreCustomTuningModel resource name string.
|
1720
|
+
*
|
1721
|
+
* @param {string} project
|
1722
|
+
* @param {string} location
|
1723
|
+
* @param {string} collection
|
1724
|
+
* @param {string} data_store
|
1725
|
+
* @param {string} custom_tuning_model
|
1726
|
+
* @returns {string} Resource name string.
|
1727
|
+
*/
|
1728
|
+
projectLocationCollectionDataStoreCustomTuningModelPath(project, location, collection, dataStore, customTuningModel) {
|
1729
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.render({
|
1730
|
+
project: project,
|
1731
|
+
location: location,
|
1732
|
+
collection: collection,
|
1733
|
+
data_store: dataStore,
|
1734
|
+
custom_tuning_model: customTuningModel,
|
1735
|
+
});
|
1736
|
+
}
|
1737
|
+
/**
|
1738
|
+
* Parse the project from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1739
|
+
*
|
1740
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1741
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1742
|
+
* @returns {string} A string representing the project.
|
1743
|
+
*/
|
1744
|
+
matchProjectFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
1745
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).project;
|
1746
|
+
}
|
1747
|
+
/**
|
1748
|
+
* Parse the location from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1749
|
+
*
|
1750
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1751
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1752
|
+
* @returns {string} A string representing the location.
|
1753
|
+
*/
|
1754
|
+
matchLocationFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
1755
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).location;
|
1756
|
+
}
|
1757
|
+
/**
|
1758
|
+
* Parse the collection from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1759
|
+
*
|
1760
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1761
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1762
|
+
* @returns {string} A string representing the collection.
|
1763
|
+
*/
|
1764
|
+
matchCollectionFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
1765
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).collection;
|
1766
|
+
}
|
1767
|
+
/**
|
1768
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1769
|
+
*
|
1770
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1771
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1772
|
+
* @returns {string} A string representing the data_store.
|
1773
|
+
*/
|
1774
|
+
matchDataStoreFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
1775
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).data_store;
|
1776
|
+
}
|
1777
|
+
/**
|
1778
|
+
* Parse the custom_tuning_model from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1779
|
+
*
|
1780
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1781
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1782
|
+
* @returns {string} A string representing the custom_tuning_model.
|
1783
|
+
*/
|
1784
|
+
matchCustomTuningModelFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
1785
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).custom_tuning_model;
|
1786
|
+
}
|
1630
1787
|
/**
|
1631
1788
|
* Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
|
1632
1789
|
*
|
@@ -2098,6 +2255,75 @@ class SiteSearchEngineServiceClient {
|
|
2098
2255
|
matchTargetSiteFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
|
2099
2256
|
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).target_site;
|
2100
2257
|
}
|
2258
|
+
/**
|
2259
|
+
* Return a fully-qualified projectLocationCollectionEngineControl resource name string.
|
2260
|
+
*
|
2261
|
+
* @param {string} project
|
2262
|
+
* @param {string} location
|
2263
|
+
* @param {string} collection
|
2264
|
+
* @param {string} engine
|
2265
|
+
* @param {string} control
|
2266
|
+
* @returns {string} Resource name string.
|
2267
|
+
*/
|
2268
|
+
projectLocationCollectionEngineControlPath(project, location, collection, engine, control) {
|
2269
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.render({
|
2270
|
+
project: project,
|
2271
|
+
location: location,
|
2272
|
+
collection: collection,
|
2273
|
+
engine: engine,
|
2274
|
+
control: control,
|
2275
|
+
});
|
2276
|
+
}
|
2277
|
+
/**
|
2278
|
+
* Parse the project from ProjectLocationCollectionEngineControl resource.
|
2279
|
+
*
|
2280
|
+
* @param {string} projectLocationCollectionEngineControlName
|
2281
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
2282
|
+
* @returns {string} A string representing the project.
|
2283
|
+
*/
|
2284
|
+
matchProjectFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
2285
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).project;
|
2286
|
+
}
|
2287
|
+
/**
|
2288
|
+
* Parse the location from ProjectLocationCollectionEngineControl resource.
|
2289
|
+
*
|
2290
|
+
* @param {string} projectLocationCollectionEngineControlName
|
2291
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
2292
|
+
* @returns {string} A string representing the location.
|
2293
|
+
*/
|
2294
|
+
matchLocationFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
2295
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).location;
|
2296
|
+
}
|
2297
|
+
/**
|
2298
|
+
* Parse the collection from ProjectLocationCollectionEngineControl resource.
|
2299
|
+
*
|
2300
|
+
* @param {string} projectLocationCollectionEngineControlName
|
2301
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
2302
|
+
* @returns {string} A string representing the collection.
|
2303
|
+
*/
|
2304
|
+
matchCollectionFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
2305
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).collection;
|
2306
|
+
}
|
2307
|
+
/**
|
2308
|
+
* Parse the engine from ProjectLocationCollectionEngineControl resource.
|
2309
|
+
*
|
2310
|
+
* @param {string} projectLocationCollectionEngineControlName
|
2311
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
2312
|
+
* @returns {string} A string representing the engine.
|
2313
|
+
*/
|
2314
|
+
matchEngineFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
2315
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).engine;
|
2316
|
+
}
|
2317
|
+
/**
|
2318
|
+
* Parse the control from ProjectLocationCollectionEngineControl resource.
|
2319
|
+
*
|
2320
|
+
* @param {string} projectLocationCollectionEngineControlName
|
2321
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
2322
|
+
* @returns {string} A string representing the control.
|
2323
|
+
*/
|
2324
|
+
matchControlFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
2325
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).control;
|
2326
|
+
}
|
2101
2327
|
/**
|
2102
2328
|
* Return a fully-qualified projectLocationCollectionEngineConversation resource name string.
|
2103
2329
|
*
|
@@ -2581,6 +2807,63 @@ class SiteSearchEngineServiceClient {
|
|
2581
2807
|
matchChunkFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
2582
2808
|
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).chunk;
|
2583
2809
|
}
|
2810
|
+
/**
|
2811
|
+
* Return a fully-qualified projectLocationDataStoreControl resource name string.
|
2812
|
+
*
|
2813
|
+
* @param {string} project
|
2814
|
+
* @param {string} location
|
2815
|
+
* @param {string} data_store
|
2816
|
+
* @param {string} control
|
2817
|
+
* @returns {string} Resource name string.
|
2818
|
+
*/
|
2819
|
+
projectLocationDataStoreControlPath(project, location, dataStore, control) {
|
2820
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.render({
|
2821
|
+
project: project,
|
2822
|
+
location: location,
|
2823
|
+
data_store: dataStore,
|
2824
|
+
control: control,
|
2825
|
+
});
|
2826
|
+
}
|
2827
|
+
/**
|
2828
|
+
* Parse the project from ProjectLocationDataStoreControl resource.
|
2829
|
+
*
|
2830
|
+
* @param {string} projectLocationDataStoreControlName
|
2831
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
2832
|
+
* @returns {string} A string representing the project.
|
2833
|
+
*/
|
2834
|
+
matchProjectFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
|
2835
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).project;
|
2836
|
+
}
|
2837
|
+
/**
|
2838
|
+
* Parse the location from ProjectLocationDataStoreControl resource.
|
2839
|
+
*
|
2840
|
+
* @param {string} projectLocationDataStoreControlName
|
2841
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
2842
|
+
* @returns {string} A string representing the location.
|
2843
|
+
*/
|
2844
|
+
matchLocationFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
|
2845
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).location;
|
2846
|
+
}
|
2847
|
+
/**
|
2848
|
+
* Parse the data_store from ProjectLocationDataStoreControl resource.
|
2849
|
+
*
|
2850
|
+
* @param {string} projectLocationDataStoreControlName
|
2851
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
2852
|
+
* @returns {string} A string representing the data_store.
|
2853
|
+
*/
|
2854
|
+
matchDataStoreFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
|
2855
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).data_store;
|
2856
|
+
}
|
2857
|
+
/**
|
2858
|
+
* Parse the control from ProjectLocationDataStoreControl resource.
|
2859
|
+
*
|
2860
|
+
* @param {string} projectLocationDataStoreControlName
|
2861
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
2862
|
+
* @returns {string} A string representing the control.
|
2863
|
+
*/
|
2864
|
+
matchControlFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
|
2865
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).control;
|
2866
|
+
}
|
2584
2867
|
/**
|
2585
2868
|
* Return a fully-qualified projectLocationDataStoreConversation resource name string.
|
2586
2869
|
*
|
@@ -2638,6 +2921,63 @@ class SiteSearchEngineServiceClient {
|
|
2638
2921
|
matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
|
2639
2922
|
return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).conversation;
|
2640
2923
|
}
|
2924
|
+
/**
|
2925
|
+
* Return a fully-qualified projectLocationDataStoreCustomTuningModel resource name string.
|
2926
|
+
*
|
2927
|
+
* @param {string} project
|
2928
|
+
* @param {string} location
|
2929
|
+
* @param {string} data_store
|
2930
|
+
* @param {string} custom_tuning_model
|
2931
|
+
* @returns {string} Resource name string.
|
2932
|
+
*/
|
2933
|
+
projectLocationDataStoreCustomTuningModelPath(project, location, dataStore, customTuningModel) {
|
2934
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.render({
|
2935
|
+
project: project,
|
2936
|
+
location: location,
|
2937
|
+
data_store: dataStore,
|
2938
|
+
custom_tuning_model: customTuningModel,
|
2939
|
+
});
|
2940
|
+
}
|
2941
|
+
/**
|
2942
|
+
* Parse the project from ProjectLocationDataStoreCustomTuningModel resource.
|
2943
|
+
*
|
2944
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2945
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2946
|
+
* @returns {string} A string representing the project.
|
2947
|
+
*/
|
2948
|
+
matchProjectFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
|
2949
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).project;
|
2950
|
+
}
|
2951
|
+
/**
|
2952
|
+
* Parse the location from ProjectLocationDataStoreCustomTuningModel resource.
|
2953
|
+
*
|
2954
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2955
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2956
|
+
* @returns {string} A string representing the location.
|
2957
|
+
*/
|
2958
|
+
matchLocationFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
|
2959
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).location;
|
2960
|
+
}
|
2961
|
+
/**
|
2962
|
+
* Parse the data_store from ProjectLocationDataStoreCustomTuningModel resource.
|
2963
|
+
*
|
2964
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2965
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2966
|
+
* @returns {string} A string representing the data_store.
|
2967
|
+
*/
|
2968
|
+
matchDataStoreFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
|
2969
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).data_store;
|
2970
|
+
}
|
2971
|
+
/**
|
2972
|
+
* Parse the custom_tuning_model from ProjectLocationDataStoreCustomTuningModel resource.
|
2973
|
+
*
|
2974
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2975
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2976
|
+
* @returns {string} A string representing the custom_tuning_model.
|
2977
|
+
*/
|
2978
|
+
matchCustomTuningModelFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
|
2979
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).custom_tuning_model;
|
2980
|
+
}
|
2641
2981
|
/**
|
2642
2982
|
* Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
|
2643
2983
|
*
|