@google-cloud/discoveryengine 2.2.0 → 2.4.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/README.md +30 -0
- package/build/protos/google/cloud/discoveryengine/v1/answer.proto +17 -0
- package/build/protos/google/cloud/discoveryengine/v1/assist_answer.proto +251 -0
- package/build/protos/google/cloud/discoveryengine/v1/assistant.proto +44 -0
- package/build/protos/google/cloud/discoveryengine/v1/assistant_service.proto +217 -0
- package/build/protos/google/cloud/discoveryengine/v1/chunk.proto +52 -0
- package/build/protos/google/cloud/discoveryengine/v1/cmek_config_service.proto +300 -0
- package/build/protos/google/cloud/discoveryengine/v1/common.proto +67 -0
- package/build/protos/google/cloud/discoveryengine/v1/control.proto +1 -3
- package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +18 -3
- package/build/protos/google/cloud/discoveryengine/v1/data_store.proto +54 -2
- package/build/protos/google/cloud/discoveryengine/v1/data_store_service.proto +14 -0
- package/build/protos/google/cloud/discoveryengine/v1/document.proto +95 -4
- package/build/protos/google/cloud/discoveryengine/v1/document_processing_config.proto +28 -1
- package/build/protos/google/cloud/discoveryengine/v1/engine.proto +131 -6
- package/build/protos/google/cloud/discoveryengine/v1/grounded_generation_service.proto +8 -0
- package/build/protos/google/cloud/discoveryengine/v1/grounding.proto +9 -0
- package/build/protos/google/cloud/discoveryengine/v1/identity_mapping_store.proto +84 -0
- package/build/protos/google/cloud/discoveryengine/v1/identity_mapping_store_service.proto +375 -0
- package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +14 -14
- package/build/protos/google/cloud/discoveryengine/v1/session.proto +21 -8
- package/build/protos/google/cloud/discoveryengine/v1/session_service.proto +128 -0
- package/build/protos/google/cloud/discoveryengine/v1/site_search_engine.proto +6 -0
- package/build/protos/google/cloud/discoveryengine/v1/user_license.proto +98 -0
- package/build/protos/google/cloud/discoveryengine/v1/user_license_service.proto +191 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +15 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +30 -9
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +8 -14
- package/build/protos/google/cloud/discoveryengine/v1alpha/session.proto +238 -8
- package/build/protos/google/cloud/discoveryengine/v1alpha/session_service.proto +201 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +26 -5
- package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +8 -14
- package/build/protos/google/cloud/discoveryengine/v1beta/session.proto +40 -8
- package/build/protos/google/cloud/discoveryengine/v1beta/session_service.proto +128 -0
- package/build/protos/protos.d.ts +21218 -11675
- package/build/protos/protos.js +92642 -66407
- package/build/protos/protos.json +5854 -2801
- package/build/src/index.d.ts +16 -1
- package/build/src/index.js +12 -2
- package/build/src/v1/assistant_service_client.d.ts +2058 -0
- package/build/src/v1/assistant_service_client.js +2957 -0
- package/build/src/v1/assistant_service_client_config.json +43 -0
- package/build/src/v1/assistant_service_proto_list.json +48 -0
- package/build/src/v1/cmek_config_service_client.d.ts +2398 -0
- package/build/src/v1/cmek_config_service_client.js +3426 -0
- package/build/src/v1/cmek_config_service_client_config.json +42 -0
- package/build/src/v1/cmek_config_service_proto_list.json +48 -0
- package/build/src/v1/completion_service_client.d.ts +345 -144
- package/build/src/v1/completion_service_client.js +482 -198
- package/build/src/v1/completion_service_proto_list.json +10 -1
- package/build/src/v1/control_service_client.d.ts +345 -144
- package/build/src/v1/control_service_client.js +498 -196
- package/build/src/v1/control_service_proto_list.json +10 -1
- package/build/src/v1/conversational_search_service_client.d.ts +392 -155
- package/build/src/v1/conversational_search_service_client.js +572 -204
- package/build/src/v1/conversational_search_service_proto_list.json +10 -1
- package/build/src/v1/data_store_service_client.d.ts +351 -144
- package/build/src/v1/data_store_service_client.js +488 -198
- package/build/src/v1/data_store_service_proto_list.json +10 -1
- package/build/src/v1/document_service_client.d.ts +345 -144
- package/build/src/v1/document_service_client.js +506 -198
- package/build/src/v1/document_service_proto_list.json +10 -1
- package/build/src/v1/engine_service_client.d.ts +345 -144
- package/build/src/v1/engine_service_client.js +488 -198
- package/build/src/v1/engine_service_proto_list.json +10 -1
- package/build/src/v1/gapic_metadata.json +270 -0
- package/build/src/v1/grounded_generation_service_client.d.ts +345 -144
- package/build/src/v1/grounded_generation_service_client.js +486 -196
- package/build/src/v1/grounded_generation_service_proto_list.json +10 -1
- package/build/src/v1/identity_mapping_store_service_client.d.ts +2581 -0
- package/build/src/v1/identity_mapping_store_service_client.js +3601 -0
- package/build/src/v1/identity_mapping_store_service_client_config.json +54 -0
- package/build/src/v1/identity_mapping_store_service_proto_list.json +48 -0
- package/build/src/v1/index.d.ts +5 -0
- package/build/src/v1/index.js +11 -1
- package/build/src/v1/project_service_client.d.ts +345 -144
- package/build/src/v1/project_service_client.js +476 -198
- package/build/src/v1/project_service_proto_list.json +10 -1
- package/build/src/v1/rank_service_client.d.ts +345 -144
- package/build/src/v1/rank_service_client.js +480 -196
- package/build/src/v1/rank_service_proto_list.json +10 -1
- package/build/src/v1/recommendation_service_client.d.ts +345 -144
- package/build/src/v1/recommendation_service_client.js +480 -196
- package/build/src/v1/recommendation_service_proto_list.json +10 -1
- package/build/src/v1/schema_service_client.d.ts +345 -144
- package/build/src/v1/schema_service_client.js +482 -198
- package/build/src/v1/schema_service_proto_list.json +10 -1
- package/build/src/v1/search_service_client.d.ts +393 -228
- package/build/src/v1/search_service_client.js +506 -252
- package/build/src/v1/search_service_proto_list.json +10 -1
- package/build/src/v1/search_tuning_service_client.d.ts +345 -144
- package/build/src/v1/search_tuning_service_client.js +482 -198
- package/build/src/v1/search_tuning_service_proto_list.json +10 -1
- package/build/src/v1/serving_config_service_client.d.ts +345 -144
- package/build/src/v1/serving_config_service_client.js +480 -196
- package/build/src/v1/serving_config_service_proto_list.json +10 -1
- package/build/src/v1/session_service_client.d.ts +2326 -0
- package/build/src/v1/session_service_client.js +3218 -0
- package/build/src/v1/session_service_client_config.json +63 -0
- package/build/src/v1/session_service_proto_list.json +48 -0
- package/build/src/v1/site_search_engine_service_client.d.ts +345 -144
- package/build/src/v1/site_search_engine_service_client.js +494 -198
- package/build/src/v1/site_search_engine_service_proto_list.json +10 -1
- package/build/src/v1/user_event_service_client.d.ts +345 -144
- package/build/src/v1/user_event_service_client.js +488 -198
- package/build/src/v1/user_event_service_proto_list.json +10 -1
- package/build/src/v1/user_license_service_client.d.ts +2367 -0
- package/build/src/v1/user_license_service_client.js +3346 -0
- package/build/src/v1/user_license_service_client_config.json +34 -0
- package/build/src/v1/user_license_service_proto_list.json +48 -0
- package/build/src/v1alpha/acl_config_service_client.d.ts +144 -144
- package/build/src/v1alpha/acl_config_service_client.js +208 -196
- package/build/src/v1alpha/acl_config_service_proto_list.json +1 -0
- package/build/src/v1alpha/chunk_service_client.d.ts +144 -144
- package/build/src/v1alpha/chunk_service_client.js +202 -196
- package/build/src/v1alpha/chunk_service_proto_list.json +1 -0
- package/build/src/v1alpha/completion_service_client.d.ts +144 -144
- package/build/src/v1alpha/completion_service_client.js +203 -197
- package/build/src/v1alpha/completion_service_proto_list.json +1 -0
- package/build/src/v1alpha/control_service_client.d.ts +144 -144
- package/build/src/v1alpha/control_service_client.js +220 -196
- package/build/src/v1alpha/control_service_proto_list.json +1 -0
- package/build/src/v1alpha/conversational_search_service_client.d.ts +221 -167
- package/build/src/v1alpha/conversational_search_service_client.js +310 -210
- package/build/src/v1alpha/conversational_search_service_proto_list.json +1 -0
- package/build/src/v1alpha/data_store_service_client.d.ts +144 -144
- package/build/src/v1alpha/data_store_service_client.js +221 -197
- package/build/src/v1alpha/data_store_service_proto_list.json +1 -0
- package/build/src/v1alpha/document_service_client.d.ts +144 -144
- package/build/src/v1alpha/document_service_client.js +233 -197
- package/build/src/v1alpha/document_service_proto_list.json +1 -0
- package/build/src/v1alpha/engine_service_client.d.ts +144 -144
- package/build/src/v1alpha/engine_service_client.js +221 -197
- package/build/src/v1alpha/engine_service_proto_list.json +1 -0
- package/build/src/v1alpha/estimate_billing_service_client.d.ts +144 -144
- package/build/src/v1alpha/estimate_billing_service_client.js +197 -197
- package/build/src/v1alpha/estimate_billing_service_proto_list.json +1 -0
- package/build/src/v1alpha/evaluation_service_client.d.ts +144 -144
- package/build/src/v1alpha/evaluation_service_client.js +203 -197
- package/build/src/v1alpha/evaluation_service_proto_list.json +1 -0
- package/build/src/v1alpha/gapic_metadata.json +82 -0
- package/build/src/v1alpha/grounded_generation_service_client.d.ts +144 -144
- package/build/src/v1alpha/grounded_generation_service_client.js +202 -196
- package/build/src/v1alpha/grounded_generation_service_proto_list.json +1 -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 +144 -144
- package/build/src/v1alpha/project_service_client.js +209 -197
- package/build/src/v1alpha/project_service_proto_list.json +1 -0
- package/build/src/v1alpha/rank_service_client.d.ts +144 -144
- package/build/src/v1alpha/rank_service_client.js +202 -196
- package/build/src/v1alpha/rank_service_proto_list.json +1 -0
- package/build/src/v1alpha/recommendation_service_client.d.ts +144 -144
- package/build/src/v1alpha/recommendation_service_client.js +202 -196
- package/build/src/v1alpha/recommendation_service_proto_list.json +1 -0
- package/build/src/v1alpha/sample_query_service_client.d.ts +144 -144
- package/build/src/v1alpha/sample_query_service_client.js +221 -197
- package/build/src/v1alpha/sample_query_service_proto_list.json +1 -0
- package/build/src/v1alpha/sample_query_set_service_client.d.ts +144 -144
- package/build/src/v1alpha/sample_query_set_service_client.js +220 -196
- package/build/src/v1alpha/sample_query_set_service_proto_list.json +1 -0
- package/build/src/v1alpha/schema_service_client.d.ts +144 -144
- package/build/src/v1alpha/schema_service_client.js +203 -197
- package/build/src/v1alpha/schema_service_proto_list.json +1 -0
- package/build/src/v1alpha/search_service_client.d.ts +168 -186
- package/build/src/v1alpha/search_service_client.js +212 -224
- package/build/src/v1alpha/search_service_proto_list.json +1 -0
- package/build/src/v1alpha/search_tuning_service_client.d.ts +144 -144
- package/build/src/v1alpha/search_tuning_service_client.js +203 -197
- package/build/src/v1alpha/search_tuning_service_proto_list.json +1 -0
- package/build/src/v1alpha/serving_config_service_client.d.ts +144 -144
- package/build/src/v1alpha/serving_config_service_client.js +208 -196
- package/build/src/v1alpha/serving_config_service_proto_list.json +1 -0
- package/build/src/v1alpha/session_service_client.d.ts +2331 -0
- package/build/src/v1alpha/session_service_client.js +3161 -0
- package/build/src/v1alpha/session_service_client_config.json +68 -0
- package/build/src/v1alpha/session_service_proto_list.json +49 -0
- package/build/src/v1alpha/site_search_engine_service_client.d.ts +144 -144
- package/build/src/v1alpha/site_search_engine_service_client.js +215 -197
- package/build/src/v1alpha/site_search_engine_service_proto_list.json +1 -0
- package/build/src/v1alpha/user_event_service_client.d.ts +144 -144
- package/build/src/v1alpha/user_event_service_client.js +209 -197
- package/build/src/v1alpha/user_event_service_proto_list.json +1 -0
- package/build/src/v1beta/completion_service_client.d.ts +144 -144
- package/build/src/v1beta/completion_service_client.js +209 -197
- package/build/src/v1beta/completion_service_proto_list.json +1 -0
- package/build/src/v1beta/control_service_client.d.ts +144 -144
- package/build/src/v1beta/control_service_client.js +220 -196
- package/build/src/v1beta/control_service_proto_list.json +1 -0
- package/build/src/v1beta/conversational_search_service_client.d.ts +215 -161
- package/build/src/v1beta/conversational_search_service_client.js +308 -208
- package/build/src/v1beta/conversational_search_service_proto_list.json +1 -0
- package/build/src/v1beta/data_store_service_client.d.ts +144 -144
- package/build/src/v1beta/data_store_service_client.js +209 -197
- package/build/src/v1beta/data_store_service_proto_list.json +1 -0
- package/build/src/v1beta/document_service_client.d.ts +144 -144
- package/build/src/v1beta/document_service_client.js +227 -197
- package/build/src/v1beta/document_service_proto_list.json +1 -0
- package/build/src/v1beta/engine_service_client.d.ts +144 -144
- package/build/src/v1beta/engine_service_client.js +221 -197
- package/build/src/v1beta/engine_service_proto_list.json +1 -0
- package/build/src/v1beta/evaluation_service_client.d.ts +144 -144
- package/build/src/v1beta/evaluation_service_client.js +203 -197
- package/build/src/v1beta/evaluation_service_proto_list.json +1 -0
- package/build/src/v1beta/gapic_metadata.json +68 -0
- package/build/src/v1beta/grounded_generation_service_client.d.ts +144 -144
- package/build/src/v1beta/grounded_generation_service_client.js +208 -196
- package/build/src/v1beta/grounded_generation_service_proto_list.json +1 -0
- package/build/src/v1beta/index.d.ts +1 -0
- package/build/src/v1beta/index.js +3 -1
- package/build/src/v1beta/project_service_client.d.ts +144 -144
- package/build/src/v1beta/project_service_client.js +197 -197
- package/build/src/v1beta/project_service_proto_list.json +1 -0
- package/build/src/v1beta/rank_service_client.d.ts +144 -144
- package/build/src/v1beta/rank_service_client.js +202 -196
- package/build/src/v1beta/rank_service_proto_list.json +1 -0
- package/build/src/v1beta/recommendation_service_client.d.ts +144 -144
- package/build/src/v1beta/recommendation_service_client.js +202 -196
- package/build/src/v1beta/recommendation_service_proto_list.json +1 -0
- package/build/src/v1beta/sample_query_service_client.d.ts +144 -144
- package/build/src/v1beta/sample_query_service_client.js +221 -197
- package/build/src/v1beta/sample_query_service_proto_list.json +1 -0
- package/build/src/v1beta/sample_query_set_service_client.d.ts +144 -144
- package/build/src/v1beta/sample_query_set_service_client.js +220 -196
- package/build/src/v1beta/sample_query_set_service_proto_list.json +1 -0
- package/build/src/v1beta/schema_service_client.d.ts +144 -144
- package/build/src/v1beta/schema_service_client.js +203 -197
- package/build/src/v1beta/schema_service_proto_list.json +1 -0
- package/build/src/v1beta/search_service_client.d.ts +192 -228
- package/build/src/v1beta/search_service_client.js +228 -252
- package/build/src/v1beta/search_service_proto_list.json +1 -0
- package/build/src/v1beta/search_tuning_service_client.d.ts +144 -144
- package/build/src/v1beta/search_tuning_service_client.js +203 -197
- package/build/src/v1beta/search_tuning_service_proto_list.json +1 -0
- package/build/src/v1beta/serving_config_service_client.d.ts +144 -144
- package/build/src/v1beta/serving_config_service_client.js +208 -196
- package/build/src/v1beta/serving_config_service_proto_list.json +1 -0
- package/build/src/v1beta/session_service_client.d.ts +2266 -0
- package/build/src/v1beta/session_service_client.js +3136 -0
- package/build/src/v1beta/session_service_client_config.json +63 -0
- package/build/src/v1beta/session_service_proto_list.json +45 -0
- package/build/src/v1beta/site_search_engine_service_client.d.ts +144 -144
- package/build/src/v1beta/site_search_engine_service_client.js +215 -197
- package/build/src/v1beta/site_search_engine_service_proto_list.json +1 -0
- package/build/src/v1beta/user_event_service_client.d.ts +144 -144
- package/build/src/v1beta/user_event_service_client.js +209 -197
- package/build/src/v1beta/user_event_service_proto_list.json +1 -0
- package/package.json +7 -7
- package/CHANGELOG.md +0 -274
@@ -176,16 +176,16 @@ class SearchTuningServiceClient {
|
|
176
176
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
177
177
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
178
178
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
179
|
-
projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
180
179
|
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
180
|
+
projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
181
181
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
182
182
|
projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
183
183
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
184
184
|
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
185
185
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
186
186
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
187
|
-
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
188
187
|
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
188
|
+
projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
189
189
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
190
190
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
191
191
|
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -195,15 +195,15 @@ class SearchTuningServiceClient {
|
|
195
195
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
196
196
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
197
197
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
198
|
-
projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
199
198
|
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
199
|
+
projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
200
200
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
201
201
|
projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
202
202
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
203
203
|
sampleQueryPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}'),
|
204
204
|
sampleQuerySetPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}'),
|
205
205
|
};
|
206
|
-
const protoFilesRoot = this._gaxModule.
|
206
|
+
const protoFilesRoot = this._gaxModule.protobufFromJSON(jsonProtos);
|
207
207
|
// This API contains "long-running operations", which return a
|
208
208
|
// an Operation object that allows for tracking of the operation,
|
209
209
|
// rather than holding a request open.
|
@@ -363,6 +363,12 @@ class SearchTuningServiceClient {
|
|
363
363
|
?.then(([response, options, rawResponse]) => {
|
364
364
|
this._log.info('listCustomModels response %j', response);
|
365
365
|
return [response, options, rawResponse];
|
366
|
+
}).catch((error) => {
|
367
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
368
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
369
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
370
|
+
}
|
371
|
+
throw error;
|
366
372
|
});
|
367
373
|
}
|
368
374
|
trainCustomModel(request, optionsOrCallback, callback) {
|
@@ -1453,154 +1459,154 @@ class SearchTuningServiceClient {
|
|
1453
1459
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1454
1460
|
}
|
1455
1461
|
/**
|
1456
|
-
* Return a fully-qualified
|
1462
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1457
1463
|
*
|
1458
1464
|
* @param {string} project
|
1459
1465
|
* @param {string} location
|
1460
1466
|
* @param {string} collection
|
1461
1467
|
* @param {string} data_store
|
1462
1468
|
* @param {string} session
|
1469
|
+
* @param {string} answer
|
1463
1470
|
* @returns {string} Resource name string.
|
1464
1471
|
*/
|
1465
|
-
|
1466
|
-
return this.pathTemplates.
|
1472
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1473
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1467
1474
|
project: project,
|
1468
1475
|
location: location,
|
1469
1476
|
collection: collection,
|
1470
1477
|
data_store: dataStore,
|
1471
1478
|
session: session,
|
1479
|
+
answer: answer,
|
1472
1480
|
});
|
1473
1481
|
}
|
1474
1482
|
/**
|
1475
|
-
* Parse the project from
|
1483
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1476
1484
|
*
|
1477
|
-
* @param {string}
|
1478
|
-
* A fully-qualified path representing
|
1485
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1486
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1479
1487
|
* @returns {string} A string representing the project.
|
1480
1488
|
*/
|
1481
|
-
|
1482
|
-
return this.pathTemplates.
|
1489
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1490
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1483
1491
|
}
|
1484
1492
|
/**
|
1485
|
-
* Parse the location from
|
1493
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1486
1494
|
*
|
1487
|
-
* @param {string}
|
1488
|
-
* A fully-qualified path representing
|
1495
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1496
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1489
1497
|
* @returns {string} A string representing the location.
|
1490
1498
|
*/
|
1491
|
-
|
1492
|
-
return this.pathTemplates.
|
1499
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1500
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1493
1501
|
}
|
1494
1502
|
/**
|
1495
|
-
* Parse the collection from
|
1503
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1496
1504
|
*
|
1497
|
-
* @param {string}
|
1498
|
-
* A fully-qualified path representing
|
1505
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1506
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1499
1507
|
* @returns {string} A string representing the collection.
|
1500
1508
|
*/
|
1501
|
-
|
1502
|
-
return this.pathTemplates.
|
1509
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1510
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1503
1511
|
}
|
1504
1512
|
/**
|
1505
|
-
* Parse the data_store from
|
1513
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1506
1514
|
*
|
1507
|
-
* @param {string}
|
1508
|
-
* A fully-qualified path representing
|
1515
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1516
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1509
1517
|
* @returns {string} A string representing the data_store.
|
1510
1518
|
*/
|
1511
|
-
|
1512
|
-
return this.pathTemplates.
|
1519
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1520
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1513
1521
|
}
|
1514
1522
|
/**
|
1515
|
-
* Parse the session from
|
1523
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1516
1524
|
*
|
1517
|
-
* @param {string}
|
1518
|
-
* A fully-qualified path representing
|
1525
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1526
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1519
1527
|
* @returns {string} A string representing the session.
|
1520
1528
|
*/
|
1521
|
-
|
1522
|
-
return this.pathTemplates.
|
1529
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1530
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1523
1531
|
}
|
1524
1532
|
/**
|
1525
|
-
*
|
1533
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1534
|
+
*
|
1535
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1536
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1537
|
+
* @returns {string} A string representing the answer.
|
1538
|
+
*/
|
1539
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1540
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1541
|
+
}
|
1542
|
+
/**
|
1543
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
1526
1544
|
*
|
1527
1545
|
* @param {string} project
|
1528
1546
|
* @param {string} location
|
1529
1547
|
* @param {string} collection
|
1530
1548
|
* @param {string} data_store
|
1531
1549
|
* @param {string} session
|
1532
|
-
* @param {string} answer
|
1533
1550
|
* @returns {string} Resource name string.
|
1534
1551
|
*/
|
1535
|
-
|
1536
|
-
return this.pathTemplates.
|
1552
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
1553
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
1537
1554
|
project: project,
|
1538
1555
|
location: location,
|
1539
1556
|
collection: collection,
|
1540
1557
|
data_store: dataStore,
|
1541
1558
|
session: session,
|
1542
|
-
answer: answer,
|
1543
1559
|
});
|
1544
1560
|
}
|
1545
1561
|
/**
|
1546
|
-
* Parse the project from
|
1562
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
1547
1563
|
*
|
1548
|
-
* @param {string}
|
1549
|
-
* A fully-qualified path representing
|
1564
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1565
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1550
1566
|
* @returns {string} A string representing the project.
|
1551
1567
|
*/
|
1552
|
-
|
1553
|
-
return this.pathTemplates.
|
1568
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1569
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
1554
1570
|
}
|
1555
1571
|
/**
|
1556
|
-
* Parse the location from
|
1572
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
1557
1573
|
*
|
1558
|
-
* @param {string}
|
1559
|
-
* A fully-qualified path representing
|
1574
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1575
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1560
1576
|
* @returns {string} A string representing the location.
|
1561
1577
|
*/
|
1562
|
-
|
1563
|
-
return this.pathTemplates.
|
1578
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1579
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
1564
1580
|
}
|
1565
1581
|
/**
|
1566
|
-
* Parse the collection from
|
1582
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
1567
1583
|
*
|
1568
|
-
* @param {string}
|
1569
|
-
* A fully-qualified path representing
|
1584
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1585
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1570
1586
|
* @returns {string} A string representing the collection.
|
1571
1587
|
*/
|
1572
|
-
|
1573
|
-
return this.pathTemplates.
|
1588
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1589
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
1574
1590
|
}
|
1575
1591
|
/**
|
1576
|
-
* Parse the data_store from
|
1592
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
1577
1593
|
*
|
1578
|
-
* @param {string}
|
1579
|
-
* A fully-qualified path representing
|
1594
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1595
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1580
1596
|
* @returns {string} A string representing the data_store.
|
1581
1597
|
*/
|
1582
|
-
|
1583
|
-
return this.pathTemplates.
|
1598
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1599
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
1584
1600
|
}
|
1585
1601
|
/**
|
1586
|
-
* Parse the session from
|
1602
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
1587
1603
|
*
|
1588
|
-
* @param {string}
|
1589
|
-
* A fully-qualified path representing
|
1604
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1605
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1590
1606
|
* @returns {string} A string representing the session.
|
1591
1607
|
*/
|
1592
|
-
|
1593
|
-
return this.pathTemplates.
|
1594
|
-
}
|
1595
|
-
/**
|
1596
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1597
|
-
*
|
1598
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1599
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1600
|
-
* @returns {string} A string representing the answer.
|
1601
|
-
*/
|
1602
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1603
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1608
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1609
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
1604
1610
|
}
|
1605
1611
|
/**
|
1606
1612
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -2005,154 +2011,154 @@ class SearchTuningServiceClient {
|
|
2005
2011
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
2006
2012
|
}
|
2007
2013
|
/**
|
2008
|
-
* Return a fully-qualified
|
2014
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
2009
2015
|
*
|
2010
2016
|
* @param {string} project
|
2011
2017
|
* @param {string} location
|
2012
2018
|
* @param {string} collection
|
2013
2019
|
* @param {string} engine
|
2014
2020
|
* @param {string} session
|
2021
|
+
* @param {string} answer
|
2015
2022
|
* @returns {string} Resource name string.
|
2016
2023
|
*/
|
2017
|
-
|
2018
|
-
return this.pathTemplates.
|
2024
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
2025
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
2019
2026
|
project: project,
|
2020
2027
|
location: location,
|
2021
2028
|
collection: collection,
|
2022
2029
|
engine: engine,
|
2023
2030
|
session: session,
|
2031
|
+
answer: answer,
|
2024
2032
|
});
|
2025
2033
|
}
|
2026
2034
|
/**
|
2027
|
-
* Parse the project from
|
2035
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
2028
2036
|
*
|
2029
|
-
* @param {string}
|
2030
|
-
* A fully-qualified path representing
|
2037
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2038
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2031
2039
|
* @returns {string} A string representing the project.
|
2032
2040
|
*/
|
2033
|
-
|
2034
|
-
return this.pathTemplates.
|
2041
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2042
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
2035
2043
|
}
|
2036
2044
|
/**
|
2037
|
-
* Parse the location from
|
2045
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
2038
2046
|
*
|
2039
|
-
* @param {string}
|
2040
|
-
* A fully-qualified path representing
|
2047
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2048
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2041
2049
|
* @returns {string} A string representing the location.
|
2042
2050
|
*/
|
2043
|
-
|
2044
|
-
return this.pathTemplates.
|
2051
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2052
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
2045
2053
|
}
|
2046
2054
|
/**
|
2047
|
-
* Parse the collection from
|
2055
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
2048
2056
|
*
|
2049
|
-
* @param {string}
|
2050
|
-
* A fully-qualified path representing
|
2057
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2058
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2051
2059
|
* @returns {string} A string representing the collection.
|
2052
2060
|
*/
|
2053
|
-
|
2054
|
-
return this.pathTemplates.
|
2061
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2062
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
2055
2063
|
}
|
2056
2064
|
/**
|
2057
|
-
* Parse the engine from
|
2065
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
2058
2066
|
*
|
2059
|
-
* @param {string}
|
2060
|
-
* A fully-qualified path representing
|
2067
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2068
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2061
2069
|
* @returns {string} A string representing the engine.
|
2062
2070
|
*/
|
2063
|
-
|
2064
|
-
return this.pathTemplates.
|
2071
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2072
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
2065
2073
|
}
|
2066
2074
|
/**
|
2067
|
-
* Parse the session from
|
2075
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
2068
2076
|
*
|
2069
|
-
* @param {string}
|
2070
|
-
* A fully-qualified path representing
|
2077
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2078
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2071
2079
|
* @returns {string} A string representing the session.
|
2072
2080
|
*/
|
2073
|
-
|
2074
|
-
return this.pathTemplates.
|
2081
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2082
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
2075
2083
|
}
|
2076
2084
|
/**
|
2077
|
-
*
|
2085
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2086
|
+
*
|
2087
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2088
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2089
|
+
* @returns {string} A string representing the answer.
|
2090
|
+
*/
|
2091
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2092
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2093
|
+
}
|
2094
|
+
/**
|
2095
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
2078
2096
|
*
|
2079
2097
|
* @param {string} project
|
2080
2098
|
* @param {string} location
|
2081
2099
|
* @param {string} collection
|
2082
2100
|
* @param {string} engine
|
2083
2101
|
* @param {string} session
|
2084
|
-
* @param {string} answer
|
2085
2102
|
* @returns {string} Resource name string.
|
2086
2103
|
*/
|
2087
|
-
|
2088
|
-
return this.pathTemplates.
|
2104
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
2105
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
2089
2106
|
project: project,
|
2090
2107
|
location: location,
|
2091
2108
|
collection: collection,
|
2092
2109
|
engine: engine,
|
2093
2110
|
session: session,
|
2094
|
-
answer: answer,
|
2095
2111
|
});
|
2096
2112
|
}
|
2097
2113
|
/**
|
2098
|
-
* Parse the project from
|
2114
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
2099
2115
|
*
|
2100
|
-
* @param {string}
|
2101
|
-
* A fully-qualified path representing
|
2116
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2117
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2102
2118
|
* @returns {string} A string representing the project.
|
2103
2119
|
*/
|
2104
|
-
|
2105
|
-
return this.pathTemplates.
|
2120
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2121
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
2106
2122
|
}
|
2107
2123
|
/**
|
2108
|
-
* Parse the location from
|
2124
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
2109
2125
|
*
|
2110
|
-
* @param {string}
|
2111
|
-
* A fully-qualified path representing
|
2126
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2127
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2112
2128
|
* @returns {string} A string representing the location.
|
2113
2129
|
*/
|
2114
|
-
|
2115
|
-
return this.pathTemplates.
|
2130
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2131
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
2116
2132
|
}
|
2117
2133
|
/**
|
2118
|
-
* Parse the collection from
|
2134
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
2119
2135
|
*
|
2120
|
-
* @param {string}
|
2121
|
-
* A fully-qualified path representing
|
2136
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2137
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2122
2138
|
* @returns {string} A string representing the collection.
|
2123
2139
|
*/
|
2124
|
-
|
2125
|
-
return this.pathTemplates.
|
2140
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2141
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
2126
2142
|
}
|
2127
2143
|
/**
|
2128
|
-
* Parse the engine from
|
2144
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
2129
2145
|
*
|
2130
|
-
* @param {string}
|
2131
|
-
* A fully-qualified path representing
|
2146
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2147
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2132
2148
|
* @returns {string} A string representing the engine.
|
2133
2149
|
*/
|
2134
|
-
|
2135
|
-
return this.pathTemplates.
|
2150
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2151
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
2136
2152
|
}
|
2137
2153
|
/**
|
2138
|
-
* Parse the session from
|
2154
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
2139
2155
|
*
|
2140
|
-
* @param {string}
|
2141
|
-
* A fully-qualified path representing
|
2156
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2157
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2142
2158
|
* @returns {string} A string representing the session.
|
2143
2159
|
*/
|
2144
|
-
|
2145
|
-
return this.pathTemplates.
|
2146
|
-
}
|
2147
|
-
/**
|
2148
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2149
|
-
*
|
2150
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2151
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2152
|
-
* @returns {string} A string representing the answer.
|
2153
|
-
*/
|
2154
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2155
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2160
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2161
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
2156
2162
|
}
|
2157
2163
|
/**
|
2158
2164
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -2679,63 +2685,6 @@ class SearchTuningServiceClient {
|
|
2679
2685
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2680
2686
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
2681
2687
|
}
|
2682
|
-
/**
|
2683
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
2684
|
-
*
|
2685
|
-
* @param {string} project
|
2686
|
-
* @param {string} location
|
2687
|
-
* @param {string} data_store
|
2688
|
-
* @param {string} session
|
2689
|
-
* @returns {string} Resource name string.
|
2690
|
-
*/
|
2691
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
2692
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
2693
|
-
project: project,
|
2694
|
-
location: location,
|
2695
|
-
data_store: dataStore,
|
2696
|
-
session: session,
|
2697
|
-
});
|
2698
|
-
}
|
2699
|
-
/**
|
2700
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
2701
|
-
*
|
2702
|
-
* @param {string} projectLocationDataStoreSessionName
|
2703
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2704
|
-
* @returns {string} A string representing the project.
|
2705
|
-
*/
|
2706
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2707
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
2708
|
-
}
|
2709
|
-
/**
|
2710
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
2711
|
-
*
|
2712
|
-
* @param {string} projectLocationDataStoreSessionName
|
2713
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2714
|
-
* @returns {string} A string representing the location.
|
2715
|
-
*/
|
2716
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2717
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
2718
|
-
}
|
2719
|
-
/**
|
2720
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
2721
|
-
*
|
2722
|
-
* @param {string} projectLocationDataStoreSessionName
|
2723
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2724
|
-
* @returns {string} A string representing the data_store.
|
2725
|
-
*/
|
2726
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2727
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
2728
|
-
}
|
2729
|
-
/**
|
2730
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
2731
|
-
*
|
2732
|
-
* @param {string} projectLocationDataStoreSessionName
|
2733
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2734
|
-
* @returns {string} A string representing the session.
|
2735
|
-
*/
|
2736
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2737
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
2738
|
-
}
|
2739
2688
|
/**
|
2740
2689
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
2741
2690
|
*
|
@@ -2805,6 +2754,63 @@ class SearchTuningServiceClient {
|
|
2805
2754
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2806
2755
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
2807
2756
|
}
|
2757
|
+
/**
|
2758
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
2759
|
+
*
|
2760
|
+
* @param {string} project
|
2761
|
+
* @param {string} location
|
2762
|
+
* @param {string} data_store
|
2763
|
+
* @param {string} session
|
2764
|
+
* @returns {string} Resource name string.
|
2765
|
+
*/
|
2766
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
2767
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
2768
|
+
project: project,
|
2769
|
+
location: location,
|
2770
|
+
data_store: dataStore,
|
2771
|
+
session: session,
|
2772
|
+
});
|
2773
|
+
}
|
2774
|
+
/**
|
2775
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
2776
|
+
*
|
2777
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2778
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2779
|
+
* @returns {string} A string representing the project.
|
2780
|
+
*/
|
2781
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2782
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
2783
|
+
}
|
2784
|
+
/**
|
2785
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
2786
|
+
*
|
2787
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2788
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2789
|
+
* @returns {string} A string representing the location.
|
2790
|
+
*/
|
2791
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2792
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
2793
|
+
}
|
2794
|
+
/**
|
2795
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
2796
|
+
*
|
2797
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2798
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2799
|
+
* @returns {string} A string representing the data_store.
|
2800
|
+
*/
|
2801
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2802
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
2803
|
+
}
|
2804
|
+
/**
|
2805
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
2806
|
+
*
|
2807
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2808
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2809
|
+
* @returns {string} A string representing the session.
|
2810
|
+
*/
|
2811
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2812
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
2813
|
+
}
|
2808
2814
|
/**
|
2809
2815
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
2810
2816
|
*
|