@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
@@ -177,16 +177,16 @@ class SampleQuerySetServiceClient {
|
|
177
177
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
178
178
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
179
179
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
180
|
-
projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
181
180
|
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
181
|
+
projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
182
182
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
183
183
|
projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
184
184
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
185
185
|
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
186
186
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
187
187
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
188
|
-
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
189
188
|
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
189
|
+
projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
190
190
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
191
191
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
192
192
|
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -196,8 +196,8 @@ class SampleQuerySetServiceClient {
|
|
196
196
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
197
197
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
198
198
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
199
|
-
projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
200
199
|
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
200
|
+
projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
201
201
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
202
202
|
projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
203
203
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
@@ -349,6 +349,12 @@ class SampleQuerySetServiceClient {
|
|
349
349
|
?.then(([response, options, rawResponse]) => {
|
350
350
|
this._log.info('getSampleQuerySet response %j', response);
|
351
351
|
return [response, options, rawResponse];
|
352
|
+
}).catch((error) => {
|
353
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
354
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
355
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
356
|
+
}
|
357
|
+
throw error;
|
352
358
|
});
|
353
359
|
}
|
354
360
|
createSampleQuerySet(request, optionsOrCallback, callback) {
|
@@ -379,6 +385,12 @@ class SampleQuerySetServiceClient {
|
|
379
385
|
?.then(([response, options, rawResponse]) => {
|
380
386
|
this._log.info('createSampleQuerySet response %j', response);
|
381
387
|
return [response, options, rawResponse];
|
388
|
+
}).catch((error) => {
|
389
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
390
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
391
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
392
|
+
}
|
393
|
+
throw error;
|
382
394
|
});
|
383
395
|
}
|
384
396
|
updateSampleQuerySet(request, optionsOrCallback, callback) {
|
@@ -409,6 +421,12 @@ class SampleQuerySetServiceClient {
|
|
409
421
|
?.then(([response, options, rawResponse]) => {
|
410
422
|
this._log.info('updateSampleQuerySet response %j', response);
|
411
423
|
return [response, options, rawResponse];
|
424
|
+
}).catch((error) => {
|
425
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
426
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
427
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
428
|
+
}
|
429
|
+
throw error;
|
412
430
|
});
|
413
431
|
}
|
414
432
|
deleteSampleQuerySet(request, optionsOrCallback, callback) {
|
@@ -439,6 +457,12 @@ class SampleQuerySetServiceClient {
|
|
439
457
|
?.then(([response, options, rawResponse]) => {
|
440
458
|
this._log.info('deleteSampleQuerySet response %j', response);
|
441
459
|
return [response, options, rawResponse];
|
460
|
+
}).catch((error) => {
|
461
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
462
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
463
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
464
|
+
}
|
465
|
+
throw error;
|
442
466
|
});
|
443
467
|
}
|
444
468
|
listSampleQuerySets(request, optionsOrCallback, callback) {
|
@@ -1478,154 +1502,154 @@ class SampleQuerySetServiceClient {
|
|
1478
1502
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1479
1503
|
}
|
1480
1504
|
/**
|
1481
|
-
* Return a fully-qualified
|
1505
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1482
1506
|
*
|
1483
1507
|
* @param {string} project
|
1484
1508
|
* @param {string} location
|
1485
1509
|
* @param {string} collection
|
1486
1510
|
* @param {string} data_store
|
1487
1511
|
* @param {string} session
|
1512
|
+
* @param {string} answer
|
1488
1513
|
* @returns {string} Resource name string.
|
1489
1514
|
*/
|
1490
|
-
|
1491
|
-
return this.pathTemplates.
|
1515
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1516
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1492
1517
|
project: project,
|
1493
1518
|
location: location,
|
1494
1519
|
collection: collection,
|
1495
1520
|
data_store: dataStore,
|
1496
1521
|
session: session,
|
1522
|
+
answer: answer,
|
1497
1523
|
});
|
1498
1524
|
}
|
1499
1525
|
/**
|
1500
|
-
* Parse the project from
|
1526
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1501
1527
|
*
|
1502
|
-
* @param {string}
|
1503
|
-
* A fully-qualified path representing
|
1528
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1529
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1504
1530
|
* @returns {string} A string representing the project.
|
1505
1531
|
*/
|
1506
|
-
|
1507
|
-
return this.pathTemplates.
|
1532
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1533
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1508
1534
|
}
|
1509
1535
|
/**
|
1510
|
-
* Parse the location from
|
1536
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1511
1537
|
*
|
1512
|
-
* @param {string}
|
1513
|
-
* A fully-qualified path representing
|
1538
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1539
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1514
1540
|
* @returns {string} A string representing the location.
|
1515
1541
|
*/
|
1516
|
-
|
1517
|
-
return this.pathTemplates.
|
1542
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1543
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1518
1544
|
}
|
1519
1545
|
/**
|
1520
|
-
* Parse the collection from
|
1546
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1521
1547
|
*
|
1522
|
-
* @param {string}
|
1523
|
-
* A fully-qualified path representing
|
1548
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1549
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1524
1550
|
* @returns {string} A string representing the collection.
|
1525
1551
|
*/
|
1526
|
-
|
1527
|
-
return this.pathTemplates.
|
1552
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1553
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1528
1554
|
}
|
1529
1555
|
/**
|
1530
|
-
* Parse the data_store from
|
1556
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1531
1557
|
*
|
1532
|
-
* @param {string}
|
1533
|
-
* A fully-qualified path representing
|
1558
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1559
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1534
1560
|
* @returns {string} A string representing the data_store.
|
1535
1561
|
*/
|
1536
|
-
|
1537
|
-
return this.pathTemplates.
|
1562
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1563
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1538
1564
|
}
|
1539
1565
|
/**
|
1540
|
-
* Parse the session from
|
1566
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1541
1567
|
*
|
1542
|
-
* @param {string}
|
1543
|
-
* A fully-qualified path representing
|
1568
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1569
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1544
1570
|
* @returns {string} A string representing the session.
|
1545
1571
|
*/
|
1546
|
-
|
1547
|
-
return this.pathTemplates.
|
1572
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1573
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1548
1574
|
}
|
1549
1575
|
/**
|
1550
|
-
*
|
1576
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1577
|
+
*
|
1578
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1579
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1580
|
+
* @returns {string} A string representing the answer.
|
1581
|
+
*/
|
1582
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1583
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1584
|
+
}
|
1585
|
+
/**
|
1586
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
1551
1587
|
*
|
1552
1588
|
* @param {string} project
|
1553
1589
|
* @param {string} location
|
1554
1590
|
* @param {string} collection
|
1555
1591
|
* @param {string} data_store
|
1556
1592
|
* @param {string} session
|
1557
|
-
* @param {string} answer
|
1558
1593
|
* @returns {string} Resource name string.
|
1559
1594
|
*/
|
1560
|
-
|
1561
|
-
return this.pathTemplates.
|
1595
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
1596
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
1562
1597
|
project: project,
|
1563
1598
|
location: location,
|
1564
1599
|
collection: collection,
|
1565
1600
|
data_store: dataStore,
|
1566
1601
|
session: session,
|
1567
|
-
answer: answer,
|
1568
1602
|
});
|
1569
1603
|
}
|
1570
1604
|
/**
|
1571
|
-
* Parse the project from
|
1605
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
1572
1606
|
*
|
1573
|
-
* @param {string}
|
1574
|
-
* A fully-qualified path representing
|
1607
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1608
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1575
1609
|
* @returns {string} A string representing the project.
|
1576
1610
|
*/
|
1577
|
-
|
1578
|
-
return this.pathTemplates.
|
1611
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1612
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
1579
1613
|
}
|
1580
1614
|
/**
|
1581
|
-
* Parse the location from
|
1615
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
1582
1616
|
*
|
1583
|
-
* @param {string}
|
1584
|
-
* A fully-qualified path representing
|
1617
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1618
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1585
1619
|
* @returns {string} A string representing the location.
|
1586
1620
|
*/
|
1587
|
-
|
1588
|
-
return this.pathTemplates.
|
1621
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1622
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
1589
1623
|
}
|
1590
1624
|
/**
|
1591
|
-
* Parse the collection from
|
1625
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
1592
1626
|
*
|
1593
|
-
* @param {string}
|
1594
|
-
* A fully-qualified path representing
|
1627
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1628
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1595
1629
|
* @returns {string} A string representing the collection.
|
1596
1630
|
*/
|
1597
|
-
|
1598
|
-
return this.pathTemplates.
|
1631
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1632
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
1599
1633
|
}
|
1600
1634
|
/**
|
1601
|
-
* Parse the data_store from
|
1635
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
1602
1636
|
*
|
1603
|
-
* @param {string}
|
1604
|
-
* A fully-qualified path representing
|
1637
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1638
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1605
1639
|
* @returns {string} A string representing the data_store.
|
1606
1640
|
*/
|
1607
|
-
|
1608
|
-
return this.pathTemplates.
|
1641
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1642
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
1609
1643
|
}
|
1610
1644
|
/**
|
1611
|
-
* Parse the session from
|
1645
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
1612
1646
|
*
|
1613
|
-
* @param {string}
|
1614
|
-
* A fully-qualified path representing
|
1647
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1648
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1615
1649
|
* @returns {string} A string representing the session.
|
1616
1650
|
*/
|
1617
|
-
|
1618
|
-
return this.pathTemplates.
|
1619
|
-
}
|
1620
|
-
/**
|
1621
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1622
|
-
*
|
1623
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1624
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1625
|
-
* @returns {string} A string representing the answer.
|
1626
|
-
*/
|
1627
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1628
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1651
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1652
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
1629
1653
|
}
|
1630
1654
|
/**
|
1631
1655
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -2030,154 +2054,154 @@ class SampleQuerySetServiceClient {
|
|
2030
2054
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
2031
2055
|
}
|
2032
2056
|
/**
|
2033
|
-
* Return a fully-qualified
|
2057
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
2034
2058
|
*
|
2035
2059
|
* @param {string} project
|
2036
2060
|
* @param {string} location
|
2037
2061
|
* @param {string} collection
|
2038
2062
|
* @param {string} engine
|
2039
2063
|
* @param {string} session
|
2064
|
+
* @param {string} answer
|
2040
2065
|
* @returns {string} Resource name string.
|
2041
2066
|
*/
|
2042
|
-
|
2043
|
-
return this.pathTemplates.
|
2067
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
2068
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
2044
2069
|
project: project,
|
2045
2070
|
location: location,
|
2046
2071
|
collection: collection,
|
2047
2072
|
engine: engine,
|
2048
2073
|
session: session,
|
2074
|
+
answer: answer,
|
2049
2075
|
});
|
2050
2076
|
}
|
2051
2077
|
/**
|
2052
|
-
* Parse the project from
|
2078
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
2053
2079
|
*
|
2054
|
-
* @param {string}
|
2055
|
-
* A fully-qualified path representing
|
2080
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2081
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2056
2082
|
* @returns {string} A string representing the project.
|
2057
2083
|
*/
|
2058
|
-
|
2059
|
-
return this.pathTemplates.
|
2084
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2085
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
2060
2086
|
}
|
2061
2087
|
/**
|
2062
|
-
* Parse the location from
|
2088
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
2063
2089
|
*
|
2064
|
-
* @param {string}
|
2065
|
-
* A fully-qualified path representing
|
2090
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2091
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2066
2092
|
* @returns {string} A string representing the location.
|
2067
2093
|
*/
|
2068
|
-
|
2069
|
-
return this.pathTemplates.
|
2094
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2095
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
2070
2096
|
}
|
2071
2097
|
/**
|
2072
|
-
* Parse the collection from
|
2098
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
2073
2099
|
*
|
2074
|
-
* @param {string}
|
2075
|
-
* A fully-qualified path representing
|
2100
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2101
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2076
2102
|
* @returns {string} A string representing the collection.
|
2077
2103
|
*/
|
2078
|
-
|
2079
|
-
return this.pathTemplates.
|
2104
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2105
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
2080
2106
|
}
|
2081
2107
|
/**
|
2082
|
-
* Parse the engine from
|
2108
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
2083
2109
|
*
|
2084
|
-
* @param {string}
|
2085
|
-
* A fully-qualified path representing
|
2110
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2111
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2086
2112
|
* @returns {string} A string representing the engine.
|
2087
2113
|
*/
|
2088
|
-
|
2089
|
-
return this.pathTemplates.
|
2114
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2115
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
2090
2116
|
}
|
2091
2117
|
/**
|
2092
|
-
* Parse the session from
|
2118
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
2093
2119
|
*
|
2094
|
-
* @param {string}
|
2095
|
-
* A fully-qualified path representing
|
2120
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2121
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2096
2122
|
* @returns {string} A string representing the session.
|
2097
2123
|
*/
|
2098
|
-
|
2099
|
-
return this.pathTemplates.
|
2124
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2125
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
2100
2126
|
}
|
2101
2127
|
/**
|
2102
|
-
*
|
2128
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2129
|
+
*
|
2130
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2131
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2132
|
+
* @returns {string} A string representing the answer.
|
2133
|
+
*/
|
2134
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2135
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2136
|
+
}
|
2137
|
+
/**
|
2138
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
2103
2139
|
*
|
2104
2140
|
* @param {string} project
|
2105
2141
|
* @param {string} location
|
2106
2142
|
* @param {string} collection
|
2107
2143
|
* @param {string} engine
|
2108
2144
|
* @param {string} session
|
2109
|
-
* @param {string} answer
|
2110
2145
|
* @returns {string} Resource name string.
|
2111
2146
|
*/
|
2112
|
-
|
2113
|
-
return this.pathTemplates.
|
2147
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
2148
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
2114
2149
|
project: project,
|
2115
2150
|
location: location,
|
2116
2151
|
collection: collection,
|
2117
2152
|
engine: engine,
|
2118
2153
|
session: session,
|
2119
|
-
answer: answer,
|
2120
2154
|
});
|
2121
2155
|
}
|
2122
2156
|
/**
|
2123
|
-
* Parse the project from
|
2157
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
2124
2158
|
*
|
2125
|
-
* @param {string}
|
2126
|
-
* A fully-qualified path representing
|
2159
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2160
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2127
2161
|
* @returns {string} A string representing the project.
|
2128
2162
|
*/
|
2129
|
-
|
2130
|
-
return this.pathTemplates.
|
2163
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2164
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
2131
2165
|
}
|
2132
2166
|
/**
|
2133
|
-
* Parse the location from
|
2167
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
2134
2168
|
*
|
2135
|
-
* @param {string}
|
2136
|
-
* A fully-qualified path representing
|
2169
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2170
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2137
2171
|
* @returns {string} A string representing the location.
|
2138
2172
|
*/
|
2139
|
-
|
2140
|
-
return this.pathTemplates.
|
2173
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2174
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
2141
2175
|
}
|
2142
2176
|
/**
|
2143
|
-
* Parse the collection from
|
2177
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
2144
2178
|
*
|
2145
|
-
* @param {string}
|
2146
|
-
* A fully-qualified path representing
|
2179
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2180
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2147
2181
|
* @returns {string} A string representing the collection.
|
2148
2182
|
*/
|
2149
|
-
|
2150
|
-
return this.pathTemplates.
|
2183
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2184
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
2151
2185
|
}
|
2152
2186
|
/**
|
2153
|
-
* Parse the engine from
|
2187
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
2154
2188
|
*
|
2155
|
-
* @param {string}
|
2156
|
-
* A fully-qualified path representing
|
2189
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2190
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2157
2191
|
* @returns {string} A string representing the engine.
|
2158
2192
|
*/
|
2159
|
-
|
2160
|
-
return this.pathTemplates.
|
2193
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2194
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
2161
2195
|
}
|
2162
2196
|
/**
|
2163
|
-
* Parse the session from
|
2197
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
2164
2198
|
*
|
2165
|
-
* @param {string}
|
2166
|
-
* A fully-qualified path representing
|
2199
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2200
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2167
2201
|
* @returns {string} A string representing the session.
|
2168
2202
|
*/
|
2169
|
-
|
2170
|
-
return this.pathTemplates.
|
2171
|
-
}
|
2172
|
-
/**
|
2173
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2174
|
-
*
|
2175
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2176
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2177
|
-
* @returns {string} A string representing the answer.
|
2178
|
-
*/
|
2179
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2180
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2203
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2204
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
2181
2205
|
}
|
2182
2206
|
/**
|
2183
2207
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -2704,63 +2728,6 @@ class SampleQuerySetServiceClient {
|
|
2704
2728
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2705
2729
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
2706
2730
|
}
|
2707
|
-
/**
|
2708
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
2709
|
-
*
|
2710
|
-
* @param {string} project
|
2711
|
-
* @param {string} location
|
2712
|
-
* @param {string} data_store
|
2713
|
-
* @param {string} session
|
2714
|
-
* @returns {string} Resource name string.
|
2715
|
-
*/
|
2716
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
2717
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
2718
|
-
project: project,
|
2719
|
-
location: location,
|
2720
|
-
data_store: dataStore,
|
2721
|
-
session: session,
|
2722
|
-
});
|
2723
|
-
}
|
2724
|
-
/**
|
2725
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
2726
|
-
*
|
2727
|
-
* @param {string} projectLocationDataStoreSessionName
|
2728
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2729
|
-
* @returns {string} A string representing the project.
|
2730
|
-
*/
|
2731
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2732
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
2733
|
-
}
|
2734
|
-
/**
|
2735
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
2736
|
-
*
|
2737
|
-
* @param {string} projectLocationDataStoreSessionName
|
2738
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2739
|
-
* @returns {string} A string representing the location.
|
2740
|
-
*/
|
2741
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2742
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
2743
|
-
}
|
2744
|
-
/**
|
2745
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
2746
|
-
*
|
2747
|
-
* @param {string} projectLocationDataStoreSessionName
|
2748
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2749
|
-
* @returns {string} A string representing the data_store.
|
2750
|
-
*/
|
2751
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2752
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
2753
|
-
}
|
2754
|
-
/**
|
2755
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
2756
|
-
*
|
2757
|
-
* @param {string} projectLocationDataStoreSessionName
|
2758
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2759
|
-
* @returns {string} A string representing the session.
|
2760
|
-
*/
|
2761
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2762
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
2763
|
-
}
|
2764
2731
|
/**
|
2765
2732
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
2766
2733
|
*
|
@@ -2830,6 +2797,63 @@ class SampleQuerySetServiceClient {
|
|
2830
2797
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2831
2798
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
2832
2799
|
}
|
2800
|
+
/**
|
2801
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
2802
|
+
*
|
2803
|
+
* @param {string} project
|
2804
|
+
* @param {string} location
|
2805
|
+
* @param {string} data_store
|
2806
|
+
* @param {string} session
|
2807
|
+
* @returns {string} Resource name string.
|
2808
|
+
*/
|
2809
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
2810
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
2811
|
+
project: project,
|
2812
|
+
location: location,
|
2813
|
+
data_store: dataStore,
|
2814
|
+
session: session,
|
2815
|
+
});
|
2816
|
+
}
|
2817
|
+
/**
|
2818
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
2819
|
+
*
|
2820
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2821
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2822
|
+
* @returns {string} A string representing the project.
|
2823
|
+
*/
|
2824
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2825
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
2826
|
+
}
|
2827
|
+
/**
|
2828
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
2829
|
+
*
|
2830
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2831
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2832
|
+
* @returns {string} A string representing the location.
|
2833
|
+
*/
|
2834
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2835
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
2836
|
+
}
|
2837
|
+
/**
|
2838
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
2839
|
+
*
|
2840
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2841
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2842
|
+
* @returns {string} A string representing the data_store.
|
2843
|
+
*/
|
2844
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2845
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
2846
|
+
}
|
2847
|
+
/**
|
2848
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
2849
|
+
*
|
2850
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2851
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2852
|
+
* @returns {string} A string representing the session.
|
2853
|
+
*/
|
2854
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2855
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
2856
|
+
}
|
2833
2857
|
/**
|
2834
2858
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
2835
2859
|
*
|