@google-cloud/discoveryengine 2.2.0 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +30 -0
- package/build/protos/google/cloud/discoveryengine/v1/answer.proto +17 -0
- package/build/protos/google/cloud/discoveryengine/v1/assist_answer.proto +251 -0
- package/build/protos/google/cloud/discoveryengine/v1/assistant.proto +44 -0
- package/build/protos/google/cloud/discoveryengine/v1/assistant_service.proto +217 -0
- package/build/protos/google/cloud/discoveryengine/v1/chunk.proto +52 -0
- package/build/protos/google/cloud/discoveryengine/v1/cmek_config_service.proto +300 -0
- package/build/protos/google/cloud/discoveryengine/v1/common.proto +67 -0
- package/build/protos/google/cloud/discoveryengine/v1/control.proto +1 -3
- package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +18 -3
- package/build/protos/google/cloud/discoveryengine/v1/data_store.proto +54 -2
- package/build/protos/google/cloud/discoveryengine/v1/data_store_service.proto +14 -0
- package/build/protos/google/cloud/discoveryengine/v1/document.proto +95 -4
- package/build/protos/google/cloud/discoveryengine/v1/document_processing_config.proto +28 -1
- package/build/protos/google/cloud/discoveryengine/v1/engine.proto +131 -6
- package/build/protos/google/cloud/discoveryengine/v1/grounded_generation_service.proto +8 -0
- package/build/protos/google/cloud/discoveryengine/v1/grounding.proto +9 -0
- package/build/protos/google/cloud/discoveryengine/v1/identity_mapping_store.proto +84 -0
- package/build/protos/google/cloud/discoveryengine/v1/identity_mapping_store_service.proto +375 -0
- package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +14 -14
- package/build/protos/google/cloud/discoveryengine/v1/session.proto +21 -8
- package/build/protos/google/cloud/discoveryengine/v1/session_service.proto +128 -0
- package/build/protos/google/cloud/discoveryengine/v1/site_search_engine.proto +6 -0
- package/build/protos/google/cloud/discoveryengine/v1/user_license.proto +98 -0
- package/build/protos/google/cloud/discoveryengine/v1/user_license_service.proto +191 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +15 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +30 -9
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +8 -14
- package/build/protos/google/cloud/discoveryengine/v1alpha/session.proto +238 -8
- package/build/protos/google/cloud/discoveryengine/v1alpha/session_service.proto +201 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +26 -5
- package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +8 -14
- package/build/protos/google/cloud/discoveryengine/v1beta/session.proto +40 -8
- package/build/protos/google/cloud/discoveryengine/v1beta/session_service.proto +128 -0
- package/build/protos/protos.d.ts +21218 -11675
- package/build/protos/protos.js +92642 -66407
- package/build/protos/protos.json +5854 -2801
- package/build/src/index.d.ts +16 -1
- package/build/src/index.js +12 -2
- package/build/src/v1/assistant_service_client.d.ts +2058 -0
- package/build/src/v1/assistant_service_client.js +2957 -0
- package/build/src/v1/assistant_service_client_config.json +43 -0
- package/build/src/v1/assistant_service_proto_list.json +48 -0
- package/build/src/v1/cmek_config_service_client.d.ts +2398 -0
- package/build/src/v1/cmek_config_service_client.js +3426 -0
- package/build/src/v1/cmek_config_service_client_config.json +42 -0
- package/build/src/v1/cmek_config_service_proto_list.json +48 -0
- package/build/src/v1/completion_service_client.d.ts +345 -144
- package/build/src/v1/completion_service_client.js +482 -198
- package/build/src/v1/completion_service_proto_list.json +10 -1
- package/build/src/v1/control_service_client.d.ts +345 -144
- package/build/src/v1/control_service_client.js +498 -196
- package/build/src/v1/control_service_proto_list.json +10 -1
- package/build/src/v1/conversational_search_service_client.d.ts +392 -155
- package/build/src/v1/conversational_search_service_client.js +572 -204
- package/build/src/v1/conversational_search_service_proto_list.json +10 -1
- package/build/src/v1/data_store_service_client.d.ts +351 -144
- package/build/src/v1/data_store_service_client.js +488 -198
- package/build/src/v1/data_store_service_proto_list.json +10 -1
- package/build/src/v1/document_service_client.d.ts +345 -144
- package/build/src/v1/document_service_client.js +506 -198
- package/build/src/v1/document_service_proto_list.json +10 -1
- package/build/src/v1/engine_service_client.d.ts +345 -144
- package/build/src/v1/engine_service_client.js +488 -198
- package/build/src/v1/engine_service_proto_list.json +10 -1
- package/build/src/v1/gapic_metadata.json +270 -0
- package/build/src/v1/grounded_generation_service_client.d.ts +345 -144
- package/build/src/v1/grounded_generation_service_client.js +486 -196
- package/build/src/v1/grounded_generation_service_proto_list.json +10 -1
- package/build/src/v1/identity_mapping_store_service_client.d.ts +2581 -0
- package/build/src/v1/identity_mapping_store_service_client.js +3601 -0
- package/build/src/v1/identity_mapping_store_service_client_config.json +54 -0
- package/build/src/v1/identity_mapping_store_service_proto_list.json +48 -0
- package/build/src/v1/index.d.ts +5 -0
- package/build/src/v1/index.js +11 -1
- package/build/src/v1/project_service_client.d.ts +345 -144
- package/build/src/v1/project_service_client.js +476 -198
- package/build/src/v1/project_service_proto_list.json +10 -1
- package/build/src/v1/rank_service_client.d.ts +345 -144
- package/build/src/v1/rank_service_client.js +480 -196
- package/build/src/v1/rank_service_proto_list.json +10 -1
- package/build/src/v1/recommendation_service_client.d.ts +345 -144
- package/build/src/v1/recommendation_service_client.js +480 -196
- package/build/src/v1/recommendation_service_proto_list.json +10 -1
- package/build/src/v1/schema_service_client.d.ts +345 -144
- package/build/src/v1/schema_service_client.js +482 -198
- package/build/src/v1/schema_service_proto_list.json +10 -1
- package/build/src/v1/search_service_client.d.ts +393 -228
- package/build/src/v1/search_service_client.js +506 -252
- package/build/src/v1/search_service_proto_list.json +10 -1
- package/build/src/v1/search_tuning_service_client.d.ts +345 -144
- package/build/src/v1/search_tuning_service_client.js +482 -198
- package/build/src/v1/search_tuning_service_proto_list.json +10 -1
- package/build/src/v1/serving_config_service_client.d.ts +345 -144
- package/build/src/v1/serving_config_service_client.js +480 -196
- package/build/src/v1/serving_config_service_proto_list.json +10 -1
- package/build/src/v1/session_service_client.d.ts +2326 -0
- package/build/src/v1/session_service_client.js +3218 -0
- package/build/src/v1/session_service_client_config.json +63 -0
- package/build/src/v1/session_service_proto_list.json +48 -0
- package/build/src/v1/site_search_engine_service_client.d.ts +345 -144
- package/build/src/v1/site_search_engine_service_client.js +494 -198
- package/build/src/v1/site_search_engine_service_proto_list.json +10 -1
- package/build/src/v1/user_event_service_client.d.ts +345 -144
- package/build/src/v1/user_event_service_client.js +488 -198
- package/build/src/v1/user_event_service_proto_list.json +10 -1
- package/build/src/v1/user_license_service_client.d.ts +2367 -0
- package/build/src/v1/user_license_service_client.js +3346 -0
- package/build/src/v1/user_license_service_client_config.json +34 -0
- package/build/src/v1/user_license_service_proto_list.json +48 -0
- package/build/src/v1alpha/acl_config_service_client.d.ts +144 -144
- package/build/src/v1alpha/acl_config_service_client.js +208 -196
- package/build/src/v1alpha/acl_config_service_proto_list.json +1 -0
- package/build/src/v1alpha/chunk_service_client.d.ts +144 -144
- package/build/src/v1alpha/chunk_service_client.js +202 -196
- package/build/src/v1alpha/chunk_service_proto_list.json +1 -0
- package/build/src/v1alpha/completion_service_client.d.ts +144 -144
- package/build/src/v1alpha/completion_service_client.js +203 -197
- package/build/src/v1alpha/completion_service_proto_list.json +1 -0
- package/build/src/v1alpha/control_service_client.d.ts +144 -144
- package/build/src/v1alpha/control_service_client.js +220 -196
- package/build/src/v1alpha/control_service_proto_list.json +1 -0
- package/build/src/v1alpha/conversational_search_service_client.d.ts +221 -167
- package/build/src/v1alpha/conversational_search_service_client.js +310 -210
- package/build/src/v1alpha/conversational_search_service_proto_list.json +1 -0
- package/build/src/v1alpha/data_store_service_client.d.ts +144 -144
- package/build/src/v1alpha/data_store_service_client.js +221 -197
- package/build/src/v1alpha/data_store_service_proto_list.json +1 -0
- package/build/src/v1alpha/document_service_client.d.ts +144 -144
- package/build/src/v1alpha/document_service_client.js +233 -197
- package/build/src/v1alpha/document_service_proto_list.json +1 -0
- package/build/src/v1alpha/engine_service_client.d.ts +144 -144
- package/build/src/v1alpha/engine_service_client.js +221 -197
- package/build/src/v1alpha/engine_service_proto_list.json +1 -0
- package/build/src/v1alpha/estimate_billing_service_client.d.ts +144 -144
- package/build/src/v1alpha/estimate_billing_service_client.js +197 -197
- package/build/src/v1alpha/estimate_billing_service_proto_list.json +1 -0
- package/build/src/v1alpha/evaluation_service_client.d.ts +144 -144
- package/build/src/v1alpha/evaluation_service_client.js +203 -197
- package/build/src/v1alpha/evaluation_service_proto_list.json +1 -0
- package/build/src/v1alpha/gapic_metadata.json +82 -0
- package/build/src/v1alpha/grounded_generation_service_client.d.ts +144 -144
- package/build/src/v1alpha/grounded_generation_service_client.js +202 -196
- package/build/src/v1alpha/grounded_generation_service_proto_list.json +1 -0
- package/build/src/v1alpha/index.d.ts +1 -0
- package/build/src/v1alpha/index.js +3 -1
- package/build/src/v1alpha/project_service_client.d.ts +144 -144
- package/build/src/v1alpha/project_service_client.js +209 -197
- package/build/src/v1alpha/project_service_proto_list.json +1 -0
- package/build/src/v1alpha/rank_service_client.d.ts +144 -144
- package/build/src/v1alpha/rank_service_client.js +202 -196
- package/build/src/v1alpha/rank_service_proto_list.json +1 -0
- package/build/src/v1alpha/recommendation_service_client.d.ts +144 -144
- package/build/src/v1alpha/recommendation_service_client.js +202 -196
- package/build/src/v1alpha/recommendation_service_proto_list.json +1 -0
- package/build/src/v1alpha/sample_query_service_client.d.ts +144 -144
- package/build/src/v1alpha/sample_query_service_client.js +221 -197
- package/build/src/v1alpha/sample_query_service_proto_list.json +1 -0
- package/build/src/v1alpha/sample_query_set_service_client.d.ts +144 -144
- package/build/src/v1alpha/sample_query_set_service_client.js +220 -196
- package/build/src/v1alpha/sample_query_set_service_proto_list.json +1 -0
- package/build/src/v1alpha/schema_service_client.d.ts +144 -144
- package/build/src/v1alpha/schema_service_client.js +203 -197
- package/build/src/v1alpha/schema_service_proto_list.json +1 -0
- package/build/src/v1alpha/search_service_client.d.ts +168 -186
- package/build/src/v1alpha/search_service_client.js +212 -224
- package/build/src/v1alpha/search_service_proto_list.json +1 -0
- package/build/src/v1alpha/search_tuning_service_client.d.ts +144 -144
- package/build/src/v1alpha/search_tuning_service_client.js +203 -197
- package/build/src/v1alpha/search_tuning_service_proto_list.json +1 -0
- package/build/src/v1alpha/serving_config_service_client.d.ts +144 -144
- package/build/src/v1alpha/serving_config_service_client.js +208 -196
- package/build/src/v1alpha/serving_config_service_proto_list.json +1 -0
- package/build/src/v1alpha/session_service_client.d.ts +2331 -0
- package/build/src/v1alpha/session_service_client.js +3161 -0
- package/build/src/v1alpha/session_service_client_config.json +68 -0
- package/build/src/v1alpha/session_service_proto_list.json +49 -0
- package/build/src/v1alpha/site_search_engine_service_client.d.ts +144 -144
- package/build/src/v1alpha/site_search_engine_service_client.js +215 -197
- package/build/src/v1alpha/site_search_engine_service_proto_list.json +1 -0
- package/build/src/v1alpha/user_event_service_client.d.ts +144 -144
- package/build/src/v1alpha/user_event_service_client.js +209 -197
- package/build/src/v1alpha/user_event_service_proto_list.json +1 -0
- package/build/src/v1beta/completion_service_client.d.ts +144 -144
- package/build/src/v1beta/completion_service_client.js +209 -197
- package/build/src/v1beta/completion_service_proto_list.json +1 -0
- package/build/src/v1beta/control_service_client.d.ts +144 -144
- package/build/src/v1beta/control_service_client.js +220 -196
- package/build/src/v1beta/control_service_proto_list.json +1 -0
- package/build/src/v1beta/conversational_search_service_client.d.ts +215 -161
- package/build/src/v1beta/conversational_search_service_client.js +308 -208
- package/build/src/v1beta/conversational_search_service_proto_list.json +1 -0
- package/build/src/v1beta/data_store_service_client.d.ts +144 -144
- package/build/src/v1beta/data_store_service_client.js +209 -197
- package/build/src/v1beta/data_store_service_proto_list.json +1 -0
- package/build/src/v1beta/document_service_client.d.ts +144 -144
- package/build/src/v1beta/document_service_client.js +227 -197
- package/build/src/v1beta/document_service_proto_list.json +1 -0
- package/build/src/v1beta/engine_service_client.d.ts +144 -144
- package/build/src/v1beta/engine_service_client.js +221 -197
- package/build/src/v1beta/engine_service_proto_list.json +1 -0
- package/build/src/v1beta/evaluation_service_client.d.ts +144 -144
- package/build/src/v1beta/evaluation_service_client.js +203 -197
- package/build/src/v1beta/evaluation_service_proto_list.json +1 -0
- package/build/src/v1beta/gapic_metadata.json +68 -0
- package/build/src/v1beta/grounded_generation_service_client.d.ts +144 -144
- package/build/src/v1beta/grounded_generation_service_client.js +208 -196
- package/build/src/v1beta/grounded_generation_service_proto_list.json +1 -0
- package/build/src/v1beta/index.d.ts +1 -0
- package/build/src/v1beta/index.js +3 -1
- package/build/src/v1beta/project_service_client.d.ts +144 -144
- package/build/src/v1beta/project_service_client.js +197 -197
- package/build/src/v1beta/project_service_proto_list.json +1 -0
- package/build/src/v1beta/rank_service_client.d.ts +144 -144
- package/build/src/v1beta/rank_service_client.js +202 -196
- package/build/src/v1beta/rank_service_proto_list.json +1 -0
- package/build/src/v1beta/recommendation_service_client.d.ts +144 -144
- package/build/src/v1beta/recommendation_service_client.js +202 -196
- package/build/src/v1beta/recommendation_service_proto_list.json +1 -0
- package/build/src/v1beta/sample_query_service_client.d.ts +144 -144
- package/build/src/v1beta/sample_query_service_client.js +221 -197
- package/build/src/v1beta/sample_query_service_proto_list.json +1 -0
- package/build/src/v1beta/sample_query_set_service_client.d.ts +144 -144
- package/build/src/v1beta/sample_query_set_service_client.js +220 -196
- package/build/src/v1beta/sample_query_set_service_proto_list.json +1 -0
- package/build/src/v1beta/schema_service_client.d.ts +144 -144
- package/build/src/v1beta/schema_service_client.js +203 -197
- package/build/src/v1beta/schema_service_proto_list.json +1 -0
- package/build/src/v1beta/search_service_client.d.ts +192 -228
- package/build/src/v1beta/search_service_client.js +228 -252
- package/build/src/v1beta/search_service_proto_list.json +1 -0
- package/build/src/v1beta/search_tuning_service_client.d.ts +144 -144
- package/build/src/v1beta/search_tuning_service_client.js +203 -197
- package/build/src/v1beta/search_tuning_service_proto_list.json +1 -0
- package/build/src/v1beta/serving_config_service_client.d.ts +144 -144
- package/build/src/v1beta/serving_config_service_client.js +208 -196
- package/build/src/v1beta/serving_config_service_proto_list.json +1 -0
- package/build/src/v1beta/session_service_client.d.ts +2266 -0
- package/build/src/v1beta/session_service_client.js +3136 -0
- package/build/src/v1beta/session_service_client_config.json +63 -0
- package/build/src/v1beta/session_service_proto_list.json +45 -0
- package/build/src/v1beta/site_search_engine_service_client.d.ts +144 -144
- package/build/src/v1beta/site_search_engine_service_client.js +215 -197
- package/build/src/v1beta/site_search_engine_service_proto_list.json +1 -0
- package/build/src/v1beta/user_event_service_client.d.ts +144 -144
- package/build/src/v1beta/user_event_service_client.js +209 -197
- package/build/src/v1beta/user_event_service_proto_list.json +1 -0
- package/package.json +7 -7
- package/CHANGELOG.md +0 -274
@@ -176,15 +176,15 @@ class UserEventServiceClient {
|
|
176
176
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
177
177
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
178
178
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
179
|
-
projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
180
179
|
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
180
|
+
projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
181
181
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
182
182
|
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,14 +194,14 @@ class UserEventServiceClient {
|
|
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
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
201
201
|
sampleQueryPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}'),
|
202
202
|
sampleQuerySetPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}'),
|
203
203
|
};
|
204
|
-
const protoFilesRoot = this._gaxModule.
|
204
|
+
const protoFilesRoot = this._gaxModule.protobufFromJSON(jsonProtos);
|
205
205
|
// This API contains "long-running operations", which return a
|
206
206
|
// an Operation object that allows for tracking of the operation,
|
207
207
|
// rather than holding a request open.
|
@@ -364,6 +364,12 @@ class UserEventServiceClient {
|
|
364
364
|
?.then(([response, options, rawResponse]) => {
|
365
365
|
this._log.info('writeUserEvent response %j', response);
|
366
366
|
return [response, options, rawResponse];
|
367
|
+
}).catch((error) => {
|
368
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
369
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
370
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
371
|
+
}
|
372
|
+
throw error;
|
367
373
|
});
|
368
374
|
}
|
369
375
|
collectUserEvent(request, optionsOrCallback, callback) {
|
@@ -394,6 +400,12 @@ class UserEventServiceClient {
|
|
394
400
|
?.then(([response, options, rawResponse]) => {
|
395
401
|
this._log.info('collectUserEvent response %j', response);
|
396
402
|
return [response, options, rawResponse];
|
403
|
+
}).catch((error) => {
|
404
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
405
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
406
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
407
|
+
}
|
408
|
+
throw error;
|
397
409
|
});
|
398
410
|
}
|
399
411
|
purgeUserEvents(request, optionsOrCallback, callback) {
|
@@ -1520,154 +1532,154 @@ class UserEventServiceClient {
|
|
1520
1532
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1521
1533
|
}
|
1522
1534
|
/**
|
1523
|
-
* Return a fully-qualified
|
1535
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1524
1536
|
*
|
1525
1537
|
* @param {string} project
|
1526
1538
|
* @param {string} location
|
1527
1539
|
* @param {string} collection
|
1528
1540
|
* @param {string} data_store
|
1529
1541
|
* @param {string} session
|
1542
|
+
* @param {string} answer
|
1530
1543
|
* @returns {string} Resource name string.
|
1531
1544
|
*/
|
1532
|
-
|
1533
|
-
return this.pathTemplates.
|
1545
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1546
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1534
1547
|
project: project,
|
1535
1548
|
location: location,
|
1536
1549
|
collection: collection,
|
1537
1550
|
data_store: dataStore,
|
1538
1551
|
session: session,
|
1552
|
+
answer: answer,
|
1539
1553
|
});
|
1540
1554
|
}
|
1541
1555
|
/**
|
1542
|
-
* Parse the project from
|
1556
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1543
1557
|
*
|
1544
|
-
* @param {string}
|
1545
|
-
* A fully-qualified path representing
|
1558
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1559
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1546
1560
|
* @returns {string} A string representing the project.
|
1547
1561
|
*/
|
1548
|
-
|
1549
|
-
return this.pathTemplates.
|
1562
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1563
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1550
1564
|
}
|
1551
1565
|
/**
|
1552
|
-
* Parse the location from
|
1566
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1553
1567
|
*
|
1554
|
-
* @param {string}
|
1555
|
-
* A fully-qualified path representing
|
1568
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1569
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1556
1570
|
* @returns {string} A string representing the location.
|
1557
1571
|
*/
|
1558
|
-
|
1559
|
-
return this.pathTemplates.
|
1572
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1573
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1560
1574
|
}
|
1561
1575
|
/**
|
1562
|
-
* Parse the collection from
|
1576
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1563
1577
|
*
|
1564
|
-
* @param {string}
|
1565
|
-
* A fully-qualified path representing
|
1578
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1579
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1566
1580
|
* @returns {string} A string representing the collection.
|
1567
1581
|
*/
|
1568
|
-
|
1569
|
-
return this.pathTemplates.
|
1582
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1583
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1570
1584
|
}
|
1571
1585
|
/**
|
1572
|
-
* Parse the data_store from
|
1586
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1573
1587
|
*
|
1574
|
-
* @param {string}
|
1575
|
-
* A fully-qualified path representing
|
1588
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1589
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1576
1590
|
* @returns {string} A string representing the data_store.
|
1577
1591
|
*/
|
1578
|
-
|
1579
|
-
return this.pathTemplates.
|
1592
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1593
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1580
1594
|
}
|
1581
1595
|
/**
|
1582
|
-
* Parse the session from
|
1596
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1583
1597
|
*
|
1584
|
-
* @param {string}
|
1585
|
-
* A fully-qualified path representing
|
1598
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1599
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1586
1600
|
* @returns {string} A string representing the session.
|
1587
1601
|
*/
|
1588
|
-
|
1589
|
-
return this.pathTemplates.
|
1602
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1603
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1590
1604
|
}
|
1591
1605
|
/**
|
1592
|
-
*
|
1606
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1607
|
+
*
|
1608
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1609
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1610
|
+
* @returns {string} A string representing the answer.
|
1611
|
+
*/
|
1612
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1613
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1614
|
+
}
|
1615
|
+
/**
|
1616
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
1593
1617
|
*
|
1594
1618
|
* @param {string} project
|
1595
1619
|
* @param {string} location
|
1596
1620
|
* @param {string} collection
|
1597
1621
|
* @param {string} data_store
|
1598
1622
|
* @param {string} session
|
1599
|
-
* @param {string} answer
|
1600
1623
|
* @returns {string} Resource name string.
|
1601
1624
|
*/
|
1602
|
-
|
1603
|
-
return this.pathTemplates.
|
1625
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
1626
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
1604
1627
|
project: project,
|
1605
1628
|
location: location,
|
1606
1629
|
collection: collection,
|
1607
1630
|
data_store: dataStore,
|
1608
1631
|
session: session,
|
1609
|
-
answer: answer,
|
1610
1632
|
});
|
1611
1633
|
}
|
1612
1634
|
/**
|
1613
|
-
* Parse the project from
|
1635
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
1614
1636
|
*
|
1615
|
-
* @param {string}
|
1616
|
-
* A fully-qualified path representing
|
1637
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1638
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1617
1639
|
* @returns {string} A string representing the project.
|
1618
1640
|
*/
|
1619
|
-
|
1620
|
-
return this.pathTemplates.
|
1641
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1642
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
1621
1643
|
}
|
1622
1644
|
/**
|
1623
|
-
* Parse the location from
|
1645
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
1624
1646
|
*
|
1625
|
-
* @param {string}
|
1626
|
-
* A fully-qualified path representing
|
1647
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1648
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1627
1649
|
* @returns {string} A string representing the location.
|
1628
1650
|
*/
|
1629
|
-
|
1630
|
-
return this.pathTemplates.
|
1651
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1652
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
1631
1653
|
}
|
1632
1654
|
/**
|
1633
|
-
* Parse the collection from
|
1655
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
1634
1656
|
*
|
1635
|
-
* @param {string}
|
1636
|
-
* A fully-qualified path representing
|
1657
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1658
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1637
1659
|
* @returns {string} A string representing the collection.
|
1638
1660
|
*/
|
1639
|
-
|
1640
|
-
return this.pathTemplates.
|
1661
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1662
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
1641
1663
|
}
|
1642
1664
|
/**
|
1643
|
-
* Parse the data_store from
|
1665
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
1644
1666
|
*
|
1645
|
-
* @param {string}
|
1646
|
-
* A fully-qualified path representing
|
1667
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1668
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1647
1669
|
* @returns {string} A string representing the data_store.
|
1648
1670
|
*/
|
1649
|
-
|
1650
|
-
return this.pathTemplates.
|
1671
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1672
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
1651
1673
|
}
|
1652
1674
|
/**
|
1653
|
-
* Parse the session from
|
1675
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
1654
1676
|
*
|
1655
|
-
* @param {string}
|
1656
|
-
* A fully-qualified path representing
|
1677
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1678
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1657
1679
|
* @returns {string} A string representing the session.
|
1658
1680
|
*/
|
1659
|
-
|
1660
|
-
return this.pathTemplates.
|
1661
|
-
}
|
1662
|
-
/**
|
1663
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1664
|
-
*
|
1665
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1666
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1667
|
-
* @returns {string} A string representing the answer.
|
1668
|
-
*/
|
1669
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1670
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1681
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1682
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
1671
1683
|
}
|
1672
1684
|
/**
|
1673
1685
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -2003,154 +2015,154 @@ class UserEventServiceClient {
|
|
2003
2015
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
2004
2016
|
}
|
2005
2017
|
/**
|
2006
|
-
* Return a fully-qualified
|
2018
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
2007
2019
|
*
|
2008
2020
|
* @param {string} project
|
2009
2021
|
* @param {string} location
|
2010
2022
|
* @param {string} collection
|
2011
2023
|
* @param {string} engine
|
2012
2024
|
* @param {string} session
|
2025
|
+
* @param {string} answer
|
2013
2026
|
* @returns {string} Resource name string.
|
2014
2027
|
*/
|
2015
|
-
|
2016
|
-
return this.pathTemplates.
|
2028
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
2029
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
2017
2030
|
project: project,
|
2018
2031
|
location: location,
|
2019
2032
|
collection: collection,
|
2020
2033
|
engine: engine,
|
2021
2034
|
session: session,
|
2035
|
+
answer: answer,
|
2022
2036
|
});
|
2023
2037
|
}
|
2024
2038
|
/**
|
2025
|
-
* Parse the project from
|
2039
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
2026
2040
|
*
|
2027
|
-
* @param {string}
|
2028
|
-
* A fully-qualified path representing
|
2041
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2042
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2029
2043
|
* @returns {string} A string representing the project.
|
2030
2044
|
*/
|
2031
|
-
|
2032
|
-
return this.pathTemplates.
|
2045
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2046
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
2033
2047
|
}
|
2034
2048
|
/**
|
2035
|
-
* Parse the location from
|
2049
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
2036
2050
|
*
|
2037
|
-
* @param {string}
|
2038
|
-
* A fully-qualified path representing
|
2051
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2052
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2039
2053
|
* @returns {string} A string representing the location.
|
2040
2054
|
*/
|
2041
|
-
|
2042
|
-
return this.pathTemplates.
|
2055
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2056
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
2043
2057
|
}
|
2044
2058
|
/**
|
2045
|
-
* Parse the collection from
|
2059
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
2046
2060
|
*
|
2047
|
-
* @param {string}
|
2048
|
-
* A fully-qualified path representing
|
2061
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2062
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2049
2063
|
* @returns {string} A string representing the collection.
|
2050
2064
|
*/
|
2051
|
-
|
2052
|
-
return this.pathTemplates.
|
2065
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2066
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
2053
2067
|
}
|
2054
2068
|
/**
|
2055
|
-
* Parse the engine from
|
2069
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
2056
2070
|
*
|
2057
|
-
* @param {string}
|
2058
|
-
* A fully-qualified path representing
|
2071
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2072
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2059
2073
|
* @returns {string} A string representing the engine.
|
2060
2074
|
*/
|
2061
|
-
|
2062
|
-
return this.pathTemplates.
|
2075
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2076
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
2063
2077
|
}
|
2064
2078
|
/**
|
2065
|
-
* Parse the session from
|
2079
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
2066
2080
|
*
|
2067
|
-
* @param {string}
|
2068
|
-
* A fully-qualified path representing
|
2081
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2082
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2069
2083
|
* @returns {string} A string representing the session.
|
2070
2084
|
*/
|
2071
|
-
|
2072
|
-
return this.pathTemplates.
|
2085
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2086
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
2073
2087
|
}
|
2074
2088
|
/**
|
2075
|
-
*
|
2089
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2090
|
+
*
|
2091
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2092
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2093
|
+
* @returns {string} A string representing the answer.
|
2094
|
+
*/
|
2095
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2096
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2097
|
+
}
|
2098
|
+
/**
|
2099
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
2076
2100
|
*
|
2077
2101
|
* @param {string} project
|
2078
2102
|
* @param {string} location
|
2079
2103
|
* @param {string} collection
|
2080
2104
|
* @param {string} engine
|
2081
2105
|
* @param {string} session
|
2082
|
-
* @param {string} answer
|
2083
2106
|
* @returns {string} Resource name string.
|
2084
2107
|
*/
|
2085
|
-
|
2086
|
-
return this.pathTemplates.
|
2108
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
2109
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
2087
2110
|
project: project,
|
2088
2111
|
location: location,
|
2089
2112
|
collection: collection,
|
2090
2113
|
engine: engine,
|
2091
2114
|
session: session,
|
2092
|
-
answer: answer,
|
2093
2115
|
});
|
2094
2116
|
}
|
2095
2117
|
/**
|
2096
|
-
* Parse the project from
|
2118
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
2097
2119
|
*
|
2098
|
-
* @param {string}
|
2099
|
-
* A fully-qualified path representing
|
2120
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2121
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2100
2122
|
* @returns {string} A string representing the project.
|
2101
2123
|
*/
|
2102
|
-
|
2103
|
-
return this.pathTemplates.
|
2124
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2125
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
2104
2126
|
}
|
2105
2127
|
/**
|
2106
|
-
* Parse the location from
|
2128
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
2107
2129
|
*
|
2108
|
-
* @param {string}
|
2109
|
-
* A fully-qualified path representing
|
2130
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2131
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2110
2132
|
* @returns {string} A string representing the location.
|
2111
2133
|
*/
|
2112
|
-
|
2113
|
-
return this.pathTemplates.
|
2134
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2135
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
2114
2136
|
}
|
2115
2137
|
/**
|
2116
|
-
* Parse the collection from
|
2138
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
2117
2139
|
*
|
2118
|
-
* @param {string}
|
2119
|
-
* A fully-qualified path representing
|
2140
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2141
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2120
2142
|
* @returns {string} A string representing the collection.
|
2121
2143
|
*/
|
2122
|
-
|
2123
|
-
return this.pathTemplates.
|
2144
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2145
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
2124
2146
|
}
|
2125
2147
|
/**
|
2126
|
-
* Parse the engine from
|
2148
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
2127
2149
|
*
|
2128
|
-
* @param {string}
|
2129
|
-
* A fully-qualified path representing
|
2150
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2151
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2130
2152
|
* @returns {string} A string representing the engine.
|
2131
2153
|
*/
|
2132
|
-
|
2133
|
-
return this.pathTemplates.
|
2154
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2155
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
2134
2156
|
}
|
2135
2157
|
/**
|
2136
|
-
* Parse the session from
|
2158
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
2137
2159
|
*
|
2138
|
-
* @param {string}
|
2139
|
-
* A fully-qualified path representing
|
2160
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2161
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2140
2162
|
* @returns {string} A string representing the session.
|
2141
2163
|
*/
|
2142
|
-
|
2143
|
-
return this.pathTemplates.
|
2144
|
-
}
|
2145
|
-
/**
|
2146
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2147
|
-
*
|
2148
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2149
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2150
|
-
* @returns {string} A string representing the answer.
|
2151
|
-
*/
|
2152
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2153
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2164
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2165
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
2154
2166
|
}
|
2155
2167
|
/**
|
2156
2168
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -2677,63 +2689,6 @@ class UserEventServiceClient {
|
|
2677
2689
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2678
2690
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
2679
2691
|
}
|
2680
|
-
/**
|
2681
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
2682
|
-
*
|
2683
|
-
* @param {string} project
|
2684
|
-
* @param {string} location
|
2685
|
-
* @param {string} data_store
|
2686
|
-
* @param {string} session
|
2687
|
-
* @returns {string} Resource name string.
|
2688
|
-
*/
|
2689
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
2690
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
2691
|
-
project: project,
|
2692
|
-
location: location,
|
2693
|
-
data_store: dataStore,
|
2694
|
-
session: session,
|
2695
|
-
});
|
2696
|
-
}
|
2697
|
-
/**
|
2698
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
2699
|
-
*
|
2700
|
-
* @param {string} projectLocationDataStoreSessionName
|
2701
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2702
|
-
* @returns {string} A string representing the project.
|
2703
|
-
*/
|
2704
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2705
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
2706
|
-
}
|
2707
|
-
/**
|
2708
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
2709
|
-
*
|
2710
|
-
* @param {string} projectLocationDataStoreSessionName
|
2711
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2712
|
-
* @returns {string} A string representing the location.
|
2713
|
-
*/
|
2714
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2715
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
2716
|
-
}
|
2717
|
-
/**
|
2718
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
2719
|
-
*
|
2720
|
-
* @param {string} projectLocationDataStoreSessionName
|
2721
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2722
|
-
* @returns {string} A string representing the data_store.
|
2723
|
-
*/
|
2724
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2725
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
2726
|
-
}
|
2727
|
-
/**
|
2728
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
2729
|
-
*
|
2730
|
-
* @param {string} projectLocationDataStoreSessionName
|
2731
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2732
|
-
* @returns {string} A string representing the session.
|
2733
|
-
*/
|
2734
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2735
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
2736
|
-
}
|
2737
2692
|
/**
|
2738
2693
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
2739
2694
|
*
|
@@ -2803,6 +2758,63 @@ class UserEventServiceClient {
|
|
2803
2758
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2804
2759
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
2805
2760
|
}
|
2761
|
+
/**
|
2762
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
2763
|
+
*
|
2764
|
+
* @param {string} project
|
2765
|
+
* @param {string} location
|
2766
|
+
* @param {string} data_store
|
2767
|
+
* @param {string} session
|
2768
|
+
* @returns {string} Resource name string.
|
2769
|
+
*/
|
2770
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
2771
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
2772
|
+
project: project,
|
2773
|
+
location: location,
|
2774
|
+
data_store: dataStore,
|
2775
|
+
session: session,
|
2776
|
+
});
|
2777
|
+
}
|
2778
|
+
/**
|
2779
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
2780
|
+
*
|
2781
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2782
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2783
|
+
* @returns {string} A string representing the project.
|
2784
|
+
*/
|
2785
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2786
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
2787
|
+
}
|
2788
|
+
/**
|
2789
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
2790
|
+
*
|
2791
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2792
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2793
|
+
* @returns {string} A string representing the location.
|
2794
|
+
*/
|
2795
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2796
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
2797
|
+
}
|
2798
|
+
/**
|
2799
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
2800
|
+
*
|
2801
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2802
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2803
|
+
* @returns {string} A string representing the data_store.
|
2804
|
+
*/
|
2805
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2806
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
2807
|
+
}
|
2808
|
+
/**
|
2809
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
2810
|
+
*
|
2811
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2812
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2813
|
+
* @returns {string} A string representing the session.
|
2814
|
+
*/
|
2815
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2816
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
2817
|
+
}
|
2806
2818
|
/**
|
2807
2819
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
2808
2820
|
*
|