@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,15 +175,15 @@ class ConversationalSearchServiceClient {
|
|
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
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
182
182
|
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
183
183
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
184
184
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
185
|
-
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
186
185
|
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
186
|
+
projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
187
187
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
188
188
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
189
189
|
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -193,8 +193,8 @@ class ConversationalSearchServiceClient {
|
|
193
193
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
194
194
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
195
195
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
196
|
-
projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
197
196
|
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
197
|
+
projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
198
198
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
199
199
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
200
200
|
sampleQueryPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}'),
|
@@ -346,6 +346,12 @@ class ConversationalSearchServiceClient {
|
|
346
346
|
?.then(([response, options, rawResponse]) => {
|
347
347
|
this._log.info('converseConversation response %j', response);
|
348
348
|
return [response, options, rawResponse];
|
349
|
+
}).catch((error) => {
|
350
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
351
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
352
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
353
|
+
}
|
354
|
+
throw error;
|
349
355
|
});
|
350
356
|
}
|
351
357
|
createConversation(request, optionsOrCallback, callback) {
|
@@ -376,6 +382,12 @@ class ConversationalSearchServiceClient {
|
|
376
382
|
?.then(([response, options, rawResponse]) => {
|
377
383
|
this._log.info('createConversation response %j', response);
|
378
384
|
return [response, options, rawResponse];
|
385
|
+
}).catch((error) => {
|
386
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
387
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
388
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
389
|
+
}
|
390
|
+
throw error;
|
379
391
|
});
|
380
392
|
}
|
381
393
|
deleteConversation(request, optionsOrCallback, callback) {
|
@@ -406,6 +418,12 @@ class ConversationalSearchServiceClient {
|
|
406
418
|
?.then(([response, options, rawResponse]) => {
|
407
419
|
this._log.info('deleteConversation response %j', response);
|
408
420
|
return [response, options, rawResponse];
|
421
|
+
}).catch((error) => {
|
422
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
423
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
424
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
425
|
+
}
|
426
|
+
throw error;
|
409
427
|
});
|
410
428
|
}
|
411
429
|
updateConversation(request, optionsOrCallback, callback) {
|
@@ -436,6 +454,12 @@ class ConversationalSearchServiceClient {
|
|
436
454
|
?.then(([response, options, rawResponse]) => {
|
437
455
|
this._log.info('updateConversation response %j', response);
|
438
456
|
return [response, options, rawResponse];
|
457
|
+
}).catch((error) => {
|
458
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
459
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
460
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
461
|
+
}
|
462
|
+
throw error;
|
439
463
|
});
|
440
464
|
}
|
441
465
|
getConversation(request, optionsOrCallback, callback) {
|
@@ -466,6 +490,12 @@ class ConversationalSearchServiceClient {
|
|
466
490
|
?.then(([response, options, rawResponse]) => {
|
467
491
|
this._log.info('getConversation response %j', response);
|
468
492
|
return [response, options, rawResponse];
|
493
|
+
}).catch((error) => {
|
494
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
495
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
496
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
497
|
+
}
|
498
|
+
throw error;
|
469
499
|
});
|
470
500
|
}
|
471
501
|
answerQuery(request, optionsOrCallback, callback) {
|
@@ -496,6 +526,12 @@ class ConversationalSearchServiceClient {
|
|
496
526
|
?.then(([response, options, rawResponse]) => {
|
497
527
|
this._log.info('answerQuery response %j', response);
|
498
528
|
return [response, options, rawResponse];
|
529
|
+
}).catch((error) => {
|
530
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
531
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
532
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
533
|
+
}
|
534
|
+
throw error;
|
499
535
|
});
|
500
536
|
}
|
501
537
|
getAnswer(request, optionsOrCallback, callback) {
|
@@ -526,6 +562,12 @@ class ConversationalSearchServiceClient {
|
|
526
562
|
?.then(([response, options, rawResponse]) => {
|
527
563
|
this._log.info('getAnswer response %j', response);
|
528
564
|
return [response, options, rawResponse];
|
565
|
+
}).catch((error) => {
|
566
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
567
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
568
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
569
|
+
}
|
570
|
+
throw error;
|
529
571
|
});
|
530
572
|
}
|
531
573
|
createSession(request, optionsOrCallback, callback) {
|
@@ -556,6 +598,12 @@ class ConversationalSearchServiceClient {
|
|
556
598
|
?.then(([response, options, rawResponse]) => {
|
557
599
|
this._log.info('createSession response %j', response);
|
558
600
|
return [response, options, rawResponse];
|
601
|
+
}).catch((error) => {
|
602
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
603
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
604
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
605
|
+
}
|
606
|
+
throw error;
|
559
607
|
});
|
560
608
|
}
|
561
609
|
deleteSession(request, optionsOrCallback, callback) {
|
@@ -586,6 +634,12 @@ class ConversationalSearchServiceClient {
|
|
586
634
|
?.then(([response, options, rawResponse]) => {
|
587
635
|
this._log.info('deleteSession response %j', response);
|
588
636
|
return [response, options, rawResponse];
|
637
|
+
}).catch((error) => {
|
638
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
639
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
640
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
641
|
+
}
|
642
|
+
throw error;
|
589
643
|
});
|
590
644
|
}
|
591
645
|
updateSession(request, optionsOrCallback, callback) {
|
@@ -616,6 +670,12 @@ class ConversationalSearchServiceClient {
|
|
616
670
|
?.then(([response, options, rawResponse]) => {
|
617
671
|
this._log.info('updateSession response %j', response);
|
618
672
|
return [response, options, rawResponse];
|
673
|
+
}).catch((error) => {
|
674
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
675
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
676
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
677
|
+
}
|
678
|
+
throw error;
|
619
679
|
});
|
620
680
|
}
|
621
681
|
getSession(request, optionsOrCallback, callback) {
|
@@ -646,6 +706,12 @@ class ConversationalSearchServiceClient {
|
|
646
706
|
?.then(([response, options, rawResponse]) => {
|
647
707
|
this._log.info('getSession response %j', response);
|
648
708
|
return [response, options, rawResponse];
|
709
|
+
}).catch((error) => {
|
710
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
711
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
712
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
713
|
+
}
|
714
|
+
throw error;
|
649
715
|
});
|
650
716
|
}
|
651
717
|
listConversations(request, optionsOrCallback, callback) {
|
@@ -829,7 +895,7 @@ class ConversationalSearchServiceClient {
|
|
829
895
|
* The request object that will be sent.
|
830
896
|
* @param {string} request.parent
|
831
897
|
* Required. The data store resource name. Format:
|
832
|
-
* `projects/{
|
898
|
+
* `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}`
|
833
899
|
* @param {number} request.pageSize
|
834
900
|
* Maximum number of results to return. If unspecified, defaults
|
835
901
|
* to 50. Max allowed value is 1000.
|
@@ -837,22 +903,39 @@ class ConversationalSearchServiceClient {
|
|
837
903
|
* A page token, received from a previous `ListSessions` call.
|
838
904
|
* Provide this to retrieve the subsequent page.
|
839
905
|
* @param {string} request.filter
|
840
|
-
* A
|
841
|
-
*
|
842
|
-
*
|
843
|
-
*
|
906
|
+
* A comma-separated list of fields to filter by, in EBNF grammar.
|
907
|
+
* The supported fields are:
|
908
|
+
* * `user_pseudo_id`
|
909
|
+
* * `state`
|
910
|
+
* * `display_name`
|
911
|
+
* * `starred`
|
912
|
+
* * `is_pinned`
|
913
|
+
* * `labels`
|
914
|
+
* * `create_time`
|
915
|
+
* * `update_time`
|
916
|
+
*
|
917
|
+
* Examples:
|
844
918
|
* "user_pseudo_id = some_id"
|
919
|
+
* "display_name = \"some_name\""
|
920
|
+
* "starred = true"
|
921
|
+
* "is_pinned=true AND (NOT labels:hidden)"
|
922
|
+
* "create_time > \"1970-01-01T12:00:00Z\""
|
845
923
|
* @param {string} request.orderBy
|
846
924
|
* A comma-separated list of fields to order by, sorted in ascending order.
|
847
925
|
* Use "desc" after a field name for descending.
|
848
926
|
* Supported fields:
|
927
|
+
*
|
849
928
|
* * `update_time`
|
850
929
|
* * `create_time`
|
851
930
|
* * `session_name`
|
931
|
+
* * `is_pinned`
|
852
932
|
*
|
853
933
|
* Example:
|
854
|
-
*
|
855
|
-
* "
|
934
|
+
*
|
935
|
+
* * "update_time desc"
|
936
|
+
* * "create_time"
|
937
|
+
* * "is_pinned desc,update_time desc": list sessions by is_pinned first, then
|
938
|
+
* by update_time.
|
856
939
|
* @param {object} [options]
|
857
940
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
858
941
|
* @returns {Stream}
|
@@ -886,7 +969,7 @@ class ConversationalSearchServiceClient {
|
|
886
969
|
* The request object that will be sent.
|
887
970
|
* @param {string} request.parent
|
888
971
|
* Required. The data store resource name. Format:
|
889
|
-
* `projects/{
|
972
|
+
* `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}`
|
890
973
|
* @param {number} request.pageSize
|
891
974
|
* Maximum number of results to return. If unspecified, defaults
|
892
975
|
* to 50. Max allowed value is 1000.
|
@@ -894,22 +977,39 @@ class ConversationalSearchServiceClient {
|
|
894
977
|
* A page token, received from a previous `ListSessions` call.
|
895
978
|
* Provide this to retrieve the subsequent page.
|
896
979
|
* @param {string} request.filter
|
897
|
-
* A
|
898
|
-
*
|
899
|
-
*
|
900
|
-
*
|
980
|
+
* A comma-separated list of fields to filter by, in EBNF grammar.
|
981
|
+
* The supported fields are:
|
982
|
+
* * `user_pseudo_id`
|
983
|
+
* * `state`
|
984
|
+
* * `display_name`
|
985
|
+
* * `starred`
|
986
|
+
* * `is_pinned`
|
987
|
+
* * `labels`
|
988
|
+
* * `create_time`
|
989
|
+
* * `update_time`
|
990
|
+
*
|
991
|
+
* Examples:
|
901
992
|
* "user_pseudo_id = some_id"
|
993
|
+
* "display_name = \"some_name\""
|
994
|
+
* "starred = true"
|
995
|
+
* "is_pinned=true AND (NOT labels:hidden)"
|
996
|
+
* "create_time > \"1970-01-01T12:00:00Z\""
|
902
997
|
* @param {string} request.orderBy
|
903
998
|
* A comma-separated list of fields to order by, sorted in ascending order.
|
904
999
|
* Use "desc" after a field name for descending.
|
905
1000
|
* Supported fields:
|
1001
|
+
*
|
906
1002
|
* * `update_time`
|
907
1003
|
* * `create_time`
|
908
1004
|
* * `session_name`
|
1005
|
+
* * `is_pinned`
|
909
1006
|
*
|
910
1007
|
* Example:
|
911
|
-
*
|
912
|
-
* "
|
1008
|
+
*
|
1009
|
+
* * "update_time desc"
|
1010
|
+
* * "create_time"
|
1011
|
+
* * "is_pinned desc,update_time desc": list sessions by is_pinned first, then
|
1012
|
+
* by update_time.
|
913
1013
|
* @param {object} [options]
|
914
1014
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
915
1015
|
* @returns {Object}
|
@@ -1784,154 +1884,154 @@ class ConversationalSearchServiceClient {
|
|
1784
1884
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1785
1885
|
}
|
1786
1886
|
/**
|
1787
|
-
* Return a fully-qualified
|
1887
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1788
1888
|
*
|
1789
1889
|
* @param {string} project
|
1790
1890
|
* @param {string} location
|
1791
1891
|
* @param {string} collection
|
1792
1892
|
* @param {string} data_store
|
1793
1893
|
* @param {string} session
|
1894
|
+
* @param {string} answer
|
1794
1895
|
* @returns {string} Resource name string.
|
1795
1896
|
*/
|
1796
|
-
|
1797
|
-
return this.pathTemplates.
|
1897
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1898
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1798
1899
|
project: project,
|
1799
1900
|
location: location,
|
1800
1901
|
collection: collection,
|
1801
1902
|
data_store: dataStore,
|
1802
1903
|
session: session,
|
1904
|
+
answer: answer,
|
1803
1905
|
});
|
1804
1906
|
}
|
1805
1907
|
/**
|
1806
|
-
* Parse the project from
|
1908
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1807
1909
|
*
|
1808
|
-
* @param {string}
|
1809
|
-
* A fully-qualified path representing
|
1910
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1911
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1810
1912
|
* @returns {string} A string representing the project.
|
1811
1913
|
*/
|
1812
|
-
|
1813
|
-
return this.pathTemplates.
|
1914
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1915
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1814
1916
|
}
|
1815
1917
|
/**
|
1816
|
-
* Parse the location from
|
1918
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1817
1919
|
*
|
1818
|
-
* @param {string}
|
1819
|
-
* A fully-qualified path representing
|
1920
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1921
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1820
1922
|
* @returns {string} A string representing the location.
|
1821
1923
|
*/
|
1822
|
-
|
1823
|
-
return this.pathTemplates.
|
1924
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1925
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1824
1926
|
}
|
1825
1927
|
/**
|
1826
|
-
* Parse the collection from
|
1928
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1827
1929
|
*
|
1828
|
-
* @param {string}
|
1829
|
-
* A fully-qualified path representing
|
1930
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1931
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1830
1932
|
* @returns {string} A string representing the collection.
|
1831
1933
|
*/
|
1832
|
-
|
1833
|
-
return this.pathTemplates.
|
1934
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1935
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1834
1936
|
}
|
1835
1937
|
/**
|
1836
|
-
* Parse the data_store from
|
1938
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1837
1939
|
*
|
1838
|
-
* @param {string}
|
1839
|
-
* A fully-qualified path representing
|
1940
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1941
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1840
1942
|
* @returns {string} A string representing the data_store.
|
1841
1943
|
*/
|
1842
|
-
|
1843
|
-
return this.pathTemplates.
|
1944
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1945
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1844
1946
|
}
|
1845
1947
|
/**
|
1846
|
-
* Parse the session from
|
1948
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1847
1949
|
*
|
1848
|
-
* @param {string}
|
1849
|
-
* A fully-qualified path representing
|
1950
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1951
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1850
1952
|
* @returns {string} A string representing the session.
|
1851
1953
|
*/
|
1852
|
-
|
1853
|
-
return this.pathTemplates.
|
1954
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1955
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1854
1956
|
}
|
1855
1957
|
/**
|
1856
|
-
*
|
1958
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1959
|
+
*
|
1960
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1961
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1962
|
+
* @returns {string} A string representing the answer.
|
1963
|
+
*/
|
1964
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1965
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1966
|
+
}
|
1967
|
+
/**
|
1968
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
1857
1969
|
*
|
1858
1970
|
* @param {string} project
|
1859
1971
|
* @param {string} location
|
1860
1972
|
* @param {string} collection
|
1861
1973
|
* @param {string} data_store
|
1862
1974
|
* @param {string} session
|
1863
|
-
* @param {string} answer
|
1864
1975
|
* @returns {string} Resource name string.
|
1865
1976
|
*/
|
1866
|
-
|
1867
|
-
return this.pathTemplates.
|
1977
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
1978
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
1868
1979
|
project: project,
|
1869
1980
|
location: location,
|
1870
1981
|
collection: collection,
|
1871
1982
|
data_store: dataStore,
|
1872
1983
|
session: session,
|
1873
|
-
answer: answer,
|
1874
1984
|
});
|
1875
1985
|
}
|
1876
1986
|
/**
|
1877
|
-
* Parse the project from
|
1987
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
1878
1988
|
*
|
1879
|
-
* @param {string}
|
1880
|
-
* A fully-qualified path representing
|
1989
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1990
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1881
1991
|
* @returns {string} A string representing the project.
|
1882
1992
|
*/
|
1883
|
-
|
1884
|
-
return this.pathTemplates.
|
1993
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1994
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
1885
1995
|
}
|
1886
1996
|
/**
|
1887
|
-
* Parse the location from
|
1997
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
1888
1998
|
*
|
1889
|
-
* @param {string}
|
1890
|
-
* A fully-qualified path representing
|
1999
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2000
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1891
2001
|
* @returns {string} A string representing the location.
|
1892
2002
|
*/
|
1893
|
-
|
1894
|
-
return this.pathTemplates.
|
2003
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2004
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
1895
2005
|
}
|
1896
2006
|
/**
|
1897
|
-
* Parse the collection from
|
2007
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
1898
2008
|
*
|
1899
|
-
* @param {string}
|
1900
|
-
* A fully-qualified path representing
|
2009
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2010
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1901
2011
|
* @returns {string} A string representing the collection.
|
1902
2012
|
*/
|
1903
|
-
|
1904
|
-
return this.pathTemplates.
|
2013
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2014
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
1905
2015
|
}
|
1906
2016
|
/**
|
1907
|
-
* Parse the data_store from
|
2017
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
1908
2018
|
*
|
1909
|
-
* @param {string}
|
1910
|
-
* A fully-qualified path representing
|
2019
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2020
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1911
2021
|
* @returns {string} A string representing the data_store.
|
1912
2022
|
*/
|
1913
|
-
|
1914
|
-
return this.pathTemplates.
|
2023
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2024
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
1915
2025
|
}
|
1916
2026
|
/**
|
1917
|
-
* Parse the session from
|
2027
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
1918
2028
|
*
|
1919
|
-
* @param {string}
|
1920
|
-
* A fully-qualified path representing
|
2029
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2030
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1921
2031
|
* @returns {string} A string representing the session.
|
1922
2032
|
*/
|
1923
|
-
|
1924
|
-
return this.pathTemplates.
|
1925
|
-
}
|
1926
|
-
/**
|
1927
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1928
|
-
*
|
1929
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1930
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1931
|
-
* @returns {string} A string representing the answer.
|
1932
|
-
*/
|
1933
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1934
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
2033
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2034
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
1935
2035
|
}
|
1936
2036
|
/**
|
1937
2037
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -2267,154 +2367,154 @@ class ConversationalSearchServiceClient {
|
|
2267
2367
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
2268
2368
|
}
|
2269
2369
|
/**
|
2270
|
-
* Return a fully-qualified
|
2370
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
2271
2371
|
*
|
2272
2372
|
* @param {string} project
|
2273
2373
|
* @param {string} location
|
2274
2374
|
* @param {string} collection
|
2275
2375
|
* @param {string} engine
|
2276
2376
|
* @param {string} session
|
2377
|
+
* @param {string} answer
|
2277
2378
|
* @returns {string} Resource name string.
|
2278
2379
|
*/
|
2279
|
-
|
2280
|
-
return this.pathTemplates.
|
2380
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
2381
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
2281
2382
|
project: project,
|
2282
2383
|
location: location,
|
2283
2384
|
collection: collection,
|
2284
2385
|
engine: engine,
|
2285
2386
|
session: session,
|
2387
|
+
answer: answer,
|
2286
2388
|
});
|
2287
2389
|
}
|
2288
2390
|
/**
|
2289
|
-
* Parse the project from
|
2391
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
2290
2392
|
*
|
2291
|
-
* @param {string}
|
2292
|
-
* A fully-qualified path representing
|
2393
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2394
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2293
2395
|
* @returns {string} A string representing the project.
|
2294
2396
|
*/
|
2295
|
-
|
2296
|
-
return this.pathTemplates.
|
2397
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2398
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
2297
2399
|
}
|
2298
2400
|
/**
|
2299
|
-
* Parse the location from
|
2401
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
2300
2402
|
*
|
2301
|
-
* @param {string}
|
2302
|
-
* A fully-qualified path representing
|
2403
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2404
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2303
2405
|
* @returns {string} A string representing the location.
|
2304
2406
|
*/
|
2305
|
-
|
2306
|
-
return this.pathTemplates.
|
2407
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2408
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
2307
2409
|
}
|
2308
2410
|
/**
|
2309
|
-
* Parse the collection from
|
2411
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
2310
2412
|
*
|
2311
|
-
* @param {string}
|
2312
|
-
* A fully-qualified path representing
|
2413
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2414
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2313
2415
|
* @returns {string} A string representing the collection.
|
2314
2416
|
*/
|
2315
|
-
|
2316
|
-
return this.pathTemplates.
|
2417
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2418
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
2317
2419
|
}
|
2318
2420
|
/**
|
2319
|
-
* Parse the engine from
|
2421
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
2320
2422
|
*
|
2321
|
-
* @param {string}
|
2322
|
-
* A fully-qualified path representing
|
2423
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2424
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2323
2425
|
* @returns {string} A string representing the engine.
|
2324
2426
|
*/
|
2325
|
-
|
2326
|
-
return this.pathTemplates.
|
2427
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2428
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
2327
2429
|
}
|
2328
2430
|
/**
|
2329
|
-
* Parse the session from
|
2431
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
2330
2432
|
*
|
2331
|
-
* @param {string}
|
2332
|
-
* A fully-qualified path representing
|
2433
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2434
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2333
2435
|
* @returns {string} A string representing the session.
|
2334
2436
|
*/
|
2335
|
-
|
2336
|
-
return this.pathTemplates.
|
2437
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2438
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
2337
2439
|
}
|
2338
2440
|
/**
|
2339
|
-
*
|
2441
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2442
|
+
*
|
2443
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2444
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2445
|
+
* @returns {string} A string representing the answer.
|
2446
|
+
*/
|
2447
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2448
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2449
|
+
}
|
2450
|
+
/**
|
2451
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
2340
2452
|
*
|
2341
2453
|
* @param {string} project
|
2342
2454
|
* @param {string} location
|
2343
2455
|
* @param {string} collection
|
2344
2456
|
* @param {string} engine
|
2345
2457
|
* @param {string} session
|
2346
|
-
* @param {string} answer
|
2347
2458
|
* @returns {string} Resource name string.
|
2348
2459
|
*/
|
2349
|
-
|
2350
|
-
return this.pathTemplates.
|
2460
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
2461
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
2351
2462
|
project: project,
|
2352
2463
|
location: location,
|
2353
2464
|
collection: collection,
|
2354
2465
|
engine: engine,
|
2355
2466
|
session: session,
|
2356
|
-
answer: answer,
|
2357
2467
|
});
|
2358
2468
|
}
|
2359
2469
|
/**
|
2360
|
-
* Parse the project from
|
2470
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
2361
2471
|
*
|
2362
|
-
* @param {string}
|
2363
|
-
* A fully-qualified path representing
|
2472
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2473
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2364
2474
|
* @returns {string} A string representing the project.
|
2365
2475
|
*/
|
2366
|
-
|
2367
|
-
return this.pathTemplates.
|
2476
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2477
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
2368
2478
|
}
|
2369
2479
|
/**
|
2370
|
-
* Parse the location from
|
2480
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
2371
2481
|
*
|
2372
|
-
* @param {string}
|
2373
|
-
* A fully-qualified path representing
|
2482
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2483
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2374
2484
|
* @returns {string} A string representing the location.
|
2375
2485
|
*/
|
2376
|
-
|
2377
|
-
return this.pathTemplates.
|
2486
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2487
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
2378
2488
|
}
|
2379
2489
|
/**
|
2380
|
-
* Parse the collection from
|
2490
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
2381
2491
|
*
|
2382
|
-
* @param {string}
|
2383
|
-
* A fully-qualified path representing
|
2492
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2493
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2384
2494
|
* @returns {string} A string representing the collection.
|
2385
2495
|
*/
|
2386
|
-
|
2387
|
-
return this.pathTemplates.
|
2496
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2497
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
2388
2498
|
}
|
2389
2499
|
/**
|
2390
|
-
* Parse the engine from
|
2500
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
2391
2501
|
*
|
2392
|
-
* @param {string}
|
2393
|
-
* A fully-qualified path representing
|
2502
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2503
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2394
2504
|
* @returns {string} A string representing the engine.
|
2395
2505
|
*/
|
2396
|
-
|
2397
|
-
return this.pathTemplates.
|
2506
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2507
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
2398
2508
|
}
|
2399
2509
|
/**
|
2400
|
-
* Parse the session from
|
2510
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
2401
2511
|
*
|
2402
|
-
* @param {string}
|
2403
|
-
* A fully-qualified path representing
|
2512
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2513
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2404
2514
|
* @returns {string} A string representing the session.
|
2405
2515
|
*/
|
2406
|
-
|
2407
|
-
return this.pathTemplates.
|
2408
|
-
}
|
2409
|
-
/**
|
2410
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2411
|
-
*
|
2412
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2413
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2414
|
-
* @returns {string} A string representing the answer.
|
2415
|
-
*/
|
2416
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2417
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2516
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2517
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
2418
2518
|
}
|
2419
2519
|
/**
|
2420
2520
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -2941,63 +3041,6 @@ class ConversationalSearchServiceClient {
|
|
2941
3041
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2942
3042
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
2943
3043
|
}
|
2944
|
-
/**
|
2945
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
2946
|
-
*
|
2947
|
-
* @param {string} project
|
2948
|
-
* @param {string} location
|
2949
|
-
* @param {string} data_store
|
2950
|
-
* @param {string} session
|
2951
|
-
* @returns {string} Resource name string.
|
2952
|
-
*/
|
2953
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
2954
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
2955
|
-
project: project,
|
2956
|
-
location: location,
|
2957
|
-
data_store: dataStore,
|
2958
|
-
session: session,
|
2959
|
-
});
|
2960
|
-
}
|
2961
|
-
/**
|
2962
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
2963
|
-
*
|
2964
|
-
* @param {string} projectLocationDataStoreSessionName
|
2965
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2966
|
-
* @returns {string} A string representing the project.
|
2967
|
-
*/
|
2968
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2969
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
2970
|
-
}
|
2971
|
-
/**
|
2972
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
2973
|
-
*
|
2974
|
-
* @param {string} projectLocationDataStoreSessionName
|
2975
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2976
|
-
* @returns {string} A string representing the location.
|
2977
|
-
*/
|
2978
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2979
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
2980
|
-
}
|
2981
|
-
/**
|
2982
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
2983
|
-
*
|
2984
|
-
* @param {string} projectLocationDataStoreSessionName
|
2985
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2986
|
-
* @returns {string} A string representing the data_store.
|
2987
|
-
*/
|
2988
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2989
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
2990
|
-
}
|
2991
|
-
/**
|
2992
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
2993
|
-
*
|
2994
|
-
* @param {string} projectLocationDataStoreSessionName
|
2995
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2996
|
-
* @returns {string} A string representing the session.
|
2997
|
-
*/
|
2998
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2999
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
3000
|
-
}
|
3001
3044
|
/**
|
3002
3045
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
3003
3046
|
*
|
@@ -3067,6 +3110,63 @@ class ConversationalSearchServiceClient {
|
|
3067
3110
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
3068
3111
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
3069
3112
|
}
|
3113
|
+
/**
|
3114
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
3115
|
+
*
|
3116
|
+
* @param {string} project
|
3117
|
+
* @param {string} location
|
3118
|
+
* @param {string} data_store
|
3119
|
+
* @param {string} session
|
3120
|
+
* @returns {string} Resource name string.
|
3121
|
+
*/
|
3122
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
3123
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
3124
|
+
project: project,
|
3125
|
+
location: location,
|
3126
|
+
data_store: dataStore,
|
3127
|
+
session: session,
|
3128
|
+
});
|
3129
|
+
}
|
3130
|
+
/**
|
3131
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
3132
|
+
*
|
3133
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3134
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3135
|
+
* @returns {string} A string representing the project.
|
3136
|
+
*/
|
3137
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3138
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
3139
|
+
}
|
3140
|
+
/**
|
3141
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
3142
|
+
*
|
3143
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3144
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3145
|
+
* @returns {string} A string representing the location.
|
3146
|
+
*/
|
3147
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3148
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
3149
|
+
}
|
3150
|
+
/**
|
3151
|
+
* Parse the data_store 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 data_store.
|
3156
|
+
*/
|
3157
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3158
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
3159
|
+
}
|
3160
|
+
/**
|
3161
|
+
* Parse the session 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 session.
|
3166
|
+
*/
|
3167
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3168
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
3169
|
+
}
|
3070
3170
|
/**
|
3071
3171
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
3072
3172
|
*
|