@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
@@ -157,7 +157,9 @@ class DataStoreServiceClient {
|
|
157
157
|
projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
|
158
158
|
projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
159
159
|
projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
160
|
+
projectLocationCollectionDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/controls/{control}'),
|
160
161
|
projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
|
162
|
+
projectLocationCollectionDataStoreCustomTuningModelPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}'),
|
161
163
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
162
164
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
163
165
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
@@ -165,6 +167,7 @@ class DataStoreServiceClient {
|
|
165
167
|
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
166
168
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
167
169
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
170
|
+
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
168
171
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
169
172
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
170
173
|
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
@@ -172,7 +175,9 @@ class DataStoreServiceClient {
|
|
172
175
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
173
176
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
174
177
|
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
178
|
+
projectLocationDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/controls/{control}'),
|
175
179
|
projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
|
180
|
+
projectLocationDataStoreCustomTuningModelPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}'),
|
176
181
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
177
182
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
178
183
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
@@ -198,6 +203,17 @@ class DataStoreServiceClient {
|
|
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 DataStoreServiceClient {
|
|
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
|
},
|
@@ -629,8 +648,8 @@ class DataStoreServiceClient {
|
|
629
648
|
* must match the call that provided the page token. Otherwise, an
|
630
649
|
* INVALID_ARGUMENT error is returned.
|
631
650
|
* @param {string} request.filter
|
632
|
-
* Filter by solution type.
|
633
|
-
* 'solution_type:SOLUTION_TYPE_SEARCH'
|
651
|
+
* Filter by solution type.
|
652
|
+
* For example: `filter = 'solution_type:SOLUTION_TYPE_SEARCH'`
|
634
653
|
* @param {object} [options]
|
635
654
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
636
655
|
* @returns {Stream}
|
@@ -690,8 +709,8 @@ class DataStoreServiceClient {
|
|
690
709
|
* must match the call that provided the page token. Otherwise, an
|
691
710
|
* INVALID_ARGUMENT error is returned.
|
692
711
|
* @param {string} request.filter
|
693
|
-
* Filter by solution type.
|
694
|
-
* 'solution_type:SOLUTION_TYPE_SEARCH'
|
712
|
+
* Filter by solution type.
|
713
|
+
* For example: `filter = 'solution_type:SOLUTION_TYPE_SEARCH'`
|
695
714
|
* @param {object} [options]
|
696
715
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
697
716
|
* @returns {Object}
|
@@ -1297,6 +1316,75 @@ class DataStoreServiceClient {
|
|
1297
1316
|
matchChunkFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
1298
1317
|
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).chunk;
|
1299
1318
|
}
|
1319
|
+
/**
|
1320
|
+
* Return a fully-qualified projectLocationCollectionDataStoreControl resource name string.
|
1321
|
+
*
|
1322
|
+
* @param {string} project
|
1323
|
+
* @param {string} location
|
1324
|
+
* @param {string} collection
|
1325
|
+
* @param {string} data_store
|
1326
|
+
* @param {string} control
|
1327
|
+
* @returns {string} Resource name string.
|
1328
|
+
*/
|
1329
|
+
projectLocationCollectionDataStoreControlPath(project, location, collection, dataStore, control) {
|
1330
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.render({
|
1331
|
+
project: project,
|
1332
|
+
location: location,
|
1333
|
+
collection: collection,
|
1334
|
+
data_store: dataStore,
|
1335
|
+
control: control,
|
1336
|
+
});
|
1337
|
+
}
|
1338
|
+
/**
|
1339
|
+
* Parse the project from ProjectLocationCollectionDataStoreControl resource.
|
1340
|
+
*
|
1341
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
1342
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
1343
|
+
* @returns {string} A string representing the project.
|
1344
|
+
*/
|
1345
|
+
matchProjectFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
1346
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).project;
|
1347
|
+
}
|
1348
|
+
/**
|
1349
|
+
* Parse the location from ProjectLocationCollectionDataStoreControl resource.
|
1350
|
+
*
|
1351
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
1352
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
1353
|
+
* @returns {string} A string representing the location.
|
1354
|
+
*/
|
1355
|
+
matchLocationFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
1356
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).location;
|
1357
|
+
}
|
1358
|
+
/**
|
1359
|
+
* Parse the collection from ProjectLocationCollectionDataStoreControl resource.
|
1360
|
+
*
|
1361
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
1362
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
1363
|
+
* @returns {string} A string representing the collection.
|
1364
|
+
*/
|
1365
|
+
matchCollectionFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
1366
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).collection;
|
1367
|
+
}
|
1368
|
+
/**
|
1369
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreControl resource.
|
1370
|
+
*
|
1371
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
1372
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
1373
|
+
* @returns {string} A string representing the data_store.
|
1374
|
+
*/
|
1375
|
+
matchDataStoreFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
1376
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).data_store;
|
1377
|
+
}
|
1378
|
+
/**
|
1379
|
+
* Parse the control from ProjectLocationCollectionDataStoreControl resource.
|
1380
|
+
*
|
1381
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
1382
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
1383
|
+
* @returns {string} A string representing the control.
|
1384
|
+
*/
|
1385
|
+
matchControlFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
1386
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).control;
|
1387
|
+
}
|
1300
1388
|
/**
|
1301
1389
|
* Return a fully-qualified projectLocationCollectionDataStoreConversation resource name string.
|
1302
1390
|
*
|
@@ -1366,6 +1454,75 @@ class DataStoreServiceClient {
|
|
1366
1454
|
matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
|
1367
1455
|
return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).conversation;
|
1368
1456
|
}
|
1457
|
+
/**
|
1458
|
+
* Return a fully-qualified projectLocationCollectionDataStoreCustomTuningModel resource name string.
|
1459
|
+
*
|
1460
|
+
* @param {string} project
|
1461
|
+
* @param {string} location
|
1462
|
+
* @param {string} collection
|
1463
|
+
* @param {string} data_store
|
1464
|
+
* @param {string} custom_tuning_model
|
1465
|
+
* @returns {string} Resource name string.
|
1466
|
+
*/
|
1467
|
+
projectLocationCollectionDataStoreCustomTuningModelPath(project, location, collection, dataStore, customTuningModel) {
|
1468
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.render({
|
1469
|
+
project: project,
|
1470
|
+
location: location,
|
1471
|
+
collection: collection,
|
1472
|
+
data_store: dataStore,
|
1473
|
+
custom_tuning_model: customTuningModel,
|
1474
|
+
});
|
1475
|
+
}
|
1476
|
+
/**
|
1477
|
+
* Parse the project from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1478
|
+
*
|
1479
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1480
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1481
|
+
* @returns {string} A string representing the project.
|
1482
|
+
*/
|
1483
|
+
matchProjectFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
1484
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).project;
|
1485
|
+
}
|
1486
|
+
/**
|
1487
|
+
* Parse the location from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1488
|
+
*
|
1489
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1490
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1491
|
+
* @returns {string} A string representing the location.
|
1492
|
+
*/
|
1493
|
+
matchLocationFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
1494
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).location;
|
1495
|
+
}
|
1496
|
+
/**
|
1497
|
+
* Parse the collection from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1498
|
+
*
|
1499
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1500
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1501
|
+
* @returns {string} A string representing the collection.
|
1502
|
+
*/
|
1503
|
+
matchCollectionFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
1504
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).collection;
|
1505
|
+
}
|
1506
|
+
/**
|
1507
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1508
|
+
*
|
1509
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1510
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1511
|
+
* @returns {string} A string representing the data_store.
|
1512
|
+
*/
|
1513
|
+
matchDataStoreFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
1514
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).data_store;
|
1515
|
+
}
|
1516
|
+
/**
|
1517
|
+
* Parse the custom_tuning_model from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1518
|
+
*
|
1519
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1520
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1521
|
+
* @returns {string} A string representing the custom_tuning_model.
|
1522
|
+
*/
|
1523
|
+
matchCustomTuningModelFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
1524
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).custom_tuning_model;
|
1525
|
+
}
|
1369
1526
|
/**
|
1370
1527
|
* Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
|
1371
1528
|
*
|
@@ -1837,6 +1994,75 @@ class DataStoreServiceClient {
|
|
1837
1994
|
matchTargetSiteFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
|
1838
1995
|
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).target_site;
|
1839
1996
|
}
|
1997
|
+
/**
|
1998
|
+
* Return a fully-qualified projectLocationCollectionEngineControl resource name string.
|
1999
|
+
*
|
2000
|
+
* @param {string} project
|
2001
|
+
* @param {string} location
|
2002
|
+
* @param {string} collection
|
2003
|
+
* @param {string} engine
|
2004
|
+
* @param {string} control
|
2005
|
+
* @returns {string} Resource name string.
|
2006
|
+
*/
|
2007
|
+
projectLocationCollectionEngineControlPath(project, location, collection, engine, control) {
|
2008
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.render({
|
2009
|
+
project: project,
|
2010
|
+
location: location,
|
2011
|
+
collection: collection,
|
2012
|
+
engine: engine,
|
2013
|
+
control: control,
|
2014
|
+
});
|
2015
|
+
}
|
2016
|
+
/**
|
2017
|
+
* Parse the project from ProjectLocationCollectionEngineControl resource.
|
2018
|
+
*
|
2019
|
+
* @param {string} projectLocationCollectionEngineControlName
|
2020
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
2021
|
+
* @returns {string} A string representing the project.
|
2022
|
+
*/
|
2023
|
+
matchProjectFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
2024
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).project;
|
2025
|
+
}
|
2026
|
+
/**
|
2027
|
+
* Parse the location from ProjectLocationCollectionEngineControl resource.
|
2028
|
+
*
|
2029
|
+
* @param {string} projectLocationCollectionEngineControlName
|
2030
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
2031
|
+
* @returns {string} A string representing the location.
|
2032
|
+
*/
|
2033
|
+
matchLocationFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
2034
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).location;
|
2035
|
+
}
|
2036
|
+
/**
|
2037
|
+
* Parse the collection from ProjectLocationCollectionEngineControl resource.
|
2038
|
+
*
|
2039
|
+
* @param {string} projectLocationCollectionEngineControlName
|
2040
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
2041
|
+
* @returns {string} A string representing the collection.
|
2042
|
+
*/
|
2043
|
+
matchCollectionFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
2044
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).collection;
|
2045
|
+
}
|
2046
|
+
/**
|
2047
|
+
* Parse the engine from ProjectLocationCollectionEngineControl resource.
|
2048
|
+
*
|
2049
|
+
* @param {string} projectLocationCollectionEngineControlName
|
2050
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
2051
|
+
* @returns {string} A string representing the engine.
|
2052
|
+
*/
|
2053
|
+
matchEngineFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
2054
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).engine;
|
2055
|
+
}
|
2056
|
+
/**
|
2057
|
+
* Parse the control from ProjectLocationCollectionEngineControl resource.
|
2058
|
+
*
|
2059
|
+
* @param {string} projectLocationCollectionEngineControlName
|
2060
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
2061
|
+
* @returns {string} A string representing the control.
|
2062
|
+
*/
|
2063
|
+
matchControlFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
2064
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).control;
|
2065
|
+
}
|
1840
2066
|
/**
|
1841
2067
|
* Return a fully-qualified projectLocationCollectionEngineConversation resource name string.
|
1842
2068
|
*
|
@@ -2320,6 +2546,63 @@ class DataStoreServiceClient {
|
|
2320
2546
|
matchChunkFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
2321
2547
|
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).chunk;
|
2322
2548
|
}
|
2549
|
+
/**
|
2550
|
+
* Return a fully-qualified projectLocationDataStoreControl resource name string.
|
2551
|
+
*
|
2552
|
+
* @param {string} project
|
2553
|
+
* @param {string} location
|
2554
|
+
* @param {string} data_store
|
2555
|
+
* @param {string} control
|
2556
|
+
* @returns {string} Resource name string.
|
2557
|
+
*/
|
2558
|
+
projectLocationDataStoreControlPath(project, location, dataStore, control) {
|
2559
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.render({
|
2560
|
+
project: project,
|
2561
|
+
location: location,
|
2562
|
+
data_store: dataStore,
|
2563
|
+
control: control,
|
2564
|
+
});
|
2565
|
+
}
|
2566
|
+
/**
|
2567
|
+
* Parse the project from ProjectLocationDataStoreControl resource.
|
2568
|
+
*
|
2569
|
+
* @param {string} projectLocationDataStoreControlName
|
2570
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
2571
|
+
* @returns {string} A string representing the project.
|
2572
|
+
*/
|
2573
|
+
matchProjectFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
|
2574
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).project;
|
2575
|
+
}
|
2576
|
+
/**
|
2577
|
+
* Parse the location from ProjectLocationDataStoreControl resource.
|
2578
|
+
*
|
2579
|
+
* @param {string} projectLocationDataStoreControlName
|
2580
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
2581
|
+
* @returns {string} A string representing the location.
|
2582
|
+
*/
|
2583
|
+
matchLocationFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
|
2584
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).location;
|
2585
|
+
}
|
2586
|
+
/**
|
2587
|
+
* Parse the data_store from ProjectLocationDataStoreControl resource.
|
2588
|
+
*
|
2589
|
+
* @param {string} projectLocationDataStoreControlName
|
2590
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
2591
|
+
* @returns {string} A string representing the data_store.
|
2592
|
+
*/
|
2593
|
+
matchDataStoreFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
|
2594
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).data_store;
|
2595
|
+
}
|
2596
|
+
/**
|
2597
|
+
* Parse the control from ProjectLocationDataStoreControl resource.
|
2598
|
+
*
|
2599
|
+
* @param {string} projectLocationDataStoreControlName
|
2600
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
2601
|
+
* @returns {string} A string representing the control.
|
2602
|
+
*/
|
2603
|
+
matchControlFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
|
2604
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).control;
|
2605
|
+
}
|
2323
2606
|
/**
|
2324
2607
|
* Return a fully-qualified projectLocationDataStoreConversation resource name string.
|
2325
2608
|
*
|
@@ -2377,6 +2660,63 @@ class DataStoreServiceClient {
|
|
2377
2660
|
matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
|
2378
2661
|
return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).conversation;
|
2379
2662
|
}
|
2663
|
+
/**
|
2664
|
+
* Return a fully-qualified projectLocationDataStoreCustomTuningModel resource name string.
|
2665
|
+
*
|
2666
|
+
* @param {string} project
|
2667
|
+
* @param {string} location
|
2668
|
+
* @param {string} data_store
|
2669
|
+
* @param {string} custom_tuning_model
|
2670
|
+
* @returns {string} Resource name string.
|
2671
|
+
*/
|
2672
|
+
projectLocationDataStoreCustomTuningModelPath(project, location, dataStore, customTuningModel) {
|
2673
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.render({
|
2674
|
+
project: project,
|
2675
|
+
location: location,
|
2676
|
+
data_store: dataStore,
|
2677
|
+
custom_tuning_model: customTuningModel,
|
2678
|
+
});
|
2679
|
+
}
|
2680
|
+
/**
|
2681
|
+
* Parse the project from ProjectLocationDataStoreCustomTuningModel resource.
|
2682
|
+
*
|
2683
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2684
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2685
|
+
* @returns {string} A string representing the project.
|
2686
|
+
*/
|
2687
|
+
matchProjectFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
|
2688
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).project;
|
2689
|
+
}
|
2690
|
+
/**
|
2691
|
+
* Parse the location from ProjectLocationDataStoreCustomTuningModel resource.
|
2692
|
+
*
|
2693
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2694
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2695
|
+
* @returns {string} A string representing the location.
|
2696
|
+
*/
|
2697
|
+
matchLocationFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
|
2698
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).location;
|
2699
|
+
}
|
2700
|
+
/**
|
2701
|
+
* Parse the data_store from ProjectLocationDataStoreCustomTuningModel resource.
|
2702
|
+
*
|
2703
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2704
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2705
|
+
* @returns {string} A string representing the data_store.
|
2706
|
+
*/
|
2707
|
+
matchDataStoreFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
|
2708
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).data_store;
|
2709
|
+
}
|
2710
|
+
/**
|
2711
|
+
* Parse the custom_tuning_model from ProjectLocationDataStoreCustomTuningModel resource.
|
2712
|
+
*
|
2713
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2714
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2715
|
+
* @returns {string} A string representing the custom_tuning_model.
|
2716
|
+
*/
|
2717
|
+
matchCustomTuningModelFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
|
2718
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).custom_tuning_model;
|
2719
|
+
}
|
2380
2720
|
/**
|
2381
2721
|
* Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
|
2382
2722
|
*
|