@google-cloud/discoveryengine 2.2.0 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +30 -0
- package/build/protos/google/cloud/discoveryengine/v1/answer.proto +17 -0
- package/build/protos/google/cloud/discoveryengine/v1/assist_answer.proto +251 -0
- package/build/protos/google/cloud/discoveryengine/v1/assistant.proto +44 -0
- package/build/protos/google/cloud/discoveryengine/v1/assistant_service.proto +217 -0
- package/build/protos/google/cloud/discoveryengine/v1/chunk.proto +52 -0
- package/build/protos/google/cloud/discoveryengine/v1/cmek_config_service.proto +300 -0
- package/build/protos/google/cloud/discoveryengine/v1/common.proto +67 -0
- package/build/protos/google/cloud/discoveryengine/v1/control.proto +1 -3
- package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +18 -3
- package/build/protos/google/cloud/discoveryengine/v1/data_store.proto +54 -2
- package/build/protos/google/cloud/discoveryengine/v1/data_store_service.proto +14 -0
- package/build/protos/google/cloud/discoveryengine/v1/document.proto +95 -4
- package/build/protos/google/cloud/discoveryengine/v1/document_processing_config.proto +28 -1
- package/build/protos/google/cloud/discoveryengine/v1/engine.proto +131 -6
- package/build/protos/google/cloud/discoveryengine/v1/grounded_generation_service.proto +8 -0
- package/build/protos/google/cloud/discoveryengine/v1/grounding.proto +9 -0
- package/build/protos/google/cloud/discoveryengine/v1/identity_mapping_store.proto +84 -0
- package/build/protos/google/cloud/discoveryengine/v1/identity_mapping_store_service.proto +375 -0
- package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +14 -14
- package/build/protos/google/cloud/discoveryengine/v1/session.proto +21 -8
- package/build/protos/google/cloud/discoveryengine/v1/session_service.proto +128 -0
- package/build/protos/google/cloud/discoveryengine/v1/site_search_engine.proto +6 -0
- package/build/protos/google/cloud/discoveryengine/v1/user_license.proto +98 -0
- package/build/protos/google/cloud/discoveryengine/v1/user_license_service.proto +191 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +15 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +30 -9
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +8 -14
- package/build/protos/google/cloud/discoveryengine/v1alpha/session.proto +238 -8
- package/build/protos/google/cloud/discoveryengine/v1alpha/session_service.proto +201 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +26 -5
- package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +8 -14
- package/build/protos/google/cloud/discoveryengine/v1beta/session.proto +40 -8
- package/build/protos/google/cloud/discoveryengine/v1beta/session_service.proto +128 -0
- package/build/protos/protos.d.ts +21218 -11675
- package/build/protos/protos.js +92642 -66407
- package/build/protos/protos.json +5854 -2801
- package/build/src/index.d.ts +16 -1
- package/build/src/index.js +12 -2
- package/build/src/v1/assistant_service_client.d.ts +2058 -0
- package/build/src/v1/assistant_service_client.js +2957 -0
- package/build/src/v1/assistant_service_client_config.json +43 -0
- package/build/src/v1/assistant_service_proto_list.json +48 -0
- package/build/src/v1/cmek_config_service_client.d.ts +2398 -0
- package/build/src/v1/cmek_config_service_client.js +3426 -0
- package/build/src/v1/cmek_config_service_client_config.json +42 -0
- package/build/src/v1/cmek_config_service_proto_list.json +48 -0
- package/build/src/v1/completion_service_client.d.ts +345 -144
- package/build/src/v1/completion_service_client.js +482 -198
- package/build/src/v1/completion_service_proto_list.json +10 -1
- package/build/src/v1/control_service_client.d.ts +345 -144
- package/build/src/v1/control_service_client.js +498 -196
- package/build/src/v1/control_service_proto_list.json +10 -1
- package/build/src/v1/conversational_search_service_client.d.ts +392 -155
- package/build/src/v1/conversational_search_service_client.js +572 -204
- package/build/src/v1/conversational_search_service_proto_list.json +10 -1
- package/build/src/v1/data_store_service_client.d.ts +351 -144
- package/build/src/v1/data_store_service_client.js +488 -198
- package/build/src/v1/data_store_service_proto_list.json +10 -1
- package/build/src/v1/document_service_client.d.ts +345 -144
- package/build/src/v1/document_service_client.js +506 -198
- package/build/src/v1/document_service_proto_list.json +10 -1
- package/build/src/v1/engine_service_client.d.ts +345 -144
- package/build/src/v1/engine_service_client.js +488 -198
- package/build/src/v1/engine_service_proto_list.json +10 -1
- package/build/src/v1/gapic_metadata.json +270 -0
- package/build/src/v1/grounded_generation_service_client.d.ts +345 -144
- package/build/src/v1/grounded_generation_service_client.js +486 -196
- package/build/src/v1/grounded_generation_service_proto_list.json +10 -1
- package/build/src/v1/identity_mapping_store_service_client.d.ts +2581 -0
- package/build/src/v1/identity_mapping_store_service_client.js +3601 -0
- package/build/src/v1/identity_mapping_store_service_client_config.json +54 -0
- package/build/src/v1/identity_mapping_store_service_proto_list.json +48 -0
- package/build/src/v1/index.d.ts +5 -0
- package/build/src/v1/index.js +11 -1
- package/build/src/v1/project_service_client.d.ts +345 -144
- package/build/src/v1/project_service_client.js +476 -198
- package/build/src/v1/project_service_proto_list.json +10 -1
- package/build/src/v1/rank_service_client.d.ts +345 -144
- package/build/src/v1/rank_service_client.js +480 -196
- package/build/src/v1/rank_service_proto_list.json +10 -1
- package/build/src/v1/recommendation_service_client.d.ts +345 -144
- package/build/src/v1/recommendation_service_client.js +480 -196
- package/build/src/v1/recommendation_service_proto_list.json +10 -1
- package/build/src/v1/schema_service_client.d.ts +345 -144
- package/build/src/v1/schema_service_client.js +482 -198
- package/build/src/v1/schema_service_proto_list.json +10 -1
- package/build/src/v1/search_service_client.d.ts +393 -228
- package/build/src/v1/search_service_client.js +506 -252
- package/build/src/v1/search_service_proto_list.json +10 -1
- package/build/src/v1/search_tuning_service_client.d.ts +345 -144
- package/build/src/v1/search_tuning_service_client.js +482 -198
- package/build/src/v1/search_tuning_service_proto_list.json +10 -1
- package/build/src/v1/serving_config_service_client.d.ts +345 -144
- package/build/src/v1/serving_config_service_client.js +480 -196
- package/build/src/v1/serving_config_service_proto_list.json +10 -1
- package/build/src/v1/session_service_client.d.ts +2326 -0
- package/build/src/v1/session_service_client.js +3218 -0
- package/build/src/v1/session_service_client_config.json +63 -0
- package/build/src/v1/session_service_proto_list.json +48 -0
- package/build/src/v1/site_search_engine_service_client.d.ts +345 -144
- package/build/src/v1/site_search_engine_service_client.js +494 -198
- package/build/src/v1/site_search_engine_service_proto_list.json +10 -1
- package/build/src/v1/user_event_service_client.d.ts +345 -144
- package/build/src/v1/user_event_service_client.js +488 -198
- package/build/src/v1/user_event_service_proto_list.json +10 -1
- package/build/src/v1/user_license_service_client.d.ts +2367 -0
- package/build/src/v1/user_license_service_client.js +3346 -0
- package/build/src/v1/user_license_service_client_config.json +34 -0
- package/build/src/v1/user_license_service_proto_list.json +48 -0
- package/build/src/v1alpha/acl_config_service_client.d.ts +144 -144
- package/build/src/v1alpha/acl_config_service_client.js +208 -196
- package/build/src/v1alpha/acl_config_service_proto_list.json +1 -0
- package/build/src/v1alpha/chunk_service_client.d.ts +144 -144
- package/build/src/v1alpha/chunk_service_client.js +202 -196
- package/build/src/v1alpha/chunk_service_proto_list.json +1 -0
- package/build/src/v1alpha/completion_service_client.d.ts +144 -144
- package/build/src/v1alpha/completion_service_client.js +203 -197
- package/build/src/v1alpha/completion_service_proto_list.json +1 -0
- package/build/src/v1alpha/control_service_client.d.ts +144 -144
- package/build/src/v1alpha/control_service_client.js +220 -196
- package/build/src/v1alpha/control_service_proto_list.json +1 -0
- package/build/src/v1alpha/conversational_search_service_client.d.ts +221 -167
- package/build/src/v1alpha/conversational_search_service_client.js +310 -210
- package/build/src/v1alpha/conversational_search_service_proto_list.json +1 -0
- package/build/src/v1alpha/data_store_service_client.d.ts +144 -144
- package/build/src/v1alpha/data_store_service_client.js +221 -197
- package/build/src/v1alpha/data_store_service_proto_list.json +1 -0
- package/build/src/v1alpha/document_service_client.d.ts +144 -144
- package/build/src/v1alpha/document_service_client.js +233 -197
- package/build/src/v1alpha/document_service_proto_list.json +1 -0
- package/build/src/v1alpha/engine_service_client.d.ts +144 -144
- package/build/src/v1alpha/engine_service_client.js +221 -197
- package/build/src/v1alpha/engine_service_proto_list.json +1 -0
- package/build/src/v1alpha/estimate_billing_service_client.d.ts +144 -144
- package/build/src/v1alpha/estimate_billing_service_client.js +197 -197
- package/build/src/v1alpha/estimate_billing_service_proto_list.json +1 -0
- package/build/src/v1alpha/evaluation_service_client.d.ts +144 -144
- package/build/src/v1alpha/evaluation_service_client.js +203 -197
- package/build/src/v1alpha/evaluation_service_proto_list.json +1 -0
- package/build/src/v1alpha/gapic_metadata.json +82 -0
- package/build/src/v1alpha/grounded_generation_service_client.d.ts +144 -144
- package/build/src/v1alpha/grounded_generation_service_client.js +202 -196
- package/build/src/v1alpha/grounded_generation_service_proto_list.json +1 -0
- package/build/src/v1alpha/index.d.ts +1 -0
- package/build/src/v1alpha/index.js +3 -1
- package/build/src/v1alpha/project_service_client.d.ts +144 -144
- package/build/src/v1alpha/project_service_client.js +209 -197
- package/build/src/v1alpha/project_service_proto_list.json +1 -0
- package/build/src/v1alpha/rank_service_client.d.ts +144 -144
- package/build/src/v1alpha/rank_service_client.js +202 -196
- package/build/src/v1alpha/rank_service_proto_list.json +1 -0
- package/build/src/v1alpha/recommendation_service_client.d.ts +144 -144
- package/build/src/v1alpha/recommendation_service_client.js +202 -196
- package/build/src/v1alpha/recommendation_service_proto_list.json +1 -0
- package/build/src/v1alpha/sample_query_service_client.d.ts +144 -144
- package/build/src/v1alpha/sample_query_service_client.js +221 -197
- package/build/src/v1alpha/sample_query_service_proto_list.json +1 -0
- package/build/src/v1alpha/sample_query_set_service_client.d.ts +144 -144
- package/build/src/v1alpha/sample_query_set_service_client.js +220 -196
- package/build/src/v1alpha/sample_query_set_service_proto_list.json +1 -0
- package/build/src/v1alpha/schema_service_client.d.ts +144 -144
- package/build/src/v1alpha/schema_service_client.js +203 -197
- package/build/src/v1alpha/schema_service_proto_list.json +1 -0
- package/build/src/v1alpha/search_service_client.d.ts +168 -186
- package/build/src/v1alpha/search_service_client.js +212 -224
- package/build/src/v1alpha/search_service_proto_list.json +1 -0
- package/build/src/v1alpha/search_tuning_service_client.d.ts +144 -144
- package/build/src/v1alpha/search_tuning_service_client.js +203 -197
- package/build/src/v1alpha/search_tuning_service_proto_list.json +1 -0
- package/build/src/v1alpha/serving_config_service_client.d.ts +144 -144
- package/build/src/v1alpha/serving_config_service_client.js +208 -196
- package/build/src/v1alpha/serving_config_service_proto_list.json +1 -0
- package/build/src/v1alpha/session_service_client.d.ts +2331 -0
- package/build/src/v1alpha/session_service_client.js +3161 -0
- package/build/src/v1alpha/session_service_client_config.json +68 -0
- package/build/src/v1alpha/session_service_proto_list.json +49 -0
- package/build/src/v1alpha/site_search_engine_service_client.d.ts +144 -144
- package/build/src/v1alpha/site_search_engine_service_client.js +215 -197
- package/build/src/v1alpha/site_search_engine_service_proto_list.json +1 -0
- package/build/src/v1alpha/user_event_service_client.d.ts +144 -144
- package/build/src/v1alpha/user_event_service_client.js +209 -197
- package/build/src/v1alpha/user_event_service_proto_list.json +1 -0
- package/build/src/v1beta/completion_service_client.d.ts +144 -144
- package/build/src/v1beta/completion_service_client.js +209 -197
- package/build/src/v1beta/completion_service_proto_list.json +1 -0
- package/build/src/v1beta/control_service_client.d.ts +144 -144
- package/build/src/v1beta/control_service_client.js +220 -196
- package/build/src/v1beta/control_service_proto_list.json +1 -0
- package/build/src/v1beta/conversational_search_service_client.d.ts +215 -161
- package/build/src/v1beta/conversational_search_service_client.js +308 -208
- package/build/src/v1beta/conversational_search_service_proto_list.json +1 -0
- package/build/src/v1beta/data_store_service_client.d.ts +144 -144
- package/build/src/v1beta/data_store_service_client.js +209 -197
- package/build/src/v1beta/data_store_service_proto_list.json +1 -0
- package/build/src/v1beta/document_service_client.d.ts +144 -144
- package/build/src/v1beta/document_service_client.js +227 -197
- package/build/src/v1beta/document_service_proto_list.json +1 -0
- package/build/src/v1beta/engine_service_client.d.ts +144 -144
- package/build/src/v1beta/engine_service_client.js +221 -197
- package/build/src/v1beta/engine_service_proto_list.json +1 -0
- package/build/src/v1beta/evaluation_service_client.d.ts +144 -144
- package/build/src/v1beta/evaluation_service_client.js +203 -197
- package/build/src/v1beta/evaluation_service_proto_list.json +1 -0
- package/build/src/v1beta/gapic_metadata.json +68 -0
- package/build/src/v1beta/grounded_generation_service_client.d.ts +144 -144
- package/build/src/v1beta/grounded_generation_service_client.js +208 -196
- package/build/src/v1beta/grounded_generation_service_proto_list.json +1 -0
- package/build/src/v1beta/index.d.ts +1 -0
- package/build/src/v1beta/index.js +3 -1
- package/build/src/v1beta/project_service_client.d.ts +144 -144
- package/build/src/v1beta/project_service_client.js +197 -197
- package/build/src/v1beta/project_service_proto_list.json +1 -0
- package/build/src/v1beta/rank_service_client.d.ts +144 -144
- package/build/src/v1beta/rank_service_client.js +202 -196
- package/build/src/v1beta/rank_service_proto_list.json +1 -0
- package/build/src/v1beta/recommendation_service_client.d.ts +144 -144
- package/build/src/v1beta/recommendation_service_client.js +202 -196
- package/build/src/v1beta/recommendation_service_proto_list.json +1 -0
- package/build/src/v1beta/sample_query_service_client.d.ts +144 -144
- package/build/src/v1beta/sample_query_service_client.js +221 -197
- package/build/src/v1beta/sample_query_service_proto_list.json +1 -0
- package/build/src/v1beta/sample_query_set_service_client.d.ts +144 -144
- package/build/src/v1beta/sample_query_set_service_client.js +220 -196
- package/build/src/v1beta/sample_query_set_service_proto_list.json +1 -0
- package/build/src/v1beta/schema_service_client.d.ts +144 -144
- package/build/src/v1beta/schema_service_client.js +203 -197
- package/build/src/v1beta/schema_service_proto_list.json +1 -0
- package/build/src/v1beta/search_service_client.d.ts +192 -228
- package/build/src/v1beta/search_service_client.js +228 -252
- package/build/src/v1beta/search_service_proto_list.json +1 -0
- package/build/src/v1beta/search_tuning_service_client.d.ts +144 -144
- package/build/src/v1beta/search_tuning_service_client.js +203 -197
- package/build/src/v1beta/search_tuning_service_proto_list.json +1 -0
- package/build/src/v1beta/serving_config_service_client.d.ts +144 -144
- package/build/src/v1beta/serving_config_service_client.js +208 -196
- package/build/src/v1beta/serving_config_service_proto_list.json +1 -0
- package/build/src/v1beta/session_service_client.d.ts +2266 -0
- package/build/src/v1beta/session_service_client.js +3136 -0
- package/build/src/v1beta/session_service_client_config.json +63 -0
- package/build/src/v1beta/session_service_proto_list.json +45 -0
- package/build/src/v1beta/site_search_engine_service_client.d.ts +144 -144
- package/build/src/v1beta/site_search_engine_service_client.js +215 -197
- package/build/src/v1beta/site_search_engine_service_proto_list.json +1 -0
- package/build/src/v1beta/user_event_service_client.d.ts +144 -144
- package/build/src/v1beta/user_event_service_client.js +209 -197
- package/build/src/v1beta/user_event_service_proto_list.json +1 -0
- package/package.json +7 -7
- package/CHANGELOG.md +0 -274
@@ -178,16 +178,16 @@ class DataStoreServiceClient {
|
|
178
178
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
179
179
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
180
180
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
181
|
-
projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
182
181
|
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
182
|
+
projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
183
183
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
184
184
|
projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
185
185
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
186
186
|
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
187
187
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
188
188
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
189
|
-
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
190
189
|
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
190
|
+
projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
191
191
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
192
192
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
193
193
|
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -197,8 +197,8 @@ class DataStoreServiceClient {
|
|
197
197
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
198
198
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
199
199
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
200
|
-
projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
201
200
|
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
201
|
+
projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
202
202
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
203
203
|
projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
204
204
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
@@ -211,7 +211,7 @@ class DataStoreServiceClient {
|
|
211
211
|
this.descriptors.page = {
|
212
212
|
listDataStores: new this._gaxModule.PageDescriptor('pageToken', 'nextPageToken', 'dataStores')
|
213
213
|
};
|
214
|
-
const protoFilesRoot = this._gaxModule.
|
214
|
+
const protoFilesRoot = this._gaxModule.protobufFromJSON(jsonProtos);
|
215
215
|
// This API contains "long-running operations", which return a
|
216
216
|
// an Operation object that allows for tracking of the operation,
|
217
217
|
// rather than holding a request open.
|
@@ -375,6 +375,12 @@ class DataStoreServiceClient {
|
|
375
375
|
?.then(([response, options, rawResponse]) => {
|
376
376
|
this._log.info('getDataStore response %j', response);
|
377
377
|
return [response, options, rawResponse];
|
378
|
+
}).catch((error) => {
|
379
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
380
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
381
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
382
|
+
}
|
383
|
+
throw error;
|
378
384
|
});
|
379
385
|
}
|
380
386
|
updateDataStore(request, optionsOrCallback, callback) {
|
@@ -405,6 +411,12 @@ class DataStoreServiceClient {
|
|
405
411
|
?.then(([response, options, rawResponse]) => {
|
406
412
|
this._log.info('updateDataStore response %j', response);
|
407
413
|
return [response, options, rawResponse];
|
414
|
+
}).catch((error) => {
|
415
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
416
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
417
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
418
|
+
}
|
419
|
+
throw error;
|
408
420
|
});
|
409
421
|
}
|
410
422
|
createDataStore(request, optionsOrCallback, callback) {
|
@@ -1738,154 +1750,154 @@ class DataStoreServiceClient {
|
|
1738
1750
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1739
1751
|
}
|
1740
1752
|
/**
|
1741
|
-
* Return a fully-qualified
|
1753
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1742
1754
|
*
|
1743
1755
|
* @param {string} project
|
1744
1756
|
* @param {string} location
|
1745
1757
|
* @param {string} collection
|
1746
1758
|
* @param {string} data_store
|
1747
1759
|
* @param {string} session
|
1760
|
+
* @param {string} answer
|
1748
1761
|
* @returns {string} Resource name string.
|
1749
1762
|
*/
|
1750
|
-
|
1751
|
-
return this.pathTemplates.
|
1763
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1764
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1752
1765
|
project: project,
|
1753
1766
|
location: location,
|
1754
1767
|
collection: collection,
|
1755
1768
|
data_store: dataStore,
|
1756
1769
|
session: session,
|
1770
|
+
answer: answer,
|
1757
1771
|
});
|
1758
1772
|
}
|
1759
1773
|
/**
|
1760
|
-
* Parse the project from
|
1774
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1761
1775
|
*
|
1762
|
-
* @param {string}
|
1763
|
-
* A fully-qualified path representing
|
1776
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1777
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1764
1778
|
* @returns {string} A string representing the project.
|
1765
1779
|
*/
|
1766
|
-
|
1767
|
-
return this.pathTemplates.
|
1780
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1781
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1768
1782
|
}
|
1769
1783
|
/**
|
1770
|
-
* Parse the location from
|
1784
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1771
1785
|
*
|
1772
|
-
* @param {string}
|
1773
|
-
* A fully-qualified path representing
|
1786
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1787
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1774
1788
|
* @returns {string} A string representing the location.
|
1775
1789
|
*/
|
1776
|
-
|
1777
|
-
return this.pathTemplates.
|
1790
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1791
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1778
1792
|
}
|
1779
1793
|
/**
|
1780
|
-
* Parse the collection from
|
1794
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1781
1795
|
*
|
1782
|
-
* @param {string}
|
1783
|
-
* A fully-qualified path representing
|
1796
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1797
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1784
1798
|
* @returns {string} A string representing the collection.
|
1785
1799
|
*/
|
1786
|
-
|
1787
|
-
return this.pathTemplates.
|
1800
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1801
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1788
1802
|
}
|
1789
1803
|
/**
|
1790
|
-
* Parse the data_store from
|
1804
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1791
1805
|
*
|
1792
|
-
* @param {string}
|
1793
|
-
* A fully-qualified path representing
|
1806
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1807
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1794
1808
|
* @returns {string} A string representing the data_store.
|
1795
1809
|
*/
|
1796
|
-
|
1797
|
-
return this.pathTemplates.
|
1810
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1811
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1798
1812
|
}
|
1799
1813
|
/**
|
1800
|
-
* Parse the session from
|
1814
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1801
1815
|
*
|
1802
|
-
* @param {string}
|
1803
|
-
* A fully-qualified path representing
|
1816
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1817
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1804
1818
|
* @returns {string} A string representing the session.
|
1805
1819
|
*/
|
1806
|
-
|
1807
|
-
return this.pathTemplates.
|
1820
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1821
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1808
1822
|
}
|
1809
1823
|
/**
|
1810
|
-
*
|
1824
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1825
|
+
*
|
1826
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1827
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1828
|
+
* @returns {string} A string representing the answer.
|
1829
|
+
*/
|
1830
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1831
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1832
|
+
}
|
1833
|
+
/**
|
1834
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
1811
1835
|
*
|
1812
1836
|
* @param {string} project
|
1813
1837
|
* @param {string} location
|
1814
1838
|
* @param {string} collection
|
1815
1839
|
* @param {string} data_store
|
1816
1840
|
* @param {string} session
|
1817
|
-
* @param {string} answer
|
1818
1841
|
* @returns {string} Resource name string.
|
1819
1842
|
*/
|
1820
|
-
|
1821
|
-
return this.pathTemplates.
|
1843
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
1844
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
1822
1845
|
project: project,
|
1823
1846
|
location: location,
|
1824
1847
|
collection: collection,
|
1825
1848
|
data_store: dataStore,
|
1826
1849
|
session: session,
|
1827
|
-
answer: answer,
|
1828
1850
|
});
|
1829
1851
|
}
|
1830
1852
|
/**
|
1831
|
-
* Parse the project from
|
1853
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
1832
1854
|
*
|
1833
|
-
* @param {string}
|
1834
|
-
* A fully-qualified path representing
|
1855
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1856
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1835
1857
|
* @returns {string} A string representing the project.
|
1836
1858
|
*/
|
1837
|
-
|
1838
|
-
return this.pathTemplates.
|
1859
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1860
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
1839
1861
|
}
|
1840
1862
|
/**
|
1841
|
-
* Parse the location from
|
1863
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
1842
1864
|
*
|
1843
|
-
* @param {string}
|
1844
|
-
* A fully-qualified path representing
|
1865
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1866
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1845
1867
|
* @returns {string} A string representing the location.
|
1846
1868
|
*/
|
1847
|
-
|
1848
|
-
return this.pathTemplates.
|
1869
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1870
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
1849
1871
|
}
|
1850
1872
|
/**
|
1851
|
-
* Parse the collection from
|
1873
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
1852
1874
|
*
|
1853
|
-
* @param {string}
|
1854
|
-
* A fully-qualified path representing
|
1875
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1876
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1855
1877
|
* @returns {string} A string representing the collection.
|
1856
1878
|
*/
|
1857
|
-
|
1858
|
-
return this.pathTemplates.
|
1879
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1880
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
1859
1881
|
}
|
1860
1882
|
/**
|
1861
|
-
* Parse the data_store from
|
1883
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
1862
1884
|
*
|
1863
|
-
* @param {string}
|
1864
|
-
* A fully-qualified path representing
|
1885
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1886
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1865
1887
|
* @returns {string} A string representing the data_store.
|
1866
1888
|
*/
|
1867
|
-
|
1868
|
-
return this.pathTemplates.
|
1889
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1890
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
1869
1891
|
}
|
1870
1892
|
/**
|
1871
|
-
* Parse the session from
|
1893
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
1872
1894
|
*
|
1873
|
-
* @param {string}
|
1874
|
-
* A fully-qualified path representing
|
1895
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1896
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1875
1897
|
* @returns {string} A string representing the session.
|
1876
1898
|
*/
|
1877
|
-
|
1878
|
-
return this.pathTemplates.
|
1879
|
-
}
|
1880
|
-
/**
|
1881
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1882
|
-
*
|
1883
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1884
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1885
|
-
* @returns {string} A string representing the answer.
|
1886
|
-
*/
|
1887
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1888
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1899
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1900
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
1889
1901
|
}
|
1890
1902
|
/**
|
1891
1903
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -2290,154 +2302,154 @@ class DataStoreServiceClient {
|
|
2290
2302
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
2291
2303
|
}
|
2292
2304
|
/**
|
2293
|
-
* Return a fully-qualified
|
2305
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
2294
2306
|
*
|
2295
2307
|
* @param {string} project
|
2296
2308
|
* @param {string} location
|
2297
2309
|
* @param {string} collection
|
2298
2310
|
* @param {string} engine
|
2299
2311
|
* @param {string} session
|
2312
|
+
* @param {string} answer
|
2300
2313
|
* @returns {string} Resource name string.
|
2301
2314
|
*/
|
2302
|
-
|
2303
|
-
return this.pathTemplates.
|
2315
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
2316
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
2304
2317
|
project: project,
|
2305
2318
|
location: location,
|
2306
2319
|
collection: collection,
|
2307
2320
|
engine: engine,
|
2308
2321
|
session: session,
|
2322
|
+
answer: answer,
|
2309
2323
|
});
|
2310
2324
|
}
|
2311
2325
|
/**
|
2312
|
-
* Parse the project from
|
2326
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
2313
2327
|
*
|
2314
|
-
* @param {string}
|
2315
|
-
* A fully-qualified path representing
|
2328
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2329
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2316
2330
|
* @returns {string} A string representing the project.
|
2317
2331
|
*/
|
2318
|
-
|
2319
|
-
return this.pathTemplates.
|
2332
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2333
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
2320
2334
|
}
|
2321
2335
|
/**
|
2322
|
-
* Parse the location from
|
2336
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
2323
2337
|
*
|
2324
|
-
* @param {string}
|
2325
|
-
* A fully-qualified path representing
|
2338
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2339
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2326
2340
|
* @returns {string} A string representing the location.
|
2327
2341
|
*/
|
2328
|
-
|
2329
|
-
return this.pathTemplates.
|
2342
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2343
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
2330
2344
|
}
|
2331
2345
|
/**
|
2332
|
-
* Parse the collection from
|
2346
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
2333
2347
|
*
|
2334
|
-
* @param {string}
|
2335
|
-
* A fully-qualified path representing
|
2348
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2349
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2336
2350
|
* @returns {string} A string representing the collection.
|
2337
2351
|
*/
|
2338
|
-
|
2339
|
-
return this.pathTemplates.
|
2352
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2353
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
2340
2354
|
}
|
2341
2355
|
/**
|
2342
|
-
* Parse the engine from
|
2356
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
2343
2357
|
*
|
2344
|
-
* @param {string}
|
2345
|
-
* A fully-qualified path representing
|
2358
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2359
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2346
2360
|
* @returns {string} A string representing the engine.
|
2347
2361
|
*/
|
2348
|
-
|
2349
|
-
return this.pathTemplates.
|
2362
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2363
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
2350
2364
|
}
|
2351
2365
|
/**
|
2352
|
-
* Parse the session from
|
2366
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
2353
2367
|
*
|
2354
|
-
* @param {string}
|
2355
|
-
* A fully-qualified path representing
|
2368
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2369
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2356
2370
|
* @returns {string} A string representing the session.
|
2357
2371
|
*/
|
2358
|
-
|
2359
|
-
return this.pathTemplates.
|
2372
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2373
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
2360
2374
|
}
|
2361
2375
|
/**
|
2362
|
-
*
|
2376
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2377
|
+
*
|
2378
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2379
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2380
|
+
* @returns {string} A string representing the answer.
|
2381
|
+
*/
|
2382
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2383
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2384
|
+
}
|
2385
|
+
/**
|
2386
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
2363
2387
|
*
|
2364
2388
|
* @param {string} project
|
2365
2389
|
* @param {string} location
|
2366
2390
|
* @param {string} collection
|
2367
2391
|
* @param {string} engine
|
2368
2392
|
* @param {string} session
|
2369
|
-
* @param {string} answer
|
2370
2393
|
* @returns {string} Resource name string.
|
2371
2394
|
*/
|
2372
|
-
|
2373
|
-
return this.pathTemplates.
|
2395
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
2396
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
2374
2397
|
project: project,
|
2375
2398
|
location: location,
|
2376
2399
|
collection: collection,
|
2377
2400
|
engine: engine,
|
2378
2401
|
session: session,
|
2379
|
-
answer: answer,
|
2380
2402
|
});
|
2381
2403
|
}
|
2382
2404
|
/**
|
2383
|
-
* Parse the project from
|
2405
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
2384
2406
|
*
|
2385
|
-
* @param {string}
|
2386
|
-
* A fully-qualified path representing
|
2407
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2408
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2387
2409
|
* @returns {string} A string representing the project.
|
2388
2410
|
*/
|
2389
|
-
|
2390
|
-
return this.pathTemplates.
|
2411
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2412
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
2391
2413
|
}
|
2392
2414
|
/**
|
2393
|
-
* Parse the location from
|
2415
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
2394
2416
|
*
|
2395
|
-
* @param {string}
|
2396
|
-
* A fully-qualified path representing
|
2417
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2418
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2397
2419
|
* @returns {string} A string representing the location.
|
2398
2420
|
*/
|
2399
|
-
|
2400
|
-
return this.pathTemplates.
|
2421
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2422
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
2401
2423
|
}
|
2402
2424
|
/**
|
2403
|
-
* Parse the collection from
|
2425
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
2404
2426
|
*
|
2405
|
-
* @param {string}
|
2406
|
-
* A fully-qualified path representing
|
2427
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2428
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2407
2429
|
* @returns {string} A string representing the collection.
|
2408
2430
|
*/
|
2409
|
-
|
2410
|
-
return this.pathTemplates.
|
2431
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2432
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
2411
2433
|
}
|
2412
2434
|
/**
|
2413
|
-
* Parse the engine from
|
2435
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
2414
2436
|
*
|
2415
|
-
* @param {string}
|
2416
|
-
* A fully-qualified path representing
|
2437
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2438
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2417
2439
|
* @returns {string} A string representing the engine.
|
2418
2440
|
*/
|
2419
|
-
|
2420
|
-
return this.pathTemplates.
|
2441
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2442
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
2421
2443
|
}
|
2422
2444
|
/**
|
2423
|
-
* Parse the session from
|
2445
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
2424
2446
|
*
|
2425
|
-
* @param {string}
|
2426
|
-
* A fully-qualified path representing
|
2447
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2448
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2427
2449
|
* @returns {string} A string representing the session.
|
2428
2450
|
*/
|
2429
|
-
|
2430
|
-
return this.pathTemplates.
|
2431
|
-
}
|
2432
|
-
/**
|
2433
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2434
|
-
*
|
2435
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2436
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2437
|
-
* @returns {string} A string representing the answer.
|
2438
|
-
*/
|
2439
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2440
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2451
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2452
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
2441
2453
|
}
|
2442
2454
|
/**
|
2443
2455
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -2964,63 +2976,6 @@ class DataStoreServiceClient {
|
|
2964
2976
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2965
2977
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
2966
2978
|
}
|
2967
|
-
/**
|
2968
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
2969
|
-
*
|
2970
|
-
* @param {string} project
|
2971
|
-
* @param {string} location
|
2972
|
-
* @param {string} data_store
|
2973
|
-
* @param {string} session
|
2974
|
-
* @returns {string} Resource name string.
|
2975
|
-
*/
|
2976
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
2977
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
2978
|
-
project: project,
|
2979
|
-
location: location,
|
2980
|
-
data_store: dataStore,
|
2981
|
-
session: session,
|
2982
|
-
});
|
2983
|
-
}
|
2984
|
-
/**
|
2985
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
2986
|
-
*
|
2987
|
-
* @param {string} projectLocationDataStoreSessionName
|
2988
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2989
|
-
* @returns {string} A string representing the project.
|
2990
|
-
*/
|
2991
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2992
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
2993
|
-
}
|
2994
|
-
/**
|
2995
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
2996
|
-
*
|
2997
|
-
* @param {string} projectLocationDataStoreSessionName
|
2998
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2999
|
-
* @returns {string} A string representing the location.
|
3000
|
-
*/
|
3001
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3002
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
3003
|
-
}
|
3004
|
-
/**
|
3005
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
3006
|
-
*
|
3007
|
-
* @param {string} projectLocationDataStoreSessionName
|
3008
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3009
|
-
* @returns {string} A string representing the data_store.
|
3010
|
-
*/
|
3011
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3012
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
3013
|
-
}
|
3014
|
-
/**
|
3015
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
3016
|
-
*
|
3017
|
-
* @param {string} projectLocationDataStoreSessionName
|
3018
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3019
|
-
* @returns {string} A string representing the session.
|
3020
|
-
*/
|
3021
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3022
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
3023
|
-
}
|
3024
2979
|
/**
|
3025
2980
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
3026
2981
|
*
|
@@ -3090,6 +3045,63 @@ class DataStoreServiceClient {
|
|
3090
3045
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
3091
3046
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
3092
3047
|
}
|
3048
|
+
/**
|
3049
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
3050
|
+
*
|
3051
|
+
* @param {string} project
|
3052
|
+
* @param {string} location
|
3053
|
+
* @param {string} data_store
|
3054
|
+
* @param {string} session
|
3055
|
+
* @returns {string} Resource name string.
|
3056
|
+
*/
|
3057
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
3058
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
3059
|
+
project: project,
|
3060
|
+
location: location,
|
3061
|
+
data_store: dataStore,
|
3062
|
+
session: session,
|
3063
|
+
});
|
3064
|
+
}
|
3065
|
+
/**
|
3066
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
3067
|
+
*
|
3068
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3069
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3070
|
+
* @returns {string} A string representing the project.
|
3071
|
+
*/
|
3072
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3073
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
3074
|
+
}
|
3075
|
+
/**
|
3076
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
3077
|
+
*
|
3078
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3079
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3080
|
+
* @returns {string} A string representing the location.
|
3081
|
+
*/
|
3082
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3083
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
3084
|
+
}
|
3085
|
+
/**
|
3086
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
3087
|
+
*
|
3088
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3089
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3090
|
+
* @returns {string} A string representing the data_store.
|
3091
|
+
*/
|
3092
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3093
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
3094
|
+
}
|
3095
|
+
/**
|
3096
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
3097
|
+
*
|
3098
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3099
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3100
|
+
* @returns {string} A string representing the session.
|
3101
|
+
*/
|
3102
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3103
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
3104
|
+
}
|
3093
3105
|
/**
|
3094
3106
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
3095
3107
|
*
|