@google-cloud/discoveryengine 2.2.0 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +30 -0
- package/build/protos/google/cloud/discoveryengine/v1/answer.proto +17 -0
- package/build/protos/google/cloud/discoveryengine/v1/assist_answer.proto +251 -0
- package/build/protos/google/cloud/discoveryengine/v1/assistant.proto +44 -0
- package/build/protos/google/cloud/discoveryengine/v1/assistant_service.proto +217 -0
- package/build/protos/google/cloud/discoveryengine/v1/chunk.proto +52 -0
- package/build/protos/google/cloud/discoveryengine/v1/cmek_config_service.proto +300 -0
- package/build/protos/google/cloud/discoveryengine/v1/common.proto +67 -0
- package/build/protos/google/cloud/discoveryengine/v1/control.proto +1 -3
- package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +18 -3
- package/build/protos/google/cloud/discoveryengine/v1/data_store.proto +54 -2
- package/build/protos/google/cloud/discoveryengine/v1/data_store_service.proto +14 -0
- package/build/protos/google/cloud/discoveryengine/v1/document.proto +95 -4
- package/build/protos/google/cloud/discoveryengine/v1/document_processing_config.proto +28 -1
- package/build/protos/google/cloud/discoveryengine/v1/engine.proto +131 -6
- package/build/protos/google/cloud/discoveryengine/v1/grounded_generation_service.proto +8 -0
- package/build/protos/google/cloud/discoveryengine/v1/grounding.proto +9 -0
- package/build/protos/google/cloud/discoveryengine/v1/identity_mapping_store.proto +84 -0
- package/build/protos/google/cloud/discoveryengine/v1/identity_mapping_store_service.proto +375 -0
- package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +14 -14
- package/build/protos/google/cloud/discoveryengine/v1/session.proto +21 -8
- package/build/protos/google/cloud/discoveryengine/v1/session_service.proto +128 -0
- package/build/protos/google/cloud/discoveryengine/v1/site_search_engine.proto +6 -0
- package/build/protos/google/cloud/discoveryengine/v1/user_license.proto +98 -0
- package/build/protos/google/cloud/discoveryengine/v1/user_license_service.proto +191 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +15 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +30 -9
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +8 -14
- package/build/protos/google/cloud/discoveryengine/v1alpha/session.proto +238 -8
- package/build/protos/google/cloud/discoveryengine/v1alpha/session_service.proto +201 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +26 -5
- package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +8 -14
- package/build/protos/google/cloud/discoveryengine/v1beta/session.proto +40 -8
- package/build/protos/google/cloud/discoveryengine/v1beta/session_service.proto +128 -0
- package/build/protos/protos.d.ts +21218 -11675
- package/build/protos/protos.js +92642 -66407
- package/build/protos/protos.json +5854 -2801
- package/build/src/index.d.ts +16 -1
- package/build/src/index.js +12 -2
- package/build/src/v1/assistant_service_client.d.ts +2058 -0
- package/build/src/v1/assistant_service_client.js +2957 -0
- package/build/src/v1/assistant_service_client_config.json +43 -0
- package/build/src/v1/assistant_service_proto_list.json +48 -0
- package/build/src/v1/cmek_config_service_client.d.ts +2398 -0
- package/build/src/v1/cmek_config_service_client.js +3426 -0
- package/build/src/v1/cmek_config_service_client_config.json +42 -0
- package/build/src/v1/cmek_config_service_proto_list.json +48 -0
- package/build/src/v1/completion_service_client.d.ts +345 -144
- package/build/src/v1/completion_service_client.js +482 -198
- package/build/src/v1/completion_service_proto_list.json +10 -1
- package/build/src/v1/control_service_client.d.ts +345 -144
- package/build/src/v1/control_service_client.js +498 -196
- package/build/src/v1/control_service_proto_list.json +10 -1
- package/build/src/v1/conversational_search_service_client.d.ts +392 -155
- package/build/src/v1/conversational_search_service_client.js +572 -204
- package/build/src/v1/conversational_search_service_proto_list.json +10 -1
- package/build/src/v1/data_store_service_client.d.ts +351 -144
- package/build/src/v1/data_store_service_client.js +488 -198
- package/build/src/v1/data_store_service_proto_list.json +10 -1
- package/build/src/v1/document_service_client.d.ts +345 -144
- package/build/src/v1/document_service_client.js +506 -198
- package/build/src/v1/document_service_proto_list.json +10 -1
- package/build/src/v1/engine_service_client.d.ts +345 -144
- package/build/src/v1/engine_service_client.js +488 -198
- package/build/src/v1/engine_service_proto_list.json +10 -1
- package/build/src/v1/gapic_metadata.json +270 -0
- package/build/src/v1/grounded_generation_service_client.d.ts +345 -144
- package/build/src/v1/grounded_generation_service_client.js +486 -196
- package/build/src/v1/grounded_generation_service_proto_list.json +10 -1
- package/build/src/v1/identity_mapping_store_service_client.d.ts +2581 -0
- package/build/src/v1/identity_mapping_store_service_client.js +3601 -0
- package/build/src/v1/identity_mapping_store_service_client_config.json +54 -0
- package/build/src/v1/identity_mapping_store_service_proto_list.json +48 -0
- package/build/src/v1/index.d.ts +5 -0
- package/build/src/v1/index.js +11 -1
- package/build/src/v1/project_service_client.d.ts +345 -144
- package/build/src/v1/project_service_client.js +476 -198
- package/build/src/v1/project_service_proto_list.json +10 -1
- package/build/src/v1/rank_service_client.d.ts +345 -144
- package/build/src/v1/rank_service_client.js +480 -196
- package/build/src/v1/rank_service_proto_list.json +10 -1
- package/build/src/v1/recommendation_service_client.d.ts +345 -144
- package/build/src/v1/recommendation_service_client.js +480 -196
- package/build/src/v1/recommendation_service_proto_list.json +10 -1
- package/build/src/v1/schema_service_client.d.ts +345 -144
- package/build/src/v1/schema_service_client.js +482 -198
- package/build/src/v1/schema_service_proto_list.json +10 -1
- package/build/src/v1/search_service_client.d.ts +393 -228
- package/build/src/v1/search_service_client.js +506 -252
- package/build/src/v1/search_service_proto_list.json +10 -1
- package/build/src/v1/search_tuning_service_client.d.ts +345 -144
- package/build/src/v1/search_tuning_service_client.js +482 -198
- package/build/src/v1/search_tuning_service_proto_list.json +10 -1
- package/build/src/v1/serving_config_service_client.d.ts +345 -144
- package/build/src/v1/serving_config_service_client.js +480 -196
- package/build/src/v1/serving_config_service_proto_list.json +10 -1
- package/build/src/v1/session_service_client.d.ts +2326 -0
- package/build/src/v1/session_service_client.js +3218 -0
- package/build/src/v1/session_service_client_config.json +63 -0
- package/build/src/v1/session_service_proto_list.json +48 -0
- package/build/src/v1/site_search_engine_service_client.d.ts +345 -144
- package/build/src/v1/site_search_engine_service_client.js +494 -198
- package/build/src/v1/site_search_engine_service_proto_list.json +10 -1
- package/build/src/v1/user_event_service_client.d.ts +345 -144
- package/build/src/v1/user_event_service_client.js +488 -198
- package/build/src/v1/user_event_service_proto_list.json +10 -1
- package/build/src/v1/user_license_service_client.d.ts +2367 -0
- package/build/src/v1/user_license_service_client.js +3346 -0
- package/build/src/v1/user_license_service_client_config.json +34 -0
- package/build/src/v1/user_license_service_proto_list.json +48 -0
- package/build/src/v1alpha/acl_config_service_client.d.ts +144 -144
- package/build/src/v1alpha/acl_config_service_client.js +208 -196
- package/build/src/v1alpha/acl_config_service_proto_list.json +1 -0
- package/build/src/v1alpha/chunk_service_client.d.ts +144 -144
- package/build/src/v1alpha/chunk_service_client.js +202 -196
- package/build/src/v1alpha/chunk_service_proto_list.json +1 -0
- package/build/src/v1alpha/completion_service_client.d.ts +144 -144
- package/build/src/v1alpha/completion_service_client.js +203 -197
- package/build/src/v1alpha/completion_service_proto_list.json +1 -0
- package/build/src/v1alpha/control_service_client.d.ts +144 -144
- package/build/src/v1alpha/control_service_client.js +220 -196
- package/build/src/v1alpha/control_service_proto_list.json +1 -0
- package/build/src/v1alpha/conversational_search_service_client.d.ts +221 -167
- package/build/src/v1alpha/conversational_search_service_client.js +310 -210
- package/build/src/v1alpha/conversational_search_service_proto_list.json +1 -0
- package/build/src/v1alpha/data_store_service_client.d.ts +144 -144
- package/build/src/v1alpha/data_store_service_client.js +221 -197
- package/build/src/v1alpha/data_store_service_proto_list.json +1 -0
- package/build/src/v1alpha/document_service_client.d.ts +144 -144
- package/build/src/v1alpha/document_service_client.js +233 -197
- package/build/src/v1alpha/document_service_proto_list.json +1 -0
- package/build/src/v1alpha/engine_service_client.d.ts +144 -144
- package/build/src/v1alpha/engine_service_client.js +221 -197
- package/build/src/v1alpha/engine_service_proto_list.json +1 -0
- package/build/src/v1alpha/estimate_billing_service_client.d.ts +144 -144
- package/build/src/v1alpha/estimate_billing_service_client.js +197 -197
- package/build/src/v1alpha/estimate_billing_service_proto_list.json +1 -0
- package/build/src/v1alpha/evaluation_service_client.d.ts +144 -144
- package/build/src/v1alpha/evaluation_service_client.js +203 -197
- package/build/src/v1alpha/evaluation_service_proto_list.json +1 -0
- package/build/src/v1alpha/gapic_metadata.json +82 -0
- package/build/src/v1alpha/grounded_generation_service_client.d.ts +144 -144
- package/build/src/v1alpha/grounded_generation_service_client.js +202 -196
- package/build/src/v1alpha/grounded_generation_service_proto_list.json +1 -0
- package/build/src/v1alpha/index.d.ts +1 -0
- package/build/src/v1alpha/index.js +3 -1
- package/build/src/v1alpha/project_service_client.d.ts +144 -144
- package/build/src/v1alpha/project_service_client.js +209 -197
- package/build/src/v1alpha/project_service_proto_list.json +1 -0
- package/build/src/v1alpha/rank_service_client.d.ts +144 -144
- package/build/src/v1alpha/rank_service_client.js +202 -196
- package/build/src/v1alpha/rank_service_proto_list.json +1 -0
- package/build/src/v1alpha/recommendation_service_client.d.ts +144 -144
- package/build/src/v1alpha/recommendation_service_client.js +202 -196
- package/build/src/v1alpha/recommendation_service_proto_list.json +1 -0
- package/build/src/v1alpha/sample_query_service_client.d.ts +144 -144
- package/build/src/v1alpha/sample_query_service_client.js +221 -197
- package/build/src/v1alpha/sample_query_service_proto_list.json +1 -0
- package/build/src/v1alpha/sample_query_set_service_client.d.ts +144 -144
- package/build/src/v1alpha/sample_query_set_service_client.js +220 -196
- package/build/src/v1alpha/sample_query_set_service_proto_list.json +1 -0
- package/build/src/v1alpha/schema_service_client.d.ts +144 -144
- package/build/src/v1alpha/schema_service_client.js +203 -197
- package/build/src/v1alpha/schema_service_proto_list.json +1 -0
- package/build/src/v1alpha/search_service_client.d.ts +168 -186
- package/build/src/v1alpha/search_service_client.js +212 -224
- package/build/src/v1alpha/search_service_proto_list.json +1 -0
- package/build/src/v1alpha/search_tuning_service_client.d.ts +144 -144
- package/build/src/v1alpha/search_tuning_service_client.js +203 -197
- package/build/src/v1alpha/search_tuning_service_proto_list.json +1 -0
- package/build/src/v1alpha/serving_config_service_client.d.ts +144 -144
- package/build/src/v1alpha/serving_config_service_client.js +208 -196
- package/build/src/v1alpha/serving_config_service_proto_list.json +1 -0
- package/build/src/v1alpha/session_service_client.d.ts +2331 -0
- package/build/src/v1alpha/session_service_client.js +3161 -0
- package/build/src/v1alpha/session_service_client_config.json +68 -0
- package/build/src/v1alpha/session_service_proto_list.json +49 -0
- package/build/src/v1alpha/site_search_engine_service_client.d.ts +144 -144
- package/build/src/v1alpha/site_search_engine_service_client.js +215 -197
- package/build/src/v1alpha/site_search_engine_service_proto_list.json +1 -0
- package/build/src/v1alpha/user_event_service_client.d.ts +144 -144
- package/build/src/v1alpha/user_event_service_client.js +209 -197
- package/build/src/v1alpha/user_event_service_proto_list.json +1 -0
- package/build/src/v1beta/completion_service_client.d.ts +144 -144
- package/build/src/v1beta/completion_service_client.js +209 -197
- package/build/src/v1beta/completion_service_proto_list.json +1 -0
- package/build/src/v1beta/control_service_client.d.ts +144 -144
- package/build/src/v1beta/control_service_client.js +220 -196
- package/build/src/v1beta/control_service_proto_list.json +1 -0
- package/build/src/v1beta/conversational_search_service_client.d.ts +215 -161
- package/build/src/v1beta/conversational_search_service_client.js +308 -208
- package/build/src/v1beta/conversational_search_service_proto_list.json +1 -0
- package/build/src/v1beta/data_store_service_client.d.ts +144 -144
- package/build/src/v1beta/data_store_service_client.js +209 -197
- package/build/src/v1beta/data_store_service_proto_list.json +1 -0
- package/build/src/v1beta/document_service_client.d.ts +144 -144
- package/build/src/v1beta/document_service_client.js +227 -197
- package/build/src/v1beta/document_service_proto_list.json +1 -0
- package/build/src/v1beta/engine_service_client.d.ts +144 -144
- package/build/src/v1beta/engine_service_client.js +221 -197
- package/build/src/v1beta/engine_service_proto_list.json +1 -0
- package/build/src/v1beta/evaluation_service_client.d.ts +144 -144
- package/build/src/v1beta/evaluation_service_client.js +203 -197
- package/build/src/v1beta/evaluation_service_proto_list.json +1 -0
- package/build/src/v1beta/gapic_metadata.json +68 -0
- package/build/src/v1beta/grounded_generation_service_client.d.ts +144 -144
- package/build/src/v1beta/grounded_generation_service_client.js +208 -196
- package/build/src/v1beta/grounded_generation_service_proto_list.json +1 -0
- package/build/src/v1beta/index.d.ts +1 -0
- package/build/src/v1beta/index.js +3 -1
- package/build/src/v1beta/project_service_client.d.ts +144 -144
- package/build/src/v1beta/project_service_client.js +197 -197
- package/build/src/v1beta/project_service_proto_list.json +1 -0
- package/build/src/v1beta/rank_service_client.d.ts +144 -144
- package/build/src/v1beta/rank_service_client.js +202 -196
- package/build/src/v1beta/rank_service_proto_list.json +1 -0
- package/build/src/v1beta/recommendation_service_client.d.ts +144 -144
- package/build/src/v1beta/recommendation_service_client.js +202 -196
- package/build/src/v1beta/recommendation_service_proto_list.json +1 -0
- package/build/src/v1beta/sample_query_service_client.d.ts +144 -144
- package/build/src/v1beta/sample_query_service_client.js +221 -197
- package/build/src/v1beta/sample_query_service_proto_list.json +1 -0
- package/build/src/v1beta/sample_query_set_service_client.d.ts +144 -144
- package/build/src/v1beta/sample_query_set_service_client.js +220 -196
- package/build/src/v1beta/sample_query_set_service_proto_list.json +1 -0
- package/build/src/v1beta/schema_service_client.d.ts +144 -144
- package/build/src/v1beta/schema_service_client.js +203 -197
- package/build/src/v1beta/schema_service_proto_list.json +1 -0
- package/build/src/v1beta/search_service_client.d.ts +192 -228
- package/build/src/v1beta/search_service_client.js +228 -252
- package/build/src/v1beta/search_service_proto_list.json +1 -0
- package/build/src/v1beta/search_tuning_service_client.d.ts +144 -144
- package/build/src/v1beta/search_tuning_service_client.js +203 -197
- package/build/src/v1beta/search_tuning_service_proto_list.json +1 -0
- package/build/src/v1beta/serving_config_service_client.d.ts +144 -144
- package/build/src/v1beta/serving_config_service_client.js +208 -196
- package/build/src/v1beta/serving_config_service_proto_list.json +1 -0
- package/build/src/v1beta/session_service_client.d.ts +2266 -0
- package/build/src/v1beta/session_service_client.js +3136 -0
- package/build/src/v1beta/session_service_client_config.json +63 -0
- package/build/src/v1beta/session_service_proto_list.json +45 -0
- package/build/src/v1beta/site_search_engine_service_client.d.ts +144 -144
- package/build/src/v1beta/site_search_engine_service_client.js +215 -197
- package/build/src/v1beta/site_search_engine_service_proto_list.json +1 -0
- package/build/src/v1beta/user_event_service_client.d.ts +144 -144
- package/build/src/v1beta/user_event_service_client.js +209 -197
- package/build/src/v1beta/user_event_service_proto_list.json +1 -0
- package/package.json +7 -7
- package/CHANGELOG.md +0 -274
@@ -176,16 +176,16 @@ class SchemaServiceClient {
|
|
176
176
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
177
177
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
178
178
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
179
|
-
projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
180
179
|
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
180
|
+
projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
181
181
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
182
182
|
projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
183
183
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
184
184
|
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
185
185
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
186
186
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
187
|
-
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
188
187
|
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
188
|
+
projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
189
189
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
190
190
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
191
191
|
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -195,8 +195,8 @@ class SchemaServiceClient {
|
|
195
195
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
196
196
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
197
197
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
198
|
-
projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
199
198
|
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
199
|
+
projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
200
200
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
201
201
|
projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
202
202
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
@@ -209,7 +209,7 @@ class SchemaServiceClient {
|
|
209
209
|
this.descriptors.page = {
|
210
210
|
listSchemas: new this._gaxModule.PageDescriptor('pageToken', 'nextPageToken', 'schemas')
|
211
211
|
};
|
212
|
-
const protoFilesRoot = this._gaxModule.
|
212
|
+
const protoFilesRoot = this._gaxModule.protobufFromJSON(jsonProtos);
|
213
213
|
// This API contains "long-running operations", which return a
|
214
214
|
// an Operation object that allows for tracking of the operation,
|
215
215
|
// rather than holding a request open.
|
@@ -376,6 +376,12 @@ class SchemaServiceClient {
|
|
376
376
|
?.then(([response, options, rawResponse]) => {
|
377
377
|
this._log.info('getSchema response %j', response);
|
378
378
|
return [response, options, rawResponse];
|
379
|
+
}).catch((error) => {
|
380
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
381
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
382
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
383
|
+
}
|
384
|
+
throw error;
|
379
385
|
});
|
380
386
|
}
|
381
387
|
createSchema(request, optionsOrCallback, callback) {
|
@@ -1692,154 +1698,154 @@ class SchemaServiceClient {
|
|
1692
1698
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1693
1699
|
}
|
1694
1700
|
/**
|
1695
|
-
* Return a fully-qualified
|
1701
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1696
1702
|
*
|
1697
1703
|
* @param {string} project
|
1698
1704
|
* @param {string} location
|
1699
1705
|
* @param {string} collection
|
1700
1706
|
* @param {string} data_store
|
1701
1707
|
* @param {string} session
|
1708
|
+
* @param {string} answer
|
1702
1709
|
* @returns {string} Resource name string.
|
1703
1710
|
*/
|
1704
|
-
|
1705
|
-
return this.pathTemplates.
|
1711
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1712
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1706
1713
|
project: project,
|
1707
1714
|
location: location,
|
1708
1715
|
collection: collection,
|
1709
1716
|
data_store: dataStore,
|
1710
1717
|
session: session,
|
1718
|
+
answer: answer,
|
1711
1719
|
});
|
1712
1720
|
}
|
1713
1721
|
/**
|
1714
|
-
* Parse the project from
|
1722
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1715
1723
|
*
|
1716
|
-
* @param {string}
|
1717
|
-
* A fully-qualified path representing
|
1724
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1725
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1718
1726
|
* @returns {string} A string representing the project.
|
1719
1727
|
*/
|
1720
|
-
|
1721
|
-
return this.pathTemplates.
|
1728
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1729
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1722
1730
|
}
|
1723
1731
|
/**
|
1724
|
-
* Parse the location from
|
1732
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1725
1733
|
*
|
1726
|
-
* @param {string}
|
1727
|
-
* A fully-qualified path representing
|
1734
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1735
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1728
1736
|
* @returns {string} A string representing the location.
|
1729
1737
|
*/
|
1730
|
-
|
1731
|
-
return this.pathTemplates.
|
1738
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1739
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1732
1740
|
}
|
1733
1741
|
/**
|
1734
|
-
* Parse the collection from
|
1742
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1735
1743
|
*
|
1736
|
-
* @param {string}
|
1737
|
-
* A fully-qualified path representing
|
1744
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1745
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1738
1746
|
* @returns {string} A string representing the collection.
|
1739
1747
|
*/
|
1740
|
-
|
1741
|
-
return this.pathTemplates.
|
1748
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1749
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1742
1750
|
}
|
1743
1751
|
/**
|
1744
|
-
* Parse the data_store from
|
1752
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1745
1753
|
*
|
1746
|
-
* @param {string}
|
1747
|
-
* A fully-qualified path representing
|
1754
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1755
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1748
1756
|
* @returns {string} A string representing the data_store.
|
1749
1757
|
*/
|
1750
|
-
|
1751
|
-
return this.pathTemplates.
|
1758
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1759
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1752
1760
|
}
|
1753
1761
|
/**
|
1754
|
-
* Parse the session from
|
1762
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1755
1763
|
*
|
1756
|
-
* @param {string}
|
1757
|
-
* A fully-qualified path representing
|
1764
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1765
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1758
1766
|
* @returns {string} A string representing the session.
|
1759
1767
|
*/
|
1760
|
-
|
1761
|
-
return this.pathTemplates.
|
1768
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1769
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1762
1770
|
}
|
1763
1771
|
/**
|
1764
|
-
*
|
1772
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1773
|
+
*
|
1774
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1775
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1776
|
+
* @returns {string} A string representing the answer.
|
1777
|
+
*/
|
1778
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1779
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1780
|
+
}
|
1781
|
+
/**
|
1782
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
1765
1783
|
*
|
1766
1784
|
* @param {string} project
|
1767
1785
|
* @param {string} location
|
1768
1786
|
* @param {string} collection
|
1769
1787
|
* @param {string} data_store
|
1770
1788
|
* @param {string} session
|
1771
|
-
* @param {string} answer
|
1772
1789
|
* @returns {string} Resource name string.
|
1773
1790
|
*/
|
1774
|
-
|
1775
|
-
return this.pathTemplates.
|
1791
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
1792
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
1776
1793
|
project: project,
|
1777
1794
|
location: location,
|
1778
1795
|
collection: collection,
|
1779
1796
|
data_store: dataStore,
|
1780
1797
|
session: session,
|
1781
|
-
answer: answer,
|
1782
1798
|
});
|
1783
1799
|
}
|
1784
1800
|
/**
|
1785
|
-
* Parse the project from
|
1801
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
1786
1802
|
*
|
1787
|
-
* @param {string}
|
1788
|
-
* A fully-qualified path representing
|
1803
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1804
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1789
1805
|
* @returns {string} A string representing the project.
|
1790
1806
|
*/
|
1791
|
-
|
1792
|
-
return this.pathTemplates.
|
1807
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1808
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
1793
1809
|
}
|
1794
1810
|
/**
|
1795
|
-
* Parse the location from
|
1811
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
1796
1812
|
*
|
1797
|
-
* @param {string}
|
1798
|
-
* A fully-qualified path representing
|
1813
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1814
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1799
1815
|
* @returns {string} A string representing the location.
|
1800
1816
|
*/
|
1801
|
-
|
1802
|
-
return this.pathTemplates.
|
1817
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1818
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
1803
1819
|
}
|
1804
1820
|
/**
|
1805
|
-
* Parse the collection from
|
1821
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
1806
1822
|
*
|
1807
|
-
* @param {string}
|
1808
|
-
* A fully-qualified path representing
|
1823
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1824
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1809
1825
|
* @returns {string} A string representing the collection.
|
1810
1826
|
*/
|
1811
|
-
|
1812
|
-
return this.pathTemplates.
|
1827
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1828
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
1813
1829
|
}
|
1814
1830
|
/**
|
1815
|
-
* Parse the data_store from
|
1831
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
1816
1832
|
*
|
1817
|
-
* @param {string}
|
1818
|
-
* A fully-qualified path representing
|
1833
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1834
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1819
1835
|
* @returns {string} A string representing the data_store.
|
1820
1836
|
*/
|
1821
|
-
|
1822
|
-
return this.pathTemplates.
|
1837
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1838
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
1823
1839
|
}
|
1824
1840
|
/**
|
1825
|
-
* Parse the session from
|
1841
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
1826
1842
|
*
|
1827
|
-
* @param {string}
|
1828
|
-
* A fully-qualified path representing
|
1843
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1844
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1829
1845
|
* @returns {string} A string representing the session.
|
1830
1846
|
*/
|
1831
|
-
|
1832
|
-
return this.pathTemplates.
|
1833
|
-
}
|
1834
|
-
/**
|
1835
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1836
|
-
*
|
1837
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1838
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1839
|
-
* @returns {string} A string representing the answer.
|
1840
|
-
*/
|
1841
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1842
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1847
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1848
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
1843
1849
|
}
|
1844
1850
|
/**
|
1845
1851
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -2244,154 +2250,154 @@ class SchemaServiceClient {
|
|
2244
2250
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
2245
2251
|
}
|
2246
2252
|
/**
|
2247
|
-
* Return a fully-qualified
|
2253
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
2248
2254
|
*
|
2249
2255
|
* @param {string} project
|
2250
2256
|
* @param {string} location
|
2251
2257
|
* @param {string} collection
|
2252
2258
|
* @param {string} engine
|
2253
2259
|
* @param {string} session
|
2260
|
+
* @param {string} answer
|
2254
2261
|
* @returns {string} Resource name string.
|
2255
2262
|
*/
|
2256
|
-
|
2257
|
-
return this.pathTemplates.
|
2263
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
2264
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
2258
2265
|
project: project,
|
2259
2266
|
location: location,
|
2260
2267
|
collection: collection,
|
2261
2268
|
engine: engine,
|
2262
2269
|
session: session,
|
2270
|
+
answer: answer,
|
2263
2271
|
});
|
2264
2272
|
}
|
2265
2273
|
/**
|
2266
|
-
* Parse the project from
|
2274
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
2267
2275
|
*
|
2268
|
-
* @param {string}
|
2269
|
-
* A fully-qualified path representing
|
2276
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2277
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2270
2278
|
* @returns {string} A string representing the project.
|
2271
2279
|
*/
|
2272
|
-
|
2273
|
-
return this.pathTemplates.
|
2280
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2281
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
2274
2282
|
}
|
2275
2283
|
/**
|
2276
|
-
* Parse the location from
|
2284
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
2277
2285
|
*
|
2278
|
-
* @param {string}
|
2279
|
-
* A fully-qualified path representing
|
2286
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2287
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2280
2288
|
* @returns {string} A string representing the location.
|
2281
2289
|
*/
|
2282
|
-
|
2283
|
-
return this.pathTemplates.
|
2290
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2291
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
2284
2292
|
}
|
2285
2293
|
/**
|
2286
|
-
* Parse the collection from
|
2294
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
2287
2295
|
*
|
2288
|
-
* @param {string}
|
2289
|
-
* A fully-qualified path representing
|
2296
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2297
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2290
2298
|
* @returns {string} A string representing the collection.
|
2291
2299
|
*/
|
2292
|
-
|
2293
|
-
return this.pathTemplates.
|
2300
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2301
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
2294
2302
|
}
|
2295
2303
|
/**
|
2296
|
-
* Parse the engine from
|
2304
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
2297
2305
|
*
|
2298
|
-
* @param {string}
|
2299
|
-
* A fully-qualified path representing
|
2306
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2307
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2300
2308
|
* @returns {string} A string representing the engine.
|
2301
2309
|
*/
|
2302
|
-
|
2303
|
-
return this.pathTemplates.
|
2310
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2311
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
2304
2312
|
}
|
2305
2313
|
/**
|
2306
|
-
* Parse the session from
|
2314
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
2307
2315
|
*
|
2308
|
-
* @param {string}
|
2309
|
-
* A fully-qualified path representing
|
2316
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2317
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2310
2318
|
* @returns {string} A string representing the session.
|
2311
2319
|
*/
|
2312
|
-
|
2313
|
-
return this.pathTemplates.
|
2320
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2321
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
2314
2322
|
}
|
2315
2323
|
/**
|
2316
|
-
*
|
2324
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2325
|
+
*
|
2326
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2327
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2328
|
+
* @returns {string} A string representing the answer.
|
2329
|
+
*/
|
2330
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2331
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2332
|
+
}
|
2333
|
+
/**
|
2334
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
2317
2335
|
*
|
2318
2336
|
* @param {string} project
|
2319
2337
|
* @param {string} location
|
2320
2338
|
* @param {string} collection
|
2321
2339
|
* @param {string} engine
|
2322
2340
|
* @param {string} session
|
2323
|
-
* @param {string} answer
|
2324
2341
|
* @returns {string} Resource name string.
|
2325
2342
|
*/
|
2326
|
-
|
2327
|
-
return this.pathTemplates.
|
2343
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
2344
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
2328
2345
|
project: project,
|
2329
2346
|
location: location,
|
2330
2347
|
collection: collection,
|
2331
2348
|
engine: engine,
|
2332
2349
|
session: session,
|
2333
|
-
answer: answer,
|
2334
2350
|
});
|
2335
2351
|
}
|
2336
2352
|
/**
|
2337
|
-
* Parse the project from
|
2353
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
2338
2354
|
*
|
2339
|
-
* @param {string}
|
2340
|
-
* A fully-qualified path representing
|
2355
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2356
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2341
2357
|
* @returns {string} A string representing the project.
|
2342
2358
|
*/
|
2343
|
-
|
2344
|
-
return this.pathTemplates.
|
2359
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2360
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
2345
2361
|
}
|
2346
2362
|
/**
|
2347
|
-
* Parse the location from
|
2363
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
2348
2364
|
*
|
2349
|
-
* @param {string}
|
2350
|
-
* A fully-qualified path representing
|
2365
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2366
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2351
2367
|
* @returns {string} A string representing the location.
|
2352
2368
|
*/
|
2353
|
-
|
2354
|
-
return this.pathTemplates.
|
2369
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2370
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
2355
2371
|
}
|
2356
2372
|
/**
|
2357
|
-
* Parse the collection from
|
2373
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
2358
2374
|
*
|
2359
|
-
* @param {string}
|
2360
|
-
* A fully-qualified path representing
|
2375
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2376
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2361
2377
|
* @returns {string} A string representing the collection.
|
2362
2378
|
*/
|
2363
|
-
|
2364
|
-
return this.pathTemplates.
|
2379
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2380
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
2365
2381
|
}
|
2366
2382
|
/**
|
2367
|
-
* Parse the engine from
|
2383
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
2368
2384
|
*
|
2369
|
-
* @param {string}
|
2370
|
-
* A fully-qualified path representing
|
2385
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2386
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2371
2387
|
* @returns {string} A string representing the engine.
|
2372
2388
|
*/
|
2373
|
-
|
2374
|
-
return this.pathTemplates.
|
2389
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2390
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
2375
2391
|
}
|
2376
2392
|
/**
|
2377
|
-
* Parse the session from
|
2393
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
2378
2394
|
*
|
2379
|
-
* @param {string}
|
2380
|
-
* A fully-qualified path representing
|
2395
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2396
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2381
2397
|
* @returns {string} A string representing the session.
|
2382
2398
|
*/
|
2383
|
-
|
2384
|
-
return this.pathTemplates.
|
2385
|
-
}
|
2386
|
-
/**
|
2387
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2388
|
-
*
|
2389
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2390
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2391
|
-
* @returns {string} A string representing the answer.
|
2392
|
-
*/
|
2393
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2394
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2399
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2400
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
2395
2401
|
}
|
2396
2402
|
/**
|
2397
2403
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -2918,63 +2924,6 @@ class SchemaServiceClient {
|
|
2918
2924
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2919
2925
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
2920
2926
|
}
|
2921
|
-
/**
|
2922
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
2923
|
-
*
|
2924
|
-
* @param {string} project
|
2925
|
-
* @param {string} location
|
2926
|
-
* @param {string} data_store
|
2927
|
-
* @param {string} session
|
2928
|
-
* @returns {string} Resource name string.
|
2929
|
-
*/
|
2930
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
2931
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
2932
|
-
project: project,
|
2933
|
-
location: location,
|
2934
|
-
data_store: dataStore,
|
2935
|
-
session: session,
|
2936
|
-
});
|
2937
|
-
}
|
2938
|
-
/**
|
2939
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
2940
|
-
*
|
2941
|
-
* @param {string} projectLocationDataStoreSessionName
|
2942
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2943
|
-
* @returns {string} A string representing the project.
|
2944
|
-
*/
|
2945
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2946
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
2947
|
-
}
|
2948
|
-
/**
|
2949
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
2950
|
-
*
|
2951
|
-
* @param {string} projectLocationDataStoreSessionName
|
2952
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2953
|
-
* @returns {string} A string representing the location.
|
2954
|
-
*/
|
2955
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2956
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
2957
|
-
}
|
2958
|
-
/**
|
2959
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
2960
|
-
*
|
2961
|
-
* @param {string} projectLocationDataStoreSessionName
|
2962
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2963
|
-
* @returns {string} A string representing the data_store.
|
2964
|
-
*/
|
2965
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2966
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
2967
|
-
}
|
2968
|
-
/**
|
2969
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
2970
|
-
*
|
2971
|
-
* @param {string} projectLocationDataStoreSessionName
|
2972
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2973
|
-
* @returns {string} A string representing the session.
|
2974
|
-
*/
|
2975
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2976
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
2977
|
-
}
|
2978
2927
|
/**
|
2979
2928
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
2980
2929
|
*
|
@@ -3044,6 +2993,63 @@ class SchemaServiceClient {
|
|
3044
2993
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
3045
2994
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
3046
2995
|
}
|
2996
|
+
/**
|
2997
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
2998
|
+
*
|
2999
|
+
* @param {string} project
|
3000
|
+
* @param {string} location
|
3001
|
+
* @param {string} data_store
|
3002
|
+
* @param {string} session
|
3003
|
+
* @returns {string} Resource name string.
|
3004
|
+
*/
|
3005
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
3006
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
3007
|
+
project: project,
|
3008
|
+
location: location,
|
3009
|
+
data_store: dataStore,
|
3010
|
+
session: session,
|
3011
|
+
});
|
3012
|
+
}
|
3013
|
+
/**
|
3014
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
3015
|
+
*
|
3016
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3017
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3018
|
+
* @returns {string} A string representing the project.
|
3019
|
+
*/
|
3020
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3021
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
3022
|
+
}
|
3023
|
+
/**
|
3024
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
3025
|
+
*
|
3026
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3027
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3028
|
+
* @returns {string} A string representing the location.
|
3029
|
+
*/
|
3030
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3031
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
3032
|
+
}
|
3033
|
+
/**
|
3034
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
3035
|
+
*
|
3036
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3037
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3038
|
+
* @returns {string} A string representing the data_store.
|
3039
|
+
*/
|
3040
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3041
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
3042
|
+
}
|
3043
|
+
/**
|
3044
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
3045
|
+
*
|
3046
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3047
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3048
|
+
* @returns {string} A string representing the session.
|
3049
|
+
*/
|
3050
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3051
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
3052
|
+
}
|
3047
3053
|
/**
|
3048
3054
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
3049
3055
|
*
|