@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
@@ -178,16 +178,16 @@ class EngineServiceClient {
|
|
178
178
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
179
179
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
180
180
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
181
|
-
projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
182
181
|
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
182
|
+
projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
183
183
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
184
184
|
projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
185
185
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
186
186
|
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
187
187
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
188
188
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
189
|
-
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
190
189
|
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
190
|
+
projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
191
191
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
192
192
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
193
193
|
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -197,8 +197,8 @@ class EngineServiceClient {
|
|
197
197
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
198
198
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
199
199
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
200
|
-
projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
201
200
|
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
201
|
+
projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
202
202
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
203
203
|
projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
204
204
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
@@ -211,7 +211,7 @@ class EngineServiceClient {
|
|
211
211
|
this.descriptors.page = {
|
212
212
|
listEngines: new this._gaxModule.PageDescriptor('pageToken', 'nextPageToken', 'engines')
|
213
213
|
};
|
214
|
-
const protoFilesRoot = this._gaxModule.
|
214
|
+
const protoFilesRoot = this._gaxModule.protobufFromJSON(jsonProtos);
|
215
215
|
// This API contains "long-running operations", which return a
|
216
216
|
// an Operation object that allows for tracking of the operation,
|
217
217
|
// rather than holding a request open.
|
@@ -378,6 +378,12 @@ class EngineServiceClient {
|
|
378
378
|
?.then(([response, options, rawResponse]) => {
|
379
379
|
this._log.info('updateEngine response %j', response);
|
380
380
|
return [response, options, rawResponse];
|
381
|
+
}).catch((error) => {
|
382
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
383
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
384
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
385
|
+
}
|
386
|
+
throw error;
|
381
387
|
});
|
382
388
|
}
|
383
389
|
getEngine(request, optionsOrCallback, callback) {
|
@@ -408,6 +414,12 @@ class EngineServiceClient {
|
|
408
414
|
?.then(([response, options, rawResponse]) => {
|
409
415
|
this._log.info('getEngine response %j', response);
|
410
416
|
return [response, options, rawResponse];
|
417
|
+
}).catch((error) => {
|
418
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
419
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
420
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
421
|
+
}
|
422
|
+
throw error;
|
411
423
|
});
|
412
424
|
}
|
413
425
|
pauseEngine(request, optionsOrCallback, callback) {
|
@@ -438,6 +450,12 @@ class EngineServiceClient {
|
|
438
450
|
?.then(([response, options, rawResponse]) => {
|
439
451
|
this._log.info('pauseEngine response %j', response);
|
440
452
|
return [response, options, rawResponse];
|
453
|
+
}).catch((error) => {
|
454
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
455
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
456
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
457
|
+
}
|
458
|
+
throw error;
|
441
459
|
});
|
442
460
|
}
|
443
461
|
resumeEngine(request, optionsOrCallback, callback) {
|
@@ -468,6 +486,12 @@ class EngineServiceClient {
|
|
468
486
|
?.then(([response, options, rawResponse]) => {
|
469
487
|
this._log.info('resumeEngine response %j', response);
|
470
488
|
return [response, options, rawResponse];
|
489
|
+
}).catch((error) => {
|
490
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
491
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
492
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
493
|
+
}
|
494
|
+
throw error;
|
471
495
|
});
|
472
496
|
}
|
473
497
|
createEngine(request, optionsOrCallback, callback) {
|
@@ -1811,154 +1835,154 @@ class EngineServiceClient {
|
|
1811
1835
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1812
1836
|
}
|
1813
1837
|
/**
|
1814
|
-
* Return a fully-qualified
|
1838
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1815
1839
|
*
|
1816
1840
|
* @param {string} project
|
1817
1841
|
* @param {string} location
|
1818
1842
|
* @param {string} collection
|
1819
1843
|
* @param {string} data_store
|
1820
1844
|
* @param {string} session
|
1845
|
+
* @param {string} answer
|
1821
1846
|
* @returns {string} Resource name string.
|
1822
1847
|
*/
|
1823
|
-
|
1824
|
-
return this.pathTemplates.
|
1848
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1849
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1825
1850
|
project: project,
|
1826
1851
|
location: location,
|
1827
1852
|
collection: collection,
|
1828
1853
|
data_store: dataStore,
|
1829
1854
|
session: session,
|
1855
|
+
answer: answer,
|
1830
1856
|
});
|
1831
1857
|
}
|
1832
1858
|
/**
|
1833
|
-
* Parse the project from
|
1859
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1834
1860
|
*
|
1835
|
-
* @param {string}
|
1836
|
-
* A fully-qualified path representing
|
1861
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1862
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1837
1863
|
* @returns {string} A string representing the project.
|
1838
1864
|
*/
|
1839
|
-
|
1840
|
-
return this.pathTemplates.
|
1865
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1866
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1841
1867
|
}
|
1842
1868
|
/**
|
1843
|
-
* Parse the location from
|
1869
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1844
1870
|
*
|
1845
|
-
* @param {string}
|
1846
|
-
* A fully-qualified path representing
|
1871
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1872
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1847
1873
|
* @returns {string} A string representing the location.
|
1848
1874
|
*/
|
1849
|
-
|
1850
|
-
return this.pathTemplates.
|
1875
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1876
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1851
1877
|
}
|
1852
1878
|
/**
|
1853
|
-
* Parse the collection from
|
1879
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1854
1880
|
*
|
1855
|
-
* @param {string}
|
1856
|
-
* A fully-qualified path representing
|
1881
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1882
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1857
1883
|
* @returns {string} A string representing the collection.
|
1858
1884
|
*/
|
1859
|
-
|
1860
|
-
return this.pathTemplates.
|
1885
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1886
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1861
1887
|
}
|
1862
1888
|
/**
|
1863
|
-
* Parse the data_store from
|
1889
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1864
1890
|
*
|
1865
|
-
* @param {string}
|
1866
|
-
* A fully-qualified path representing
|
1891
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1892
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1867
1893
|
* @returns {string} A string representing the data_store.
|
1868
1894
|
*/
|
1869
|
-
|
1870
|
-
return this.pathTemplates.
|
1895
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1896
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1871
1897
|
}
|
1872
1898
|
/**
|
1873
|
-
* Parse the session from
|
1899
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1874
1900
|
*
|
1875
|
-
* @param {string}
|
1876
|
-
* A fully-qualified path representing
|
1901
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1902
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1877
1903
|
* @returns {string} A string representing the session.
|
1878
1904
|
*/
|
1879
|
-
|
1880
|
-
return this.pathTemplates.
|
1905
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1906
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1881
1907
|
}
|
1882
1908
|
/**
|
1883
|
-
*
|
1909
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1910
|
+
*
|
1911
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1912
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1913
|
+
* @returns {string} A string representing the answer.
|
1914
|
+
*/
|
1915
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1916
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1917
|
+
}
|
1918
|
+
/**
|
1919
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
1884
1920
|
*
|
1885
1921
|
* @param {string} project
|
1886
1922
|
* @param {string} location
|
1887
1923
|
* @param {string} collection
|
1888
1924
|
* @param {string} data_store
|
1889
1925
|
* @param {string} session
|
1890
|
-
* @param {string} answer
|
1891
1926
|
* @returns {string} Resource name string.
|
1892
1927
|
*/
|
1893
|
-
|
1894
|
-
return this.pathTemplates.
|
1928
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
1929
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
1895
1930
|
project: project,
|
1896
1931
|
location: location,
|
1897
1932
|
collection: collection,
|
1898
1933
|
data_store: dataStore,
|
1899
1934
|
session: session,
|
1900
|
-
answer: answer,
|
1901
1935
|
});
|
1902
1936
|
}
|
1903
1937
|
/**
|
1904
|
-
* Parse the project from
|
1938
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
1905
1939
|
*
|
1906
|
-
* @param {string}
|
1907
|
-
* A fully-qualified path representing
|
1940
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1941
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1908
1942
|
* @returns {string} A string representing the project.
|
1909
1943
|
*/
|
1910
|
-
|
1911
|
-
return this.pathTemplates.
|
1944
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1945
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
1912
1946
|
}
|
1913
1947
|
/**
|
1914
|
-
* Parse the location from
|
1948
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
1915
1949
|
*
|
1916
|
-
* @param {string}
|
1917
|
-
* A fully-qualified path representing
|
1950
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1951
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1918
1952
|
* @returns {string} A string representing the location.
|
1919
1953
|
*/
|
1920
|
-
|
1921
|
-
return this.pathTemplates.
|
1954
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1955
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
1922
1956
|
}
|
1923
1957
|
/**
|
1924
|
-
* Parse the collection from
|
1958
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
1925
1959
|
*
|
1926
|
-
* @param {string}
|
1927
|
-
* A fully-qualified path representing
|
1960
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1961
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1928
1962
|
* @returns {string} A string representing the collection.
|
1929
1963
|
*/
|
1930
|
-
|
1931
|
-
return this.pathTemplates.
|
1964
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1965
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
1932
1966
|
}
|
1933
1967
|
/**
|
1934
|
-
* Parse the data_store from
|
1968
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
1935
1969
|
*
|
1936
|
-
* @param {string}
|
1937
|
-
* A fully-qualified path representing
|
1970
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1971
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1938
1972
|
* @returns {string} A string representing the data_store.
|
1939
1973
|
*/
|
1940
|
-
|
1941
|
-
return this.pathTemplates.
|
1974
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1975
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
1942
1976
|
}
|
1943
1977
|
/**
|
1944
|
-
* Parse the session from
|
1978
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
1945
1979
|
*
|
1946
|
-
* @param {string}
|
1947
|
-
* A fully-qualified path representing
|
1980
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1981
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1948
1982
|
* @returns {string} A string representing the session.
|
1949
1983
|
*/
|
1950
|
-
|
1951
|
-
return this.pathTemplates.
|
1952
|
-
}
|
1953
|
-
/**
|
1954
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1955
|
-
*
|
1956
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1957
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1958
|
-
* @returns {string} A string representing the answer.
|
1959
|
-
*/
|
1960
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1961
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1984
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1985
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
1962
1986
|
}
|
1963
1987
|
/**
|
1964
1988
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -2363,154 +2387,154 @@ class EngineServiceClient {
|
|
2363
2387
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
2364
2388
|
}
|
2365
2389
|
/**
|
2366
|
-
* Return a fully-qualified
|
2390
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
2367
2391
|
*
|
2368
2392
|
* @param {string} project
|
2369
2393
|
* @param {string} location
|
2370
2394
|
* @param {string} collection
|
2371
2395
|
* @param {string} engine
|
2372
2396
|
* @param {string} session
|
2397
|
+
* @param {string} answer
|
2373
2398
|
* @returns {string} Resource name string.
|
2374
2399
|
*/
|
2375
|
-
|
2376
|
-
return this.pathTemplates.
|
2400
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
2401
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
2377
2402
|
project: project,
|
2378
2403
|
location: location,
|
2379
2404
|
collection: collection,
|
2380
2405
|
engine: engine,
|
2381
2406
|
session: session,
|
2407
|
+
answer: answer,
|
2382
2408
|
});
|
2383
2409
|
}
|
2384
2410
|
/**
|
2385
|
-
* Parse the project from
|
2411
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
2386
2412
|
*
|
2387
|
-
* @param {string}
|
2388
|
-
* A fully-qualified path representing
|
2413
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2414
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2389
2415
|
* @returns {string} A string representing the project.
|
2390
2416
|
*/
|
2391
|
-
|
2392
|
-
return this.pathTemplates.
|
2417
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2418
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
2393
2419
|
}
|
2394
2420
|
/**
|
2395
|
-
* Parse the location from
|
2421
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
2396
2422
|
*
|
2397
|
-
* @param {string}
|
2398
|
-
* A fully-qualified path representing
|
2423
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2424
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2399
2425
|
* @returns {string} A string representing the location.
|
2400
2426
|
*/
|
2401
|
-
|
2402
|
-
return this.pathTemplates.
|
2427
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2428
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
2403
2429
|
}
|
2404
2430
|
/**
|
2405
|
-
* Parse the collection from
|
2431
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
2406
2432
|
*
|
2407
|
-
* @param {string}
|
2408
|
-
* A fully-qualified path representing
|
2433
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2434
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2409
2435
|
* @returns {string} A string representing the collection.
|
2410
2436
|
*/
|
2411
|
-
|
2412
|
-
return this.pathTemplates.
|
2437
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2438
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
2413
2439
|
}
|
2414
2440
|
/**
|
2415
|
-
* Parse the engine from
|
2441
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
2416
2442
|
*
|
2417
|
-
* @param {string}
|
2418
|
-
* A fully-qualified path representing
|
2443
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2444
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2419
2445
|
* @returns {string} A string representing the engine.
|
2420
2446
|
*/
|
2421
|
-
|
2422
|
-
return this.pathTemplates.
|
2447
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2448
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
2423
2449
|
}
|
2424
2450
|
/**
|
2425
|
-
* Parse the session from
|
2451
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
2426
2452
|
*
|
2427
|
-
* @param {string}
|
2428
|
-
* A fully-qualified path representing
|
2453
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2454
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2429
2455
|
* @returns {string} A string representing the session.
|
2430
2456
|
*/
|
2431
|
-
|
2432
|
-
return this.pathTemplates.
|
2457
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2458
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
2433
2459
|
}
|
2434
2460
|
/**
|
2435
|
-
*
|
2461
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2462
|
+
*
|
2463
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2464
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2465
|
+
* @returns {string} A string representing the answer.
|
2466
|
+
*/
|
2467
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2468
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2469
|
+
}
|
2470
|
+
/**
|
2471
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
2436
2472
|
*
|
2437
2473
|
* @param {string} project
|
2438
2474
|
* @param {string} location
|
2439
2475
|
* @param {string} collection
|
2440
2476
|
* @param {string} engine
|
2441
2477
|
* @param {string} session
|
2442
|
-
* @param {string} answer
|
2443
2478
|
* @returns {string} Resource name string.
|
2444
2479
|
*/
|
2445
|
-
|
2446
|
-
return this.pathTemplates.
|
2480
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
2481
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
2447
2482
|
project: project,
|
2448
2483
|
location: location,
|
2449
2484
|
collection: collection,
|
2450
2485
|
engine: engine,
|
2451
2486
|
session: session,
|
2452
|
-
answer: answer,
|
2453
2487
|
});
|
2454
2488
|
}
|
2455
2489
|
/**
|
2456
|
-
* Parse the project from
|
2490
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
2457
2491
|
*
|
2458
|
-
* @param {string}
|
2459
|
-
* A fully-qualified path representing
|
2492
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2493
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2460
2494
|
* @returns {string} A string representing the project.
|
2461
2495
|
*/
|
2462
|
-
|
2463
|
-
return this.pathTemplates.
|
2496
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2497
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
2464
2498
|
}
|
2465
2499
|
/**
|
2466
|
-
* Parse the location from
|
2500
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
2467
2501
|
*
|
2468
|
-
* @param {string}
|
2469
|
-
* A fully-qualified path representing
|
2502
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2503
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2470
2504
|
* @returns {string} A string representing the location.
|
2471
2505
|
*/
|
2472
|
-
|
2473
|
-
return this.pathTemplates.
|
2506
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2507
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
2474
2508
|
}
|
2475
2509
|
/**
|
2476
|
-
* Parse the collection from
|
2510
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
2477
2511
|
*
|
2478
|
-
* @param {string}
|
2479
|
-
* A fully-qualified path representing
|
2512
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2513
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2480
2514
|
* @returns {string} A string representing the collection.
|
2481
2515
|
*/
|
2482
|
-
|
2483
|
-
return this.pathTemplates.
|
2516
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2517
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
2484
2518
|
}
|
2485
2519
|
/**
|
2486
|
-
* Parse the engine from
|
2520
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
2487
2521
|
*
|
2488
|
-
* @param {string}
|
2489
|
-
* A fully-qualified path representing
|
2522
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2523
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2490
2524
|
* @returns {string} A string representing the engine.
|
2491
2525
|
*/
|
2492
|
-
|
2493
|
-
return this.pathTemplates.
|
2526
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2527
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
2494
2528
|
}
|
2495
2529
|
/**
|
2496
|
-
* Parse the session from
|
2530
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
2497
2531
|
*
|
2498
|
-
* @param {string}
|
2499
|
-
* A fully-qualified path representing
|
2532
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2533
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2500
2534
|
* @returns {string} A string representing the session.
|
2501
2535
|
*/
|
2502
|
-
|
2503
|
-
return this.pathTemplates.
|
2504
|
-
}
|
2505
|
-
/**
|
2506
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2507
|
-
*
|
2508
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2509
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2510
|
-
* @returns {string} A string representing the answer.
|
2511
|
-
*/
|
2512
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2513
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2536
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2537
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
2514
2538
|
}
|
2515
2539
|
/**
|
2516
2540
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -3037,63 +3061,6 @@ class EngineServiceClient {
|
|
3037
3061
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
3038
3062
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
3039
3063
|
}
|
3040
|
-
/**
|
3041
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
3042
|
-
*
|
3043
|
-
* @param {string} project
|
3044
|
-
* @param {string} location
|
3045
|
-
* @param {string} data_store
|
3046
|
-
* @param {string} session
|
3047
|
-
* @returns {string} Resource name string.
|
3048
|
-
*/
|
3049
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
3050
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
3051
|
-
project: project,
|
3052
|
-
location: location,
|
3053
|
-
data_store: dataStore,
|
3054
|
-
session: session,
|
3055
|
-
});
|
3056
|
-
}
|
3057
|
-
/**
|
3058
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
3059
|
-
*
|
3060
|
-
* @param {string} projectLocationDataStoreSessionName
|
3061
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3062
|
-
* @returns {string} A string representing the project.
|
3063
|
-
*/
|
3064
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3065
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
3066
|
-
}
|
3067
|
-
/**
|
3068
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
3069
|
-
*
|
3070
|
-
* @param {string} projectLocationDataStoreSessionName
|
3071
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3072
|
-
* @returns {string} A string representing the location.
|
3073
|
-
*/
|
3074
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3075
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
3076
|
-
}
|
3077
|
-
/**
|
3078
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
3079
|
-
*
|
3080
|
-
* @param {string} projectLocationDataStoreSessionName
|
3081
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3082
|
-
* @returns {string} A string representing the data_store.
|
3083
|
-
*/
|
3084
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3085
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
3086
|
-
}
|
3087
|
-
/**
|
3088
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
3089
|
-
*
|
3090
|
-
* @param {string} projectLocationDataStoreSessionName
|
3091
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3092
|
-
* @returns {string} A string representing the session.
|
3093
|
-
*/
|
3094
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3095
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
3096
|
-
}
|
3097
3064
|
/**
|
3098
3065
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
3099
3066
|
*
|
@@ -3163,6 +3130,63 @@ class EngineServiceClient {
|
|
3163
3130
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
3164
3131
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
3165
3132
|
}
|
3133
|
+
/**
|
3134
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
3135
|
+
*
|
3136
|
+
* @param {string} project
|
3137
|
+
* @param {string} location
|
3138
|
+
* @param {string} data_store
|
3139
|
+
* @param {string} session
|
3140
|
+
* @returns {string} Resource name string.
|
3141
|
+
*/
|
3142
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
3143
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
3144
|
+
project: project,
|
3145
|
+
location: location,
|
3146
|
+
data_store: dataStore,
|
3147
|
+
session: session,
|
3148
|
+
});
|
3149
|
+
}
|
3150
|
+
/**
|
3151
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
3152
|
+
*
|
3153
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3154
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3155
|
+
* @returns {string} A string representing the project.
|
3156
|
+
*/
|
3157
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3158
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
3159
|
+
}
|
3160
|
+
/**
|
3161
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
3162
|
+
*
|
3163
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3164
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3165
|
+
* @returns {string} A string representing the location.
|
3166
|
+
*/
|
3167
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3168
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
3169
|
+
}
|
3170
|
+
/**
|
3171
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
3172
|
+
*
|
3173
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3174
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3175
|
+
* @returns {string} A string representing the data_store.
|
3176
|
+
*/
|
3177
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3178
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
3179
|
+
}
|
3180
|
+
/**
|
3181
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
3182
|
+
*
|
3183
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3184
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3185
|
+
* @returns {string} A string representing the session.
|
3186
|
+
*/
|
3187
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3188
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
3189
|
+
}
|
3166
3190
|
/**
|
3167
3191
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
3168
3192
|
*
|