@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
@@ -175,16 +175,16 @@ class RecommendationServiceClient {
|
|
175
175
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
176
176
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
177
177
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
178
|
-
projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
179
178
|
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
179
|
+
projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
180
180
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
181
181
|
projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
182
182
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
183
183
|
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
184
184
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
185
185
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
186
|
-
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
187
186
|
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
187
|
+
projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
188
188
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
189
189
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
190
190
|
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -194,8 +194,8 @@ class RecommendationServiceClient {
|
|
194
194
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
195
195
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
196
196
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
197
|
-
projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
198
197
|
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
198
|
+
projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
199
199
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
200
200
|
projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
201
201
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
@@ -340,6 +340,12 @@ class RecommendationServiceClient {
|
|
340
340
|
?.then(([response, options, rawResponse]) => {
|
341
341
|
this._log.info('recommend response %j', response);
|
342
342
|
return [response, options, rawResponse];
|
343
|
+
}).catch((error) => {
|
344
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
345
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
346
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
347
|
+
}
|
348
|
+
throw error;
|
343
349
|
});
|
344
350
|
}
|
345
351
|
/**
|
@@ -1202,154 +1208,154 @@ class RecommendationServiceClient {
|
|
1202
1208
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1203
1209
|
}
|
1204
1210
|
/**
|
1205
|
-
* Return a fully-qualified
|
1211
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1206
1212
|
*
|
1207
1213
|
* @param {string} project
|
1208
1214
|
* @param {string} location
|
1209
1215
|
* @param {string} collection
|
1210
1216
|
* @param {string} data_store
|
1211
1217
|
* @param {string} session
|
1218
|
+
* @param {string} answer
|
1212
1219
|
* @returns {string} Resource name string.
|
1213
1220
|
*/
|
1214
|
-
|
1215
|
-
return this.pathTemplates.
|
1221
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1222
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1216
1223
|
project: project,
|
1217
1224
|
location: location,
|
1218
1225
|
collection: collection,
|
1219
1226
|
data_store: dataStore,
|
1220
1227
|
session: session,
|
1228
|
+
answer: answer,
|
1221
1229
|
});
|
1222
1230
|
}
|
1223
1231
|
/**
|
1224
|
-
* Parse the project from
|
1232
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1225
1233
|
*
|
1226
|
-
* @param {string}
|
1227
|
-
* A fully-qualified path representing
|
1234
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1235
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1228
1236
|
* @returns {string} A string representing the project.
|
1229
1237
|
*/
|
1230
|
-
|
1231
|
-
return this.pathTemplates.
|
1238
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1239
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1232
1240
|
}
|
1233
1241
|
/**
|
1234
|
-
* Parse the location from
|
1242
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1235
1243
|
*
|
1236
|
-
* @param {string}
|
1237
|
-
* A fully-qualified path representing
|
1244
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1245
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1238
1246
|
* @returns {string} A string representing the location.
|
1239
1247
|
*/
|
1240
|
-
|
1241
|
-
return this.pathTemplates.
|
1248
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1249
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1242
1250
|
}
|
1243
1251
|
/**
|
1244
|
-
* Parse the collection from
|
1252
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1245
1253
|
*
|
1246
|
-
* @param {string}
|
1247
|
-
* A fully-qualified path representing
|
1254
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1255
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1248
1256
|
* @returns {string} A string representing the collection.
|
1249
1257
|
*/
|
1250
|
-
|
1251
|
-
return this.pathTemplates.
|
1258
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1259
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1252
1260
|
}
|
1253
1261
|
/**
|
1254
|
-
* Parse the data_store from
|
1262
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1255
1263
|
*
|
1256
|
-
* @param {string}
|
1257
|
-
* A fully-qualified path representing
|
1264
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1265
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1258
1266
|
* @returns {string} A string representing the data_store.
|
1259
1267
|
*/
|
1260
|
-
|
1261
|
-
return this.pathTemplates.
|
1268
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1269
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1262
1270
|
}
|
1263
1271
|
/**
|
1264
|
-
* Parse the session from
|
1272
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1265
1273
|
*
|
1266
|
-
* @param {string}
|
1267
|
-
* A fully-qualified path representing
|
1274
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1275
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1268
1276
|
* @returns {string} A string representing the session.
|
1269
1277
|
*/
|
1270
|
-
|
1271
|
-
return this.pathTemplates.
|
1278
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1279
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1272
1280
|
}
|
1273
1281
|
/**
|
1274
|
-
*
|
1282
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1283
|
+
*
|
1284
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1285
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1286
|
+
* @returns {string} A string representing the answer.
|
1287
|
+
*/
|
1288
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1289
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1290
|
+
}
|
1291
|
+
/**
|
1292
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
1275
1293
|
*
|
1276
1294
|
* @param {string} project
|
1277
1295
|
* @param {string} location
|
1278
1296
|
* @param {string} collection
|
1279
1297
|
* @param {string} data_store
|
1280
1298
|
* @param {string} session
|
1281
|
-
* @param {string} answer
|
1282
1299
|
* @returns {string} Resource name string.
|
1283
1300
|
*/
|
1284
|
-
|
1285
|
-
return this.pathTemplates.
|
1301
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
1302
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
1286
1303
|
project: project,
|
1287
1304
|
location: location,
|
1288
1305
|
collection: collection,
|
1289
1306
|
data_store: dataStore,
|
1290
1307
|
session: session,
|
1291
|
-
answer: answer,
|
1292
1308
|
});
|
1293
1309
|
}
|
1294
1310
|
/**
|
1295
|
-
* Parse the project from
|
1311
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
1296
1312
|
*
|
1297
|
-
* @param {string}
|
1298
|
-
* A fully-qualified path representing
|
1313
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1314
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1299
1315
|
* @returns {string} A string representing the project.
|
1300
1316
|
*/
|
1301
|
-
|
1302
|
-
return this.pathTemplates.
|
1317
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1318
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
1303
1319
|
}
|
1304
1320
|
/**
|
1305
|
-
* Parse the location from
|
1321
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
1306
1322
|
*
|
1307
|
-
* @param {string}
|
1308
|
-
* A fully-qualified path representing
|
1323
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1324
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1309
1325
|
* @returns {string} A string representing the location.
|
1310
1326
|
*/
|
1311
|
-
|
1312
|
-
return this.pathTemplates.
|
1327
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1328
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
1313
1329
|
}
|
1314
1330
|
/**
|
1315
|
-
* Parse the collection from
|
1331
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
1316
1332
|
*
|
1317
|
-
* @param {string}
|
1318
|
-
* A fully-qualified path representing
|
1333
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1334
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1319
1335
|
* @returns {string} A string representing the collection.
|
1320
1336
|
*/
|
1321
|
-
|
1322
|
-
return this.pathTemplates.
|
1337
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1338
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
1323
1339
|
}
|
1324
1340
|
/**
|
1325
|
-
* Parse the data_store from
|
1341
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
1326
1342
|
*
|
1327
|
-
* @param {string}
|
1328
|
-
* A fully-qualified path representing
|
1343
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1344
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1329
1345
|
* @returns {string} A string representing the data_store.
|
1330
1346
|
*/
|
1331
|
-
|
1332
|
-
return this.pathTemplates.
|
1347
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1348
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
1333
1349
|
}
|
1334
1350
|
/**
|
1335
|
-
* Parse the session from
|
1351
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
1336
1352
|
*
|
1337
|
-
* @param {string}
|
1338
|
-
* A fully-qualified path representing
|
1353
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1354
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1339
1355
|
* @returns {string} A string representing the session.
|
1340
1356
|
*/
|
1341
|
-
|
1342
|
-
return this.pathTemplates.
|
1343
|
-
}
|
1344
|
-
/**
|
1345
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1346
|
-
*
|
1347
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1348
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1349
|
-
* @returns {string} A string representing the answer.
|
1350
|
-
*/
|
1351
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1352
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1357
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1358
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
1353
1359
|
}
|
1354
1360
|
/**
|
1355
1361
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -1754,154 +1760,154 @@ class RecommendationServiceClient {
|
|
1754
1760
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
1755
1761
|
}
|
1756
1762
|
/**
|
1757
|
-
* Return a fully-qualified
|
1763
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
1758
1764
|
*
|
1759
1765
|
* @param {string} project
|
1760
1766
|
* @param {string} location
|
1761
1767
|
* @param {string} collection
|
1762
1768
|
* @param {string} engine
|
1763
1769
|
* @param {string} session
|
1770
|
+
* @param {string} answer
|
1764
1771
|
* @returns {string} Resource name string.
|
1765
1772
|
*/
|
1766
|
-
|
1767
|
-
return this.pathTemplates.
|
1773
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
1774
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
1768
1775
|
project: project,
|
1769
1776
|
location: location,
|
1770
1777
|
collection: collection,
|
1771
1778
|
engine: engine,
|
1772
1779
|
session: session,
|
1780
|
+
answer: answer,
|
1773
1781
|
});
|
1774
1782
|
}
|
1775
1783
|
/**
|
1776
|
-
* Parse the project from
|
1784
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
1777
1785
|
*
|
1778
|
-
* @param {string}
|
1779
|
-
* A fully-qualified path representing
|
1786
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1787
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1780
1788
|
* @returns {string} A string representing the project.
|
1781
1789
|
*/
|
1782
|
-
|
1783
|
-
return this.pathTemplates.
|
1790
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1791
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
1784
1792
|
}
|
1785
1793
|
/**
|
1786
|
-
* Parse the location from
|
1794
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
1787
1795
|
*
|
1788
|
-
* @param {string}
|
1789
|
-
* A fully-qualified path representing
|
1796
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1797
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1790
1798
|
* @returns {string} A string representing the location.
|
1791
1799
|
*/
|
1792
|
-
|
1793
|
-
return this.pathTemplates.
|
1800
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1801
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
1794
1802
|
}
|
1795
1803
|
/**
|
1796
|
-
* Parse the collection from
|
1804
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
1797
1805
|
*
|
1798
|
-
* @param {string}
|
1799
|
-
* A fully-qualified path representing
|
1806
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1807
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1800
1808
|
* @returns {string} A string representing the collection.
|
1801
1809
|
*/
|
1802
|
-
|
1803
|
-
return this.pathTemplates.
|
1810
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1811
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
1804
1812
|
}
|
1805
1813
|
/**
|
1806
|
-
* Parse the engine from
|
1814
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
1807
1815
|
*
|
1808
|
-
* @param {string}
|
1809
|
-
* A fully-qualified path representing
|
1816
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1817
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1810
1818
|
* @returns {string} A string representing the engine.
|
1811
1819
|
*/
|
1812
|
-
|
1813
|
-
return this.pathTemplates.
|
1820
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1821
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
1814
1822
|
}
|
1815
1823
|
/**
|
1816
|
-
* Parse the session from
|
1824
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
1817
1825
|
*
|
1818
|
-
* @param {string}
|
1819
|
-
* A fully-qualified path representing
|
1826
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1827
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1820
1828
|
* @returns {string} A string representing the session.
|
1821
1829
|
*/
|
1822
|
-
|
1823
|
-
return this.pathTemplates.
|
1830
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1831
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
1824
1832
|
}
|
1825
1833
|
/**
|
1826
|
-
*
|
1834
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
1835
|
+
*
|
1836
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1837
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1838
|
+
* @returns {string} A string representing the answer.
|
1839
|
+
*/
|
1840
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1841
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
1842
|
+
}
|
1843
|
+
/**
|
1844
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
1827
1845
|
*
|
1828
1846
|
* @param {string} project
|
1829
1847
|
* @param {string} location
|
1830
1848
|
* @param {string} collection
|
1831
1849
|
* @param {string} engine
|
1832
1850
|
* @param {string} session
|
1833
|
-
* @param {string} answer
|
1834
1851
|
* @returns {string} Resource name string.
|
1835
1852
|
*/
|
1836
|
-
|
1837
|
-
return this.pathTemplates.
|
1853
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
1854
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
1838
1855
|
project: project,
|
1839
1856
|
location: location,
|
1840
1857
|
collection: collection,
|
1841
1858
|
engine: engine,
|
1842
1859
|
session: session,
|
1843
|
-
answer: answer,
|
1844
1860
|
});
|
1845
1861
|
}
|
1846
1862
|
/**
|
1847
|
-
* Parse the project from
|
1863
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
1848
1864
|
*
|
1849
|
-
* @param {string}
|
1850
|
-
* A fully-qualified path representing
|
1865
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
1866
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1851
1867
|
* @returns {string} A string representing the project.
|
1852
1868
|
*/
|
1853
|
-
|
1854
|
-
return this.pathTemplates.
|
1869
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
1870
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
1855
1871
|
}
|
1856
1872
|
/**
|
1857
|
-
* Parse the location from
|
1873
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
1858
1874
|
*
|
1859
|
-
* @param {string}
|
1860
|
-
* A fully-qualified path representing
|
1875
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
1876
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1861
1877
|
* @returns {string} A string representing the location.
|
1862
1878
|
*/
|
1863
|
-
|
1864
|
-
return this.pathTemplates.
|
1879
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
1880
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
1865
1881
|
}
|
1866
1882
|
/**
|
1867
|
-
* Parse the collection from
|
1883
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
1868
1884
|
*
|
1869
|
-
* @param {string}
|
1870
|
-
* A fully-qualified path representing
|
1885
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
1886
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1871
1887
|
* @returns {string} A string representing the collection.
|
1872
1888
|
*/
|
1873
|
-
|
1874
|
-
return this.pathTemplates.
|
1889
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
1890
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
1875
1891
|
}
|
1876
1892
|
/**
|
1877
|
-
* Parse the engine from
|
1893
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
1878
1894
|
*
|
1879
|
-
* @param {string}
|
1880
|
-
* A fully-qualified path representing
|
1895
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
1896
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1881
1897
|
* @returns {string} A string representing the engine.
|
1882
1898
|
*/
|
1883
|
-
|
1884
|
-
return this.pathTemplates.
|
1899
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
1900
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
1885
1901
|
}
|
1886
1902
|
/**
|
1887
|
-
* Parse the session from
|
1903
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
1888
1904
|
*
|
1889
|
-
* @param {string}
|
1890
|
-
* A fully-qualified path representing
|
1905
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
1906
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1891
1907
|
* @returns {string} A string representing the session.
|
1892
1908
|
*/
|
1893
|
-
|
1894
|
-
return this.pathTemplates.
|
1895
|
-
}
|
1896
|
-
/**
|
1897
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
1898
|
-
*
|
1899
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1900
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1901
|
-
* @returns {string} A string representing the answer.
|
1902
|
-
*/
|
1903
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1904
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
1909
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
1910
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
1905
1911
|
}
|
1906
1912
|
/**
|
1907
1913
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -2428,63 +2434,6 @@ class RecommendationServiceClient {
|
|
2428
2434
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2429
2435
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
2430
2436
|
}
|
2431
|
-
/**
|
2432
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
2433
|
-
*
|
2434
|
-
* @param {string} project
|
2435
|
-
* @param {string} location
|
2436
|
-
* @param {string} data_store
|
2437
|
-
* @param {string} session
|
2438
|
-
* @returns {string} Resource name string.
|
2439
|
-
*/
|
2440
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
2441
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
2442
|
-
project: project,
|
2443
|
-
location: location,
|
2444
|
-
data_store: dataStore,
|
2445
|
-
session: session,
|
2446
|
-
});
|
2447
|
-
}
|
2448
|
-
/**
|
2449
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
2450
|
-
*
|
2451
|
-
* @param {string} projectLocationDataStoreSessionName
|
2452
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2453
|
-
* @returns {string} A string representing the project.
|
2454
|
-
*/
|
2455
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2456
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
2457
|
-
}
|
2458
|
-
/**
|
2459
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
2460
|
-
*
|
2461
|
-
* @param {string} projectLocationDataStoreSessionName
|
2462
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2463
|
-
* @returns {string} A string representing the location.
|
2464
|
-
*/
|
2465
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2466
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
2467
|
-
}
|
2468
|
-
/**
|
2469
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
2470
|
-
*
|
2471
|
-
* @param {string} projectLocationDataStoreSessionName
|
2472
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2473
|
-
* @returns {string} A string representing the data_store.
|
2474
|
-
*/
|
2475
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2476
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
2477
|
-
}
|
2478
|
-
/**
|
2479
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
2480
|
-
*
|
2481
|
-
* @param {string} projectLocationDataStoreSessionName
|
2482
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2483
|
-
* @returns {string} A string representing the session.
|
2484
|
-
*/
|
2485
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2486
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
2487
|
-
}
|
2488
2437
|
/**
|
2489
2438
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
2490
2439
|
*
|
@@ -2554,6 +2503,63 @@ class RecommendationServiceClient {
|
|
2554
2503
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2555
2504
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
2556
2505
|
}
|
2506
|
+
/**
|
2507
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
2508
|
+
*
|
2509
|
+
* @param {string} project
|
2510
|
+
* @param {string} location
|
2511
|
+
* @param {string} data_store
|
2512
|
+
* @param {string} session
|
2513
|
+
* @returns {string} Resource name string.
|
2514
|
+
*/
|
2515
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
2516
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
2517
|
+
project: project,
|
2518
|
+
location: location,
|
2519
|
+
data_store: dataStore,
|
2520
|
+
session: session,
|
2521
|
+
});
|
2522
|
+
}
|
2523
|
+
/**
|
2524
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
2525
|
+
*
|
2526
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2527
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2528
|
+
* @returns {string} A string representing the project.
|
2529
|
+
*/
|
2530
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2531
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
2532
|
+
}
|
2533
|
+
/**
|
2534
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
2535
|
+
*
|
2536
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2537
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2538
|
+
* @returns {string} A string representing the location.
|
2539
|
+
*/
|
2540
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2541
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
2542
|
+
}
|
2543
|
+
/**
|
2544
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
2545
|
+
*
|
2546
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2547
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2548
|
+
* @returns {string} A string representing the data_store.
|
2549
|
+
*/
|
2550
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2551
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
2552
|
+
}
|
2553
|
+
/**
|
2554
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
2555
|
+
*
|
2556
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2557
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2558
|
+
* @returns {string} A string representing the session.
|
2559
|
+
*/
|
2560
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2561
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
2562
|
+
}
|
2557
2563
|
/**
|
2558
2564
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
2559
2565
|
*
|