@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
@@ -155,7 +155,9 @@ class SearchTuningServiceClient {
|
|
155
155
|
projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
|
156
156
|
projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
157
157
|
projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
158
|
+
projectLocationCollectionDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/controls/{control}'),
|
158
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}'),
|
159
161
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
160
162
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
161
163
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
@@ -163,6 +165,7 @@ class SearchTuningServiceClient {
|
|
163
165
|
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
164
166
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
165
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}'),
|
166
169
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
167
170
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
168
171
|
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
@@ -170,7 +173,9 @@ class SearchTuningServiceClient {
|
|
170
173
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
171
174
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
172
175
|
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
176
|
+
projectLocationDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/controls/{control}'),
|
173
177
|
projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
|
178
|
+
projectLocationDataStoreCustomTuningModelPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}'),
|
174
179
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
175
180
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
176
181
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
@@ -190,6 +195,17 @@ class SearchTuningServiceClient {
|
|
190
195
|
if (opts.fallback) {
|
191
196
|
lroOptions.protoJson = protoFilesRoot;
|
192
197
|
lroOptions.httpRules = [
|
198
|
+
{
|
199
|
+
selector: 'google.longrunning.Operations.CancelOperation',
|
200
|
+
post: '/v1alpha/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/operations/*}:cancel',
|
201
|
+
body: '*',
|
202
|
+
additional_bindings: [
|
203
|
+
{
|
204
|
+
post: '/v1alpha/{name=projects/*/locations/*/dataStores/*/branches/*/operations/*}:cancel',
|
205
|
+
body: '*',
|
206
|
+
},
|
207
|
+
],
|
208
|
+
},
|
193
209
|
{
|
194
210
|
selector: 'google.longrunning.Operations.GetOperation',
|
195
211
|
get: '/v1alpha/{name=projects/*/locations/*/collections/*/dataConnector/operations/*}',
|
@@ -231,6 +247,9 @@ class SearchTuningServiceClient {
|
|
231
247
|
get: '/v1alpha/{name=projects/*/locations/*/evaluations/*/operations/*}',
|
232
248
|
},
|
233
249
|
{ get: '/v1alpha/{name=projects/*/locations/*/operations/*}' },
|
250
|
+
{
|
251
|
+
get: '/v1alpha/{name=projects/*/locations/*/sampleQuerySets/*/operations/*}',
|
252
|
+
},
|
234
253
|
{ get: '/v1alpha/{name=projects/*/operations/*}' },
|
235
254
|
],
|
236
255
|
},
|
@@ -319,7 +338,10 @@ class SearchTuningServiceClient {
|
|
319
338
|
.SearchTuningService, this._opts, this._providedCustomServicePath);
|
320
339
|
// Iterate over each of the methods that the service provides
|
321
340
|
// and create an API call method for each.
|
322
|
-
const searchTuningServiceStubMethods = [
|
341
|
+
const searchTuningServiceStubMethods = [
|
342
|
+
'trainCustomModel',
|
343
|
+
'listCustomModels',
|
344
|
+
];
|
323
345
|
for (const methodName of searchTuningServiceStubMethods) {
|
324
346
|
const callPromise = this.searchTuningServiceStub.then(stub => (...args) => {
|
325
347
|
if (this._terminated) {
|
@@ -396,6 +418,27 @@ class SearchTuningServiceClient {
|
|
396
418
|
}
|
397
419
|
return this.auth.getProjectId();
|
398
420
|
}
|
421
|
+
listCustomModels(request, optionsOrCallback, callback) {
|
422
|
+
var _a;
|
423
|
+
request = request || {};
|
424
|
+
let options;
|
425
|
+
if (typeof optionsOrCallback === 'function' && callback === undefined) {
|
426
|
+
callback = optionsOrCallback;
|
427
|
+
options = {};
|
428
|
+
}
|
429
|
+
else {
|
430
|
+
options = optionsOrCallback;
|
431
|
+
}
|
432
|
+
options = options || {};
|
433
|
+
options.otherArgs = options.otherArgs || {};
|
434
|
+
options.otherArgs.headers = options.otherArgs.headers || {};
|
435
|
+
options.otherArgs.headers['x-goog-request-params'] =
|
436
|
+
this._gaxModule.routingHeader.fromParams({
|
437
|
+
data_store: (_a = request.dataStore) !== null && _a !== void 0 ? _a : '',
|
438
|
+
});
|
439
|
+
this.initialize();
|
440
|
+
return this.innerApiCalls.listCustomModels(request, options, callback);
|
441
|
+
}
|
399
442
|
trainCustomModel(request, optionsOrCallback, callback) {
|
400
443
|
var _a;
|
401
444
|
request = request || {};
|
@@ -964,6 +1007,75 @@ class SearchTuningServiceClient {
|
|
964
1007
|
matchChunkFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
965
1008
|
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).chunk;
|
966
1009
|
}
|
1010
|
+
/**
|
1011
|
+
* Return a fully-qualified projectLocationCollectionDataStoreControl resource name string.
|
1012
|
+
*
|
1013
|
+
* @param {string} project
|
1014
|
+
* @param {string} location
|
1015
|
+
* @param {string} collection
|
1016
|
+
* @param {string} data_store
|
1017
|
+
* @param {string} control
|
1018
|
+
* @returns {string} Resource name string.
|
1019
|
+
*/
|
1020
|
+
projectLocationCollectionDataStoreControlPath(project, location, collection, dataStore, control) {
|
1021
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.render({
|
1022
|
+
project: project,
|
1023
|
+
location: location,
|
1024
|
+
collection: collection,
|
1025
|
+
data_store: dataStore,
|
1026
|
+
control: control,
|
1027
|
+
});
|
1028
|
+
}
|
1029
|
+
/**
|
1030
|
+
* Parse the project from ProjectLocationCollectionDataStoreControl resource.
|
1031
|
+
*
|
1032
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
1033
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
1034
|
+
* @returns {string} A string representing the project.
|
1035
|
+
*/
|
1036
|
+
matchProjectFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
1037
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).project;
|
1038
|
+
}
|
1039
|
+
/**
|
1040
|
+
* Parse the location from ProjectLocationCollectionDataStoreControl resource.
|
1041
|
+
*
|
1042
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
1043
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
1044
|
+
* @returns {string} A string representing the location.
|
1045
|
+
*/
|
1046
|
+
matchLocationFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
1047
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).location;
|
1048
|
+
}
|
1049
|
+
/**
|
1050
|
+
* Parse the collection from ProjectLocationCollectionDataStoreControl resource.
|
1051
|
+
*
|
1052
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
1053
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
1054
|
+
* @returns {string} A string representing the collection.
|
1055
|
+
*/
|
1056
|
+
matchCollectionFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
1057
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).collection;
|
1058
|
+
}
|
1059
|
+
/**
|
1060
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreControl resource.
|
1061
|
+
*
|
1062
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
1063
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
1064
|
+
* @returns {string} A string representing the data_store.
|
1065
|
+
*/
|
1066
|
+
matchDataStoreFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
1067
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).data_store;
|
1068
|
+
}
|
1069
|
+
/**
|
1070
|
+
* Parse the control from ProjectLocationCollectionDataStoreControl resource.
|
1071
|
+
*
|
1072
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
1073
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
1074
|
+
* @returns {string} A string representing the control.
|
1075
|
+
*/
|
1076
|
+
matchControlFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
1077
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).control;
|
1078
|
+
}
|
967
1079
|
/**
|
968
1080
|
* Return a fully-qualified projectLocationCollectionDataStoreConversation resource name string.
|
969
1081
|
*
|
@@ -1033,6 +1145,75 @@ class SearchTuningServiceClient {
|
|
1033
1145
|
matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
|
1034
1146
|
return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).conversation;
|
1035
1147
|
}
|
1148
|
+
/**
|
1149
|
+
* Return a fully-qualified projectLocationCollectionDataStoreCustomTuningModel resource name string.
|
1150
|
+
*
|
1151
|
+
* @param {string} project
|
1152
|
+
* @param {string} location
|
1153
|
+
* @param {string} collection
|
1154
|
+
* @param {string} data_store
|
1155
|
+
* @param {string} custom_tuning_model
|
1156
|
+
* @returns {string} Resource name string.
|
1157
|
+
*/
|
1158
|
+
projectLocationCollectionDataStoreCustomTuningModelPath(project, location, collection, dataStore, customTuningModel) {
|
1159
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.render({
|
1160
|
+
project: project,
|
1161
|
+
location: location,
|
1162
|
+
collection: collection,
|
1163
|
+
data_store: dataStore,
|
1164
|
+
custom_tuning_model: customTuningModel,
|
1165
|
+
});
|
1166
|
+
}
|
1167
|
+
/**
|
1168
|
+
* Parse the project from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1169
|
+
*
|
1170
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1171
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1172
|
+
* @returns {string} A string representing the project.
|
1173
|
+
*/
|
1174
|
+
matchProjectFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
1175
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).project;
|
1176
|
+
}
|
1177
|
+
/**
|
1178
|
+
* Parse the location from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1179
|
+
*
|
1180
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1181
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1182
|
+
* @returns {string} A string representing the location.
|
1183
|
+
*/
|
1184
|
+
matchLocationFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
1185
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).location;
|
1186
|
+
}
|
1187
|
+
/**
|
1188
|
+
* Parse the collection from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1189
|
+
*
|
1190
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1191
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1192
|
+
* @returns {string} A string representing the collection.
|
1193
|
+
*/
|
1194
|
+
matchCollectionFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
1195
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).collection;
|
1196
|
+
}
|
1197
|
+
/**
|
1198
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1199
|
+
*
|
1200
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1201
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1202
|
+
* @returns {string} A string representing the data_store.
|
1203
|
+
*/
|
1204
|
+
matchDataStoreFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
1205
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).data_store;
|
1206
|
+
}
|
1207
|
+
/**
|
1208
|
+
* Parse the custom_tuning_model from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1209
|
+
*
|
1210
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1211
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1212
|
+
* @returns {string} A string representing the custom_tuning_model.
|
1213
|
+
*/
|
1214
|
+
matchCustomTuningModelFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
1215
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).custom_tuning_model;
|
1216
|
+
}
|
1036
1217
|
/**
|
1037
1218
|
* Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
|
1038
1219
|
*
|
@@ -1504,6 +1685,75 @@ class SearchTuningServiceClient {
|
|
1504
1685
|
matchTargetSiteFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
|
1505
1686
|
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).target_site;
|
1506
1687
|
}
|
1688
|
+
/**
|
1689
|
+
* Return a fully-qualified projectLocationCollectionEngineControl resource name string.
|
1690
|
+
*
|
1691
|
+
* @param {string} project
|
1692
|
+
* @param {string} location
|
1693
|
+
* @param {string} collection
|
1694
|
+
* @param {string} engine
|
1695
|
+
* @param {string} control
|
1696
|
+
* @returns {string} Resource name string.
|
1697
|
+
*/
|
1698
|
+
projectLocationCollectionEngineControlPath(project, location, collection, engine, control) {
|
1699
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.render({
|
1700
|
+
project: project,
|
1701
|
+
location: location,
|
1702
|
+
collection: collection,
|
1703
|
+
engine: engine,
|
1704
|
+
control: control,
|
1705
|
+
});
|
1706
|
+
}
|
1707
|
+
/**
|
1708
|
+
* Parse the project from ProjectLocationCollectionEngineControl resource.
|
1709
|
+
*
|
1710
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1711
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1712
|
+
* @returns {string} A string representing the project.
|
1713
|
+
*/
|
1714
|
+
matchProjectFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
1715
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).project;
|
1716
|
+
}
|
1717
|
+
/**
|
1718
|
+
* Parse the location from ProjectLocationCollectionEngineControl resource.
|
1719
|
+
*
|
1720
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1721
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1722
|
+
* @returns {string} A string representing the location.
|
1723
|
+
*/
|
1724
|
+
matchLocationFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
1725
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).location;
|
1726
|
+
}
|
1727
|
+
/**
|
1728
|
+
* Parse the collection from ProjectLocationCollectionEngineControl resource.
|
1729
|
+
*
|
1730
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1731
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1732
|
+
* @returns {string} A string representing the collection.
|
1733
|
+
*/
|
1734
|
+
matchCollectionFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
1735
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).collection;
|
1736
|
+
}
|
1737
|
+
/**
|
1738
|
+
* Parse the engine from ProjectLocationCollectionEngineControl resource.
|
1739
|
+
*
|
1740
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1741
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1742
|
+
* @returns {string} A string representing the engine.
|
1743
|
+
*/
|
1744
|
+
matchEngineFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
1745
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).engine;
|
1746
|
+
}
|
1747
|
+
/**
|
1748
|
+
* Parse the control from ProjectLocationCollectionEngineControl resource.
|
1749
|
+
*
|
1750
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1751
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1752
|
+
* @returns {string} A string representing the control.
|
1753
|
+
*/
|
1754
|
+
matchControlFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
1755
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).control;
|
1756
|
+
}
|
1507
1757
|
/**
|
1508
1758
|
* Return a fully-qualified projectLocationCollectionEngineConversation resource name string.
|
1509
1759
|
*
|
@@ -1987,6 +2237,63 @@ class SearchTuningServiceClient {
|
|
1987
2237
|
matchChunkFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
1988
2238
|
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).chunk;
|
1989
2239
|
}
|
2240
|
+
/**
|
2241
|
+
* Return a fully-qualified projectLocationDataStoreControl resource name string.
|
2242
|
+
*
|
2243
|
+
* @param {string} project
|
2244
|
+
* @param {string} location
|
2245
|
+
* @param {string} data_store
|
2246
|
+
* @param {string} control
|
2247
|
+
* @returns {string} Resource name string.
|
2248
|
+
*/
|
2249
|
+
projectLocationDataStoreControlPath(project, location, dataStore, control) {
|
2250
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.render({
|
2251
|
+
project: project,
|
2252
|
+
location: location,
|
2253
|
+
data_store: dataStore,
|
2254
|
+
control: control,
|
2255
|
+
});
|
2256
|
+
}
|
2257
|
+
/**
|
2258
|
+
* Parse the project from ProjectLocationDataStoreControl resource.
|
2259
|
+
*
|
2260
|
+
* @param {string} projectLocationDataStoreControlName
|
2261
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
2262
|
+
* @returns {string} A string representing the project.
|
2263
|
+
*/
|
2264
|
+
matchProjectFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
|
2265
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).project;
|
2266
|
+
}
|
2267
|
+
/**
|
2268
|
+
* Parse the location from ProjectLocationDataStoreControl resource.
|
2269
|
+
*
|
2270
|
+
* @param {string} projectLocationDataStoreControlName
|
2271
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
2272
|
+
* @returns {string} A string representing the location.
|
2273
|
+
*/
|
2274
|
+
matchLocationFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
|
2275
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).location;
|
2276
|
+
}
|
2277
|
+
/**
|
2278
|
+
* Parse the data_store from ProjectLocationDataStoreControl resource.
|
2279
|
+
*
|
2280
|
+
* @param {string} projectLocationDataStoreControlName
|
2281
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
2282
|
+
* @returns {string} A string representing the data_store.
|
2283
|
+
*/
|
2284
|
+
matchDataStoreFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
|
2285
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).data_store;
|
2286
|
+
}
|
2287
|
+
/**
|
2288
|
+
* Parse the control from ProjectLocationDataStoreControl resource.
|
2289
|
+
*
|
2290
|
+
* @param {string} projectLocationDataStoreControlName
|
2291
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
2292
|
+
* @returns {string} A string representing the control.
|
2293
|
+
*/
|
2294
|
+
matchControlFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
|
2295
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).control;
|
2296
|
+
}
|
1990
2297
|
/**
|
1991
2298
|
* Return a fully-qualified projectLocationDataStoreConversation resource name string.
|
1992
2299
|
*
|
@@ -2044,6 +2351,63 @@ class SearchTuningServiceClient {
|
|
2044
2351
|
matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
|
2045
2352
|
return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).conversation;
|
2046
2353
|
}
|
2354
|
+
/**
|
2355
|
+
* Return a fully-qualified projectLocationDataStoreCustomTuningModel resource name string.
|
2356
|
+
*
|
2357
|
+
* @param {string} project
|
2358
|
+
* @param {string} location
|
2359
|
+
* @param {string} data_store
|
2360
|
+
* @param {string} custom_tuning_model
|
2361
|
+
* @returns {string} Resource name string.
|
2362
|
+
*/
|
2363
|
+
projectLocationDataStoreCustomTuningModelPath(project, location, dataStore, customTuningModel) {
|
2364
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.render({
|
2365
|
+
project: project,
|
2366
|
+
location: location,
|
2367
|
+
data_store: dataStore,
|
2368
|
+
custom_tuning_model: customTuningModel,
|
2369
|
+
});
|
2370
|
+
}
|
2371
|
+
/**
|
2372
|
+
* Parse the project from ProjectLocationDataStoreCustomTuningModel resource.
|
2373
|
+
*
|
2374
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2375
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2376
|
+
* @returns {string} A string representing the project.
|
2377
|
+
*/
|
2378
|
+
matchProjectFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
|
2379
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).project;
|
2380
|
+
}
|
2381
|
+
/**
|
2382
|
+
* Parse the location from ProjectLocationDataStoreCustomTuningModel resource.
|
2383
|
+
*
|
2384
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2385
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2386
|
+
* @returns {string} A string representing the location.
|
2387
|
+
*/
|
2388
|
+
matchLocationFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
|
2389
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).location;
|
2390
|
+
}
|
2391
|
+
/**
|
2392
|
+
* Parse the data_store from ProjectLocationDataStoreCustomTuningModel resource.
|
2393
|
+
*
|
2394
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2395
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2396
|
+
* @returns {string} A string representing the data_store.
|
2397
|
+
*/
|
2398
|
+
matchDataStoreFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
|
2399
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).data_store;
|
2400
|
+
}
|
2401
|
+
/**
|
2402
|
+
* Parse the custom_tuning_model from ProjectLocationDataStoreCustomTuningModel resource.
|
2403
|
+
*
|
2404
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2405
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2406
|
+
* @returns {string} A string representing the custom_tuning_model.
|
2407
|
+
*/
|
2408
|
+
matchCustomTuningModelFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
|
2409
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).custom_tuning_model;
|
2410
|
+
}
|
2047
2411
|
/**
|
2048
2412
|
* Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
|
2049
2413
|
*
|