@google-cloud/discoveryengine 1.7.0 → 1.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/README.md +33 -4
- package/build/protos/google/cloud/discoveryengine/v1/answer.proto +337 -0
- package/build/protos/google/cloud/discoveryengine/v1/common.proto +34 -1
- package/build/protos/google/cloud/discoveryengine/v1/completion.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1/completion_service.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1/control.proto +214 -0
- package/build/protos/google/cloud/discoveryengine/v1/control_service.proto +236 -0
- package/build/protos/google/cloud/discoveryengine/v1/conversation.proto +3 -3
- package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +570 -1
- package/build/protos/google/cloud/discoveryengine/v1/data_store.proto +5 -1
- package/build/protos/google/cloud/discoveryengine/v1/data_store_service.proto +3 -3
- package/build/protos/google/cloud/discoveryengine/v1/document.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1/document_processing_config.proto +92 -0
- package/build/protos/google/cloud/discoveryengine/v1/document_service.proto +7 -7
- package/build/protos/google/cloud/discoveryengine/v1/engine.proto +5 -5
- package/build/protos/google/cloud/discoveryengine/v1/engine_service.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1/grounded_generation_service.proto +149 -0
- package/build/protos/google/cloud/discoveryengine/v1/grounding.proto +58 -0
- package/build/protos/google/cloud/discoveryengine/v1/import_config.proto +5 -5
- package/build/protos/google/cloud/discoveryengine/v1/project.proto +103 -0
- package/build/protos/google/cloud/discoveryengine/v1/project_service.proto +90 -0
- package/build/protos/google/cloud/discoveryengine/v1/purge_config.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1/rank_service.proto +131 -0
- package/build/protos/google/cloud/discoveryengine/v1/recommendation_service.proto +21 -20
- package/build/protos/google/cloud/discoveryengine/v1/schema.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1/schema_service.proto +6 -6
- package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +24 -19
- package/build/protos/google/cloud/discoveryengine/v1/session.proto +97 -0
- package/build/protos/google/cloud/discoveryengine/v1/site_search_engine.proto +4 -1
- package/build/protos/google/cloud/discoveryengine/v1/site_search_engine_service.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1/user_event.proto +29 -4
- package/build/protos/google/cloud/discoveryengine/v1/user_event_service.proto +19 -3
- package/build/protos/google/cloud/discoveryengine/v1alpha/acl_config.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/acl_config_service.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/answer.proto +10 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/chunk.proto +8 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/chunk_service.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +17 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/completion.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/completion_service.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/control.proto +217 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/control_service.proto +236 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/conversation.proto +3 -3
- package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +20 -4
- package/build/protos/google/cloud/discoveryengine/v1alpha/custom_tuning_model.proto +87 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/data_store.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/data_store_service.proto +3 -3
- package/build/protos/google/cloud/discoveryengine/v1alpha/document.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/document_processing_config.proto +2 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/document_service.proto +13 -10
- package/build/protos/google/cloud/discoveryengine/v1alpha/engine.proto +5 -5
- package/build/protos/google/cloud/discoveryengine/v1alpha/engine_service.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/estimate_billing_service.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/grounded_generation_service.proto +31 -2
- package/build/protos/google/cloud/discoveryengine/v1alpha/grounding.proto +4 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/import_config.proto +5 -5
- package/build/protos/google/cloud/discoveryengine/v1alpha/project.proto +2 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/project_service.proto +3 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/purge_config.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/rank_service.proto +20 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/recommendation_service.proto +21 -20
- package/build/protos/google/cloud/discoveryengine/v1alpha/schema.proto +38 -3
- package/build/protos/google/cloud/discoveryengine/v1alpha/schema_service.proto +7 -7
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +29 -32
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_tuning_service.proto +40 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/serving_config.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/serving_config_service.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/session.proto +4 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine.proto +4 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine_service.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/user_event.proto +30 -4
- package/build/protos/google/cloud/discoveryengine/v1alpha/user_event_service.proto +19 -3
- package/build/protos/google/cloud/discoveryengine/v1beta/answer.proto +11 -2
- package/build/protos/google/cloud/discoveryengine/v1beta/common.proto +17 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/completion.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/completion_service.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/control.proto +216 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/control_service.proto +236 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/conversation.proto +3 -3
- package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +20 -4
- package/build/protos/google/cloud/discoveryengine/v1beta/custom_tuning_model.proto +87 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/data_store.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/data_store_service.proto +3 -3
- package/build/protos/google/cloud/discoveryengine/v1beta/document.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/document_processing_config.proto +2 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/document_service.proto +8 -9
- package/build/protos/google/cloud/discoveryengine/v1beta/engine.proto +5 -5
- package/build/protos/google/cloud/discoveryengine/v1beta/engine_service.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/grounded_generation_service.proto +31 -2
- package/build/protos/google/cloud/discoveryengine/v1beta/grounding.proto +4 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/import_config.proto +5 -5
- package/build/protos/google/cloud/discoveryengine/v1beta/project.proto +103 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/project_service.proto +90 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/purge_config.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/rank_service.proto +20 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/recommendation_service.proto +21 -20
- package/build/protos/google/cloud/discoveryengine/v1beta/schema.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/schema_service.proto +6 -6
- package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +31 -25
- package/build/protos/google/cloud/discoveryengine/v1beta/search_tuning_service.proto +40 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/serving_config.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/serving_config_service.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/session.proto +5 -2
- package/build/protos/google/cloud/discoveryengine/v1beta/site_search_engine.proto +4 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/site_search_engine_service.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/user_event.proto +29 -4
- package/build/protos/google/cloud/discoveryengine/v1beta/user_event_service.proto +19 -3
- package/build/protos/protos.d.ts +52350 -38733
- package/build/protos/protos.js +136479 -103212
- package/build/protos/protos.json +9460 -5916
- package/build/src/index.d.ts +13 -1
- package/build/src/index.js +13 -1
- package/build/src/v1/completion_service_client.d.ts +549 -0
- package/build/src/v1/completion_service_client.js +771 -0
- package/build/src/v1/control_service_client.d.ts +1623 -0
- package/build/src/v1/control_service_client.js +2218 -0
- package/build/src/v1/control_service_client_config.json +63 -0
- package/build/src/v1/conversational_search_service_client.d.ts +893 -0
- package/build/src/v1/conversational_search_service_client.js +1040 -14
- package/build/src/v1/conversational_search_service_client_config.json +35 -0
- package/build/src/v1/data_store_service_client.d.ts +555 -6
- package/build/src/v1/data_store_service_client.js +775 -4
- package/build/src/v1/document_service_client.d.ts +557 -8
- package/build/src/v1/document_service_client.js +773 -2
- package/build/src/v1/engine_service_client.d.ts +549 -0
- package/build/src/v1/engine_service_client.js +771 -0
- package/build/src/v1/grounded_generation_service_client.d.ts +1439 -0
- package/build/src/v1/grounded_generation_service_client.js +2036 -0
- package/build/src/v1/grounded_generation_service_client_config.json +43 -0
- package/build/src/v1/index.d.ts +4 -0
- package/build/src/v1/index.js +9 -1
- package/build/src/v1/project_service_client.d.ts +1533 -0
- package/build/src/v1/project_service_client.js +2255 -0
- package/build/src/v1/project_service_client_config.json +43 -0
- package/build/src/v1/rank_service_client.d.ts +1449 -0
- package/build/src/v1/rank_service_client.js +2037 -0
- package/build/src/v1/rank_service_client_config.json +43 -0
- package/build/src/v1/recommendation_service_client.d.ts +568 -18
- package/build/src/v1/recommendation_service_client.js +756 -0
- package/build/src/v1/schema_service_client.d.ts +558 -9
- package/build/src/v1/schema_service_client.js +775 -4
- package/build/src/v1/search_service_client.d.ts +579 -21
- package/build/src/v1/search_service_client.js +776 -14
- package/build/src/v1/site_search_engine_service_client.d.ts +549 -0
- package/build/src/v1/site_search_engine_service_client.js +771 -0
- package/build/src/v1/user_event_service_client.d.ts +562 -2
- package/build/src/v1/user_event_service_client.js +771 -0
- package/build/src/v1alpha/acl_config_service_client.d.ts +237 -0
- package/build/src/v1alpha/acl_config_service_client.js +326 -0
- package/build/src/v1alpha/chunk_service_client.d.ts +237 -0
- package/build/src/v1alpha/chunk_service_client.js +326 -0
- package/build/src/v1alpha/completion_service_client.d.ts +237 -0
- package/build/src/v1alpha/completion_service_client.js +340 -0
- package/build/src/v1alpha/control_service_client.d.ts +2013 -0
- package/build/src/v1alpha/control_service_client.js +2757 -0
- package/build/src/v1alpha/control_service_client_config.json +63 -0
- package/build/src/v1alpha/conversational_search_service_client.d.ts +239 -2
- package/build/src/v1alpha/conversational_search_service_client.js +326 -0
- package/build/src/v1alpha/data_store_service_client.d.ts +243 -6
- package/build/src/v1alpha/data_store_service_client.js +344 -4
- package/build/src/v1alpha/document_service_client.d.ts +246 -9
- package/build/src/v1alpha/document_service_client.js +342 -2
- package/build/src/v1alpha/engine_service_client.d.ts +237 -0
- package/build/src/v1alpha/engine_service_client.js +340 -0
- package/build/src/v1alpha/estimate_billing_service_client.d.ts +237 -0
- package/build/src/v1alpha/estimate_billing_service_client.js +340 -0
- package/build/src/v1alpha/grounded_generation_service_client.d.ts +256 -1
- package/build/src/v1alpha/grounded_generation_service_client.js +326 -0
- package/build/src/v1alpha/index.d.ts +1 -0
- package/build/src/v1alpha/index.js +3 -1
- package/build/src/v1alpha/project_service_client.d.ts +239 -0
- package/build/src/v1alpha/project_service_client.js +340 -0
- package/build/src/v1alpha/project_service_client_config.json +21 -6
- package/build/src/v1alpha/rank_service_client.d.ts +255 -0
- package/build/src/v1alpha/rank_service_client.js +326 -0
- package/build/src/v1alpha/recommendation_service_client.d.ts +256 -18
- package/build/src/v1alpha/recommendation_service_client.js +326 -0
- package/build/src/v1alpha/schema_service_client.d.ts +247 -10
- package/build/src/v1alpha/schema_service_client.js +344 -4
- package/build/src/v1alpha/search_service_client.d.ts +267 -21
- package/build/src/v1alpha/search_service_client.js +346 -14
- package/build/src/v1alpha/search_tuning_service_client.d.ts +265 -0
- package/build/src/v1alpha/search_tuning_service_client.js +365 -1
- package/build/src/v1alpha/search_tuning_service_client_config.json +4 -0
- package/build/src/v1alpha/serving_config_service_client.d.ts +237 -0
- package/build/src/v1alpha/serving_config_service_client.js +326 -0
- package/build/src/v1alpha/site_search_engine_service_client.d.ts +237 -0
- package/build/src/v1alpha/site_search_engine_service_client.js +340 -0
- package/build/src/v1alpha/user_event_service_client.d.ts +250 -2
- package/build/src/v1alpha/user_event_service_client.js +340 -0
- package/build/src/v1beta/completion_service_client.d.ts +252 -0
- package/build/src/v1beta/completion_service_client.js +359 -0
- package/build/src/v1beta/control_service_client.d.ts +1860 -0
- package/build/src/v1beta/control_service_client.js +2545 -0
- package/build/src/v1beta/control_service_client_config.json +63 -0
- package/build/src/v1beta/conversational_search_service_client.d.ts +254 -2
- package/build/src/v1beta/conversational_search_service_client.js +348 -0
- package/build/src/v1beta/data_store_service_client.d.ts +258 -6
- package/build/src/v1beta/data_store_service_client.js +363 -4
- package/build/src/v1beta/document_service_client.d.ts +261 -10
- package/build/src/v1beta/document_service_client.js +361 -2
- package/build/src/v1beta/engine_service_client.d.ts +252 -0
- package/build/src/v1beta/engine_service_client.js +359 -0
- package/build/src/v1beta/grounded_generation_service_client.d.ts +271 -1
- package/build/src/v1beta/grounded_generation_service_client.js +348 -0
- package/build/src/v1beta/index.d.ts +2 -0
- package/build/src/v1beta/index.js +5 -1
- package/build/src/v1beta/project_service_client.d.ts +1770 -0
- package/build/src/v1beta/project_service_client.js +2576 -0
- package/build/src/v1beta/project_service_client_config.json +43 -0
- package/build/src/v1beta/rank_service_client.d.ts +270 -0
- package/build/src/v1beta/rank_service_client.js +348 -0
- package/build/src/v1beta/recommendation_service_client.d.ts +271 -18
- package/build/src/v1beta/recommendation_service_client.js +348 -0
- package/build/src/v1beta/schema_service_client.d.ts +261 -9
- package/build/src/v1beta/schema_service_client.js +363 -4
- package/build/src/v1beta/search_service_client.d.ts +282 -21
- package/build/src/v1beta/search_service_client.js +368 -14
- package/build/src/v1beta/search_tuning_service_client.d.ts +280 -0
- package/build/src/v1beta/search_tuning_service_client.js +384 -1
- package/build/src/v1beta/search_tuning_service_client_config.json +4 -0
- package/build/src/v1beta/serving_config_service_client.d.ts +237 -0
- package/build/src/v1beta/serving_config_service_client.js +326 -0
- package/build/src/v1beta/site_search_engine_service_client.d.ts +252 -0
- package/build/src/v1beta/site_search_engine_service_client.js +359 -0
- package/build/src/v1beta/user_event_service_client.d.ts +265 -2
- package/build/src/v1beta/user_event_service_client.js +359 -0
- package/package.json +2 -2
@@ -152,10 +152,13 @@ class DocumentServiceClient {
|
|
152
152
|
// Create useful helper objects for these.
|
153
153
|
this.pathTemplates = {
|
154
154
|
enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
|
155
|
+
projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
|
155
156
|
projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
|
156
157
|
projectLocationCollectionDataStoreBranchPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}'),
|
157
158
|
projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
159
|
+
projectLocationCollectionDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/controls/{control}'),
|
158
160
|
projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
|
161
|
+
projectLocationCollectionDataStoreCustomTuningModelPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}'),
|
159
162
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
160
163
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
161
164
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
@@ -163,6 +166,7 @@ class DocumentServiceClient {
|
|
163
166
|
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
164
167
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
165
168
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
169
|
+
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
166
170
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
167
171
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
168
172
|
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
@@ -170,7 +174,9 @@ class DocumentServiceClient {
|
|
170
174
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
171
175
|
projectLocationDataStoreBranchPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}'),
|
172
176
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
177
|
+
projectLocationDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/controls/{control}'),
|
173
178
|
projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
|
179
|
+
projectLocationDataStoreCustomTuningModelPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}'),
|
174
180
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
175
181
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
176
182
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
@@ -196,6 +202,17 @@ class DocumentServiceClient {
|
|
196
202
|
if (opts.fallback) {
|
197
203
|
lroOptions.protoJson = protoFilesRoot;
|
198
204
|
lroOptions.httpRules = [
|
205
|
+
{
|
206
|
+
selector: 'google.longrunning.Operations.CancelOperation',
|
207
|
+
post: '/v1beta/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/operations/*}:cancel',
|
208
|
+
body: '*',
|
209
|
+
additional_bindings: [
|
210
|
+
{
|
211
|
+
post: '/v1beta/{name=projects/*/locations/*/dataStores/*/branches/*/operations/*}:cancel',
|
212
|
+
body: '*',
|
213
|
+
},
|
214
|
+
],
|
215
|
+
},
|
199
216
|
{
|
200
217
|
selector: 'google.longrunning.Operations.GetOperation',
|
201
218
|
get: '/v1beta/{name=projects/*/locations/*/collections/*/dataConnector/operations/*}',
|
@@ -610,7 +627,7 @@ class DocumentServiceClient {
|
|
610
627
|
* @param {number} request.pageSize
|
611
628
|
* Maximum number of {@link protos.google.cloud.discoveryengine.v1beta.Document|Document}s
|
612
629
|
* to return. If unspecified, defaults to 100. The maximum allowed value is
|
613
|
-
* 1000. Values above 1000
|
630
|
+
* 1000. Values above 1000 are set to 1000.
|
614
631
|
*
|
615
632
|
* If this field is negative, an `INVALID_ARGUMENT` error is returned.
|
616
633
|
* @param {string} request.pageToken
|
@@ -669,7 +686,7 @@ class DocumentServiceClient {
|
|
669
686
|
* @param {number} request.pageSize
|
670
687
|
* Maximum number of {@link protos.google.cloud.discoveryengine.v1beta.Document|Document}s
|
671
688
|
* to return. If unspecified, defaults to 100. The maximum allowed value is
|
672
|
-
* 1000. Values above 1000
|
689
|
+
* 1000. Values above 1000 are set to 1000.
|
673
690
|
*
|
674
691
|
* If this field is negative, an `INVALID_ARGUMENT` error is returned.
|
675
692
|
* @param {string} request.pageToken
|
@@ -953,6 +970,27 @@ class DocumentServiceClient {
|
|
953
970
|
matchEngineFromEngineName(engineName) {
|
954
971
|
return this.pathTemplates.enginePathTemplate.match(engineName).engine;
|
955
972
|
}
|
973
|
+
/**
|
974
|
+
* Return a fully-qualified project resource name string.
|
975
|
+
*
|
976
|
+
* @param {string} project
|
977
|
+
* @returns {string} Resource name string.
|
978
|
+
*/
|
979
|
+
projectPath(project) {
|
980
|
+
return this.pathTemplates.projectPathTemplate.render({
|
981
|
+
project: project,
|
982
|
+
});
|
983
|
+
}
|
984
|
+
/**
|
985
|
+
* Parse the project from Project resource.
|
986
|
+
*
|
987
|
+
* @param {string} projectName
|
988
|
+
* A fully-qualified path representing Project resource.
|
989
|
+
* @returns {string} A string representing the project.
|
990
|
+
*/
|
991
|
+
matchProjectFromProjectName(projectName) {
|
992
|
+
return this.pathTemplates.projectPathTemplate.match(projectName).project;
|
993
|
+
}
|
956
994
|
/**
|
957
995
|
* Return a fully-qualified projectLocationCollectionDataStore resource name string.
|
958
996
|
*
|
@@ -1160,6 +1198,75 @@ class DocumentServiceClient {
|
|
1160
1198
|
matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName) {
|
1161
1199
|
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentName).document;
|
1162
1200
|
}
|
1201
|
+
/**
|
1202
|
+
* Return a fully-qualified projectLocationCollectionDataStoreControl resource name string.
|
1203
|
+
*
|
1204
|
+
* @param {string} project
|
1205
|
+
* @param {string} location
|
1206
|
+
* @param {string} collection
|
1207
|
+
* @param {string} data_store
|
1208
|
+
* @param {string} control
|
1209
|
+
* @returns {string} Resource name string.
|
1210
|
+
*/
|
1211
|
+
projectLocationCollectionDataStoreControlPath(project, location, collection, dataStore, control) {
|
1212
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.render({
|
1213
|
+
project: project,
|
1214
|
+
location: location,
|
1215
|
+
collection: collection,
|
1216
|
+
data_store: dataStore,
|
1217
|
+
control: control,
|
1218
|
+
});
|
1219
|
+
}
|
1220
|
+
/**
|
1221
|
+
* Parse the project from ProjectLocationCollectionDataStoreControl resource.
|
1222
|
+
*
|
1223
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
1224
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
1225
|
+
* @returns {string} A string representing the project.
|
1226
|
+
*/
|
1227
|
+
matchProjectFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
1228
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).project;
|
1229
|
+
}
|
1230
|
+
/**
|
1231
|
+
* Parse the location from ProjectLocationCollectionDataStoreControl resource.
|
1232
|
+
*
|
1233
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
1234
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
1235
|
+
* @returns {string} A string representing the location.
|
1236
|
+
*/
|
1237
|
+
matchLocationFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
1238
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).location;
|
1239
|
+
}
|
1240
|
+
/**
|
1241
|
+
* Parse the collection from ProjectLocationCollectionDataStoreControl resource.
|
1242
|
+
*
|
1243
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
1244
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
1245
|
+
* @returns {string} A string representing the collection.
|
1246
|
+
*/
|
1247
|
+
matchCollectionFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
1248
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).collection;
|
1249
|
+
}
|
1250
|
+
/**
|
1251
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreControl resource.
|
1252
|
+
*
|
1253
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
1254
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
1255
|
+
* @returns {string} A string representing the data_store.
|
1256
|
+
*/
|
1257
|
+
matchDataStoreFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
1258
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).data_store;
|
1259
|
+
}
|
1260
|
+
/**
|
1261
|
+
* Parse the control from ProjectLocationCollectionDataStoreControl resource.
|
1262
|
+
*
|
1263
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
1264
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
1265
|
+
* @returns {string} A string representing the control.
|
1266
|
+
*/
|
1267
|
+
matchControlFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
1268
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).control;
|
1269
|
+
}
|
1163
1270
|
/**
|
1164
1271
|
* Return a fully-qualified projectLocationCollectionDataStoreConversation resource name string.
|
1165
1272
|
*
|
@@ -1229,6 +1336,75 @@ class DocumentServiceClient {
|
|
1229
1336
|
matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
|
1230
1337
|
return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).conversation;
|
1231
1338
|
}
|
1339
|
+
/**
|
1340
|
+
* Return a fully-qualified projectLocationCollectionDataStoreCustomTuningModel resource name string.
|
1341
|
+
*
|
1342
|
+
* @param {string} project
|
1343
|
+
* @param {string} location
|
1344
|
+
* @param {string} collection
|
1345
|
+
* @param {string} data_store
|
1346
|
+
* @param {string} custom_tuning_model
|
1347
|
+
* @returns {string} Resource name string.
|
1348
|
+
*/
|
1349
|
+
projectLocationCollectionDataStoreCustomTuningModelPath(project, location, collection, dataStore, customTuningModel) {
|
1350
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.render({
|
1351
|
+
project: project,
|
1352
|
+
location: location,
|
1353
|
+
collection: collection,
|
1354
|
+
data_store: dataStore,
|
1355
|
+
custom_tuning_model: customTuningModel,
|
1356
|
+
});
|
1357
|
+
}
|
1358
|
+
/**
|
1359
|
+
* Parse the project from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1360
|
+
*
|
1361
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1362
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1363
|
+
* @returns {string} A string representing the project.
|
1364
|
+
*/
|
1365
|
+
matchProjectFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
1366
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).project;
|
1367
|
+
}
|
1368
|
+
/**
|
1369
|
+
* Parse the location from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1370
|
+
*
|
1371
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1372
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1373
|
+
* @returns {string} A string representing the location.
|
1374
|
+
*/
|
1375
|
+
matchLocationFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
1376
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).location;
|
1377
|
+
}
|
1378
|
+
/**
|
1379
|
+
* Parse the collection from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1380
|
+
*
|
1381
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1382
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1383
|
+
* @returns {string} A string representing the collection.
|
1384
|
+
*/
|
1385
|
+
matchCollectionFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
1386
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).collection;
|
1387
|
+
}
|
1388
|
+
/**
|
1389
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1390
|
+
*
|
1391
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1392
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1393
|
+
* @returns {string} A string representing the data_store.
|
1394
|
+
*/
|
1395
|
+
matchDataStoreFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
1396
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).data_store;
|
1397
|
+
}
|
1398
|
+
/**
|
1399
|
+
* Parse the custom_tuning_model from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1400
|
+
*
|
1401
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1402
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1403
|
+
* @returns {string} A string representing the custom_tuning_model.
|
1404
|
+
*/
|
1405
|
+
matchCustomTuningModelFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
1406
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).custom_tuning_model;
|
1407
|
+
}
|
1232
1408
|
/**
|
1233
1409
|
* Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
|
1234
1410
|
*
|
@@ -1700,6 +1876,75 @@ class DocumentServiceClient {
|
|
1700
1876
|
matchTargetSiteFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
|
1701
1877
|
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).target_site;
|
1702
1878
|
}
|
1879
|
+
/**
|
1880
|
+
* Return a fully-qualified projectLocationCollectionEngineControl resource name string.
|
1881
|
+
*
|
1882
|
+
* @param {string} project
|
1883
|
+
* @param {string} location
|
1884
|
+
* @param {string} collection
|
1885
|
+
* @param {string} engine
|
1886
|
+
* @param {string} control
|
1887
|
+
* @returns {string} Resource name string.
|
1888
|
+
*/
|
1889
|
+
projectLocationCollectionEngineControlPath(project, location, collection, engine, control) {
|
1890
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.render({
|
1891
|
+
project: project,
|
1892
|
+
location: location,
|
1893
|
+
collection: collection,
|
1894
|
+
engine: engine,
|
1895
|
+
control: control,
|
1896
|
+
});
|
1897
|
+
}
|
1898
|
+
/**
|
1899
|
+
* Parse the project from ProjectLocationCollectionEngineControl resource.
|
1900
|
+
*
|
1901
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1902
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1903
|
+
* @returns {string} A string representing the project.
|
1904
|
+
*/
|
1905
|
+
matchProjectFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
1906
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).project;
|
1907
|
+
}
|
1908
|
+
/**
|
1909
|
+
* Parse the location from ProjectLocationCollectionEngineControl resource.
|
1910
|
+
*
|
1911
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1912
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1913
|
+
* @returns {string} A string representing the location.
|
1914
|
+
*/
|
1915
|
+
matchLocationFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
1916
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).location;
|
1917
|
+
}
|
1918
|
+
/**
|
1919
|
+
* Parse the collection from ProjectLocationCollectionEngineControl resource.
|
1920
|
+
*
|
1921
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1922
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1923
|
+
* @returns {string} A string representing the collection.
|
1924
|
+
*/
|
1925
|
+
matchCollectionFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
1926
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).collection;
|
1927
|
+
}
|
1928
|
+
/**
|
1929
|
+
* Parse the engine from ProjectLocationCollectionEngineControl resource.
|
1930
|
+
*
|
1931
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1932
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1933
|
+
* @returns {string} A string representing the engine.
|
1934
|
+
*/
|
1935
|
+
matchEngineFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
1936
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).engine;
|
1937
|
+
}
|
1938
|
+
/**
|
1939
|
+
* Parse the control from ProjectLocationCollectionEngineControl resource.
|
1940
|
+
*
|
1941
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1942
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1943
|
+
* @returns {string} A string representing the control.
|
1944
|
+
*/
|
1945
|
+
matchControlFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
1946
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).control;
|
1947
|
+
}
|
1703
1948
|
/**
|
1704
1949
|
* Return a fully-qualified projectLocationCollectionEngineConversation resource name string.
|
1705
1950
|
*
|
@@ -2159,6 +2404,63 @@ class DocumentServiceClient {
|
|
2159
2404
|
matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName) {
|
2160
2405
|
return this.pathTemplates.projectLocationDataStoreBranchDocumentPathTemplate.match(projectLocationDataStoreBranchDocumentName).document;
|
2161
2406
|
}
|
2407
|
+
/**
|
2408
|
+
* Return a fully-qualified projectLocationDataStoreControl resource name string.
|
2409
|
+
*
|
2410
|
+
* @param {string} project
|
2411
|
+
* @param {string} location
|
2412
|
+
* @param {string} data_store
|
2413
|
+
* @param {string} control
|
2414
|
+
* @returns {string} Resource name string.
|
2415
|
+
*/
|
2416
|
+
projectLocationDataStoreControlPath(project, location, dataStore, control) {
|
2417
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.render({
|
2418
|
+
project: project,
|
2419
|
+
location: location,
|
2420
|
+
data_store: dataStore,
|
2421
|
+
control: control,
|
2422
|
+
});
|
2423
|
+
}
|
2424
|
+
/**
|
2425
|
+
* Parse the project from ProjectLocationDataStoreControl resource.
|
2426
|
+
*
|
2427
|
+
* @param {string} projectLocationDataStoreControlName
|
2428
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
2429
|
+
* @returns {string} A string representing the project.
|
2430
|
+
*/
|
2431
|
+
matchProjectFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
|
2432
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).project;
|
2433
|
+
}
|
2434
|
+
/**
|
2435
|
+
* Parse the location from ProjectLocationDataStoreControl resource.
|
2436
|
+
*
|
2437
|
+
* @param {string} projectLocationDataStoreControlName
|
2438
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
2439
|
+
* @returns {string} A string representing the location.
|
2440
|
+
*/
|
2441
|
+
matchLocationFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
|
2442
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).location;
|
2443
|
+
}
|
2444
|
+
/**
|
2445
|
+
* Parse the data_store from ProjectLocationDataStoreControl resource.
|
2446
|
+
*
|
2447
|
+
* @param {string} projectLocationDataStoreControlName
|
2448
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
2449
|
+
* @returns {string} A string representing the data_store.
|
2450
|
+
*/
|
2451
|
+
matchDataStoreFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
|
2452
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).data_store;
|
2453
|
+
}
|
2454
|
+
/**
|
2455
|
+
* Parse the control from ProjectLocationDataStoreControl resource.
|
2456
|
+
*
|
2457
|
+
* @param {string} projectLocationDataStoreControlName
|
2458
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
2459
|
+
* @returns {string} A string representing the control.
|
2460
|
+
*/
|
2461
|
+
matchControlFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
|
2462
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).control;
|
2463
|
+
}
|
2162
2464
|
/**
|
2163
2465
|
* Return a fully-qualified projectLocationDataStoreConversation resource name string.
|
2164
2466
|
*
|
@@ -2216,6 +2518,63 @@ class DocumentServiceClient {
|
|
2216
2518
|
matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
|
2217
2519
|
return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).conversation;
|
2218
2520
|
}
|
2521
|
+
/**
|
2522
|
+
* Return a fully-qualified projectLocationDataStoreCustomTuningModel resource name string.
|
2523
|
+
*
|
2524
|
+
* @param {string} project
|
2525
|
+
* @param {string} location
|
2526
|
+
* @param {string} data_store
|
2527
|
+
* @param {string} custom_tuning_model
|
2528
|
+
* @returns {string} Resource name string.
|
2529
|
+
*/
|
2530
|
+
projectLocationDataStoreCustomTuningModelPath(project, location, dataStore, customTuningModel) {
|
2531
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.render({
|
2532
|
+
project: project,
|
2533
|
+
location: location,
|
2534
|
+
data_store: dataStore,
|
2535
|
+
custom_tuning_model: customTuningModel,
|
2536
|
+
});
|
2537
|
+
}
|
2538
|
+
/**
|
2539
|
+
* Parse the project from ProjectLocationDataStoreCustomTuningModel resource.
|
2540
|
+
*
|
2541
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2542
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2543
|
+
* @returns {string} A string representing the project.
|
2544
|
+
*/
|
2545
|
+
matchProjectFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
|
2546
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).project;
|
2547
|
+
}
|
2548
|
+
/**
|
2549
|
+
* Parse the location from ProjectLocationDataStoreCustomTuningModel resource.
|
2550
|
+
*
|
2551
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2552
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2553
|
+
* @returns {string} A string representing the location.
|
2554
|
+
*/
|
2555
|
+
matchLocationFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
|
2556
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).location;
|
2557
|
+
}
|
2558
|
+
/**
|
2559
|
+
* Parse the data_store from ProjectLocationDataStoreCustomTuningModel resource.
|
2560
|
+
*
|
2561
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2562
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2563
|
+
* @returns {string} A string representing the data_store.
|
2564
|
+
*/
|
2565
|
+
matchDataStoreFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
|
2566
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).data_store;
|
2567
|
+
}
|
2568
|
+
/**
|
2569
|
+
* Parse the custom_tuning_model from ProjectLocationDataStoreCustomTuningModel resource.
|
2570
|
+
*
|
2571
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2572
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2573
|
+
* @returns {string} A string representing the custom_tuning_model.
|
2574
|
+
*/
|
2575
|
+
matchCustomTuningModelFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
|
2576
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).custom_tuning_model;
|
2577
|
+
}
|
2219
2578
|
/**
|
2220
2579
|
* Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
|
2221
2580
|
*
|