@google-cloud/discoveryengine 2.2.0 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +30 -0
- package/build/protos/google/cloud/discoveryengine/v1/answer.proto +17 -0
- package/build/protos/google/cloud/discoveryengine/v1/assist_answer.proto +251 -0
- package/build/protos/google/cloud/discoveryengine/v1/assistant.proto +44 -0
- package/build/protos/google/cloud/discoveryengine/v1/assistant_service.proto +217 -0
- package/build/protos/google/cloud/discoveryengine/v1/chunk.proto +52 -0
- package/build/protos/google/cloud/discoveryengine/v1/cmek_config_service.proto +300 -0
- package/build/protos/google/cloud/discoveryengine/v1/common.proto +67 -0
- package/build/protos/google/cloud/discoveryengine/v1/control.proto +1 -3
- package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +18 -3
- package/build/protos/google/cloud/discoveryengine/v1/data_store.proto +54 -2
- package/build/protos/google/cloud/discoveryengine/v1/data_store_service.proto +14 -0
- package/build/protos/google/cloud/discoveryengine/v1/document.proto +95 -4
- package/build/protos/google/cloud/discoveryengine/v1/document_processing_config.proto +28 -1
- package/build/protos/google/cloud/discoveryengine/v1/engine.proto +131 -6
- package/build/protos/google/cloud/discoveryengine/v1/grounded_generation_service.proto +8 -0
- package/build/protos/google/cloud/discoveryengine/v1/grounding.proto +9 -0
- package/build/protos/google/cloud/discoveryengine/v1/identity_mapping_store.proto +84 -0
- package/build/protos/google/cloud/discoveryengine/v1/identity_mapping_store_service.proto +375 -0
- package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +14 -14
- package/build/protos/google/cloud/discoveryengine/v1/session.proto +21 -8
- package/build/protos/google/cloud/discoveryengine/v1/session_service.proto +128 -0
- package/build/protos/google/cloud/discoveryengine/v1/site_search_engine.proto +6 -0
- package/build/protos/google/cloud/discoveryengine/v1/user_license.proto +98 -0
- package/build/protos/google/cloud/discoveryengine/v1/user_license_service.proto +191 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +15 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +30 -9
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +8 -14
- package/build/protos/google/cloud/discoveryengine/v1alpha/session.proto +238 -8
- package/build/protos/google/cloud/discoveryengine/v1alpha/session_service.proto +201 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +26 -5
- package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +8 -14
- package/build/protos/google/cloud/discoveryengine/v1beta/session.proto +40 -8
- package/build/protos/google/cloud/discoveryengine/v1beta/session_service.proto +128 -0
- package/build/protos/protos.d.ts +21218 -11675
- package/build/protos/protos.js +92642 -66407
- package/build/protos/protos.json +5854 -2801
- package/build/src/index.d.ts +16 -1
- package/build/src/index.js +12 -2
- package/build/src/v1/assistant_service_client.d.ts +2058 -0
- package/build/src/v1/assistant_service_client.js +2957 -0
- package/build/src/v1/assistant_service_client_config.json +43 -0
- package/build/src/v1/assistant_service_proto_list.json +48 -0
- package/build/src/v1/cmek_config_service_client.d.ts +2398 -0
- package/build/src/v1/cmek_config_service_client.js +3426 -0
- package/build/src/v1/cmek_config_service_client_config.json +42 -0
- package/build/src/v1/cmek_config_service_proto_list.json +48 -0
- package/build/src/v1/completion_service_client.d.ts +345 -144
- package/build/src/v1/completion_service_client.js +482 -198
- package/build/src/v1/completion_service_proto_list.json +10 -1
- package/build/src/v1/control_service_client.d.ts +345 -144
- package/build/src/v1/control_service_client.js +498 -196
- package/build/src/v1/control_service_proto_list.json +10 -1
- package/build/src/v1/conversational_search_service_client.d.ts +392 -155
- package/build/src/v1/conversational_search_service_client.js +572 -204
- package/build/src/v1/conversational_search_service_proto_list.json +10 -1
- package/build/src/v1/data_store_service_client.d.ts +351 -144
- package/build/src/v1/data_store_service_client.js +488 -198
- package/build/src/v1/data_store_service_proto_list.json +10 -1
- package/build/src/v1/document_service_client.d.ts +345 -144
- package/build/src/v1/document_service_client.js +506 -198
- package/build/src/v1/document_service_proto_list.json +10 -1
- package/build/src/v1/engine_service_client.d.ts +345 -144
- package/build/src/v1/engine_service_client.js +488 -198
- package/build/src/v1/engine_service_proto_list.json +10 -1
- package/build/src/v1/gapic_metadata.json +270 -0
- package/build/src/v1/grounded_generation_service_client.d.ts +345 -144
- package/build/src/v1/grounded_generation_service_client.js +486 -196
- package/build/src/v1/grounded_generation_service_proto_list.json +10 -1
- package/build/src/v1/identity_mapping_store_service_client.d.ts +2581 -0
- package/build/src/v1/identity_mapping_store_service_client.js +3601 -0
- package/build/src/v1/identity_mapping_store_service_client_config.json +54 -0
- package/build/src/v1/identity_mapping_store_service_proto_list.json +48 -0
- package/build/src/v1/index.d.ts +5 -0
- package/build/src/v1/index.js +11 -1
- package/build/src/v1/project_service_client.d.ts +345 -144
- package/build/src/v1/project_service_client.js +476 -198
- package/build/src/v1/project_service_proto_list.json +10 -1
- package/build/src/v1/rank_service_client.d.ts +345 -144
- package/build/src/v1/rank_service_client.js +480 -196
- package/build/src/v1/rank_service_proto_list.json +10 -1
- package/build/src/v1/recommendation_service_client.d.ts +345 -144
- package/build/src/v1/recommendation_service_client.js +480 -196
- package/build/src/v1/recommendation_service_proto_list.json +10 -1
- package/build/src/v1/schema_service_client.d.ts +345 -144
- package/build/src/v1/schema_service_client.js +482 -198
- package/build/src/v1/schema_service_proto_list.json +10 -1
- package/build/src/v1/search_service_client.d.ts +393 -228
- package/build/src/v1/search_service_client.js +506 -252
- package/build/src/v1/search_service_proto_list.json +10 -1
- package/build/src/v1/search_tuning_service_client.d.ts +345 -144
- package/build/src/v1/search_tuning_service_client.js +482 -198
- package/build/src/v1/search_tuning_service_proto_list.json +10 -1
- package/build/src/v1/serving_config_service_client.d.ts +345 -144
- package/build/src/v1/serving_config_service_client.js +480 -196
- package/build/src/v1/serving_config_service_proto_list.json +10 -1
- package/build/src/v1/session_service_client.d.ts +2326 -0
- package/build/src/v1/session_service_client.js +3218 -0
- package/build/src/v1/session_service_client_config.json +63 -0
- package/build/src/v1/session_service_proto_list.json +48 -0
- package/build/src/v1/site_search_engine_service_client.d.ts +345 -144
- package/build/src/v1/site_search_engine_service_client.js +494 -198
- package/build/src/v1/site_search_engine_service_proto_list.json +10 -1
- package/build/src/v1/user_event_service_client.d.ts +345 -144
- package/build/src/v1/user_event_service_client.js +488 -198
- package/build/src/v1/user_event_service_proto_list.json +10 -1
- package/build/src/v1/user_license_service_client.d.ts +2367 -0
- package/build/src/v1/user_license_service_client.js +3346 -0
- package/build/src/v1/user_license_service_client_config.json +34 -0
- package/build/src/v1/user_license_service_proto_list.json +48 -0
- package/build/src/v1alpha/acl_config_service_client.d.ts +144 -144
- package/build/src/v1alpha/acl_config_service_client.js +208 -196
- package/build/src/v1alpha/acl_config_service_proto_list.json +1 -0
- package/build/src/v1alpha/chunk_service_client.d.ts +144 -144
- package/build/src/v1alpha/chunk_service_client.js +202 -196
- package/build/src/v1alpha/chunk_service_proto_list.json +1 -0
- package/build/src/v1alpha/completion_service_client.d.ts +144 -144
- package/build/src/v1alpha/completion_service_client.js +203 -197
- package/build/src/v1alpha/completion_service_proto_list.json +1 -0
- package/build/src/v1alpha/control_service_client.d.ts +144 -144
- package/build/src/v1alpha/control_service_client.js +220 -196
- package/build/src/v1alpha/control_service_proto_list.json +1 -0
- package/build/src/v1alpha/conversational_search_service_client.d.ts +221 -167
- package/build/src/v1alpha/conversational_search_service_client.js +310 -210
- package/build/src/v1alpha/conversational_search_service_proto_list.json +1 -0
- package/build/src/v1alpha/data_store_service_client.d.ts +144 -144
- package/build/src/v1alpha/data_store_service_client.js +221 -197
- package/build/src/v1alpha/data_store_service_proto_list.json +1 -0
- package/build/src/v1alpha/document_service_client.d.ts +144 -144
- package/build/src/v1alpha/document_service_client.js +233 -197
- package/build/src/v1alpha/document_service_proto_list.json +1 -0
- package/build/src/v1alpha/engine_service_client.d.ts +144 -144
- package/build/src/v1alpha/engine_service_client.js +221 -197
- package/build/src/v1alpha/engine_service_proto_list.json +1 -0
- package/build/src/v1alpha/estimate_billing_service_client.d.ts +144 -144
- package/build/src/v1alpha/estimate_billing_service_client.js +197 -197
- package/build/src/v1alpha/estimate_billing_service_proto_list.json +1 -0
- package/build/src/v1alpha/evaluation_service_client.d.ts +144 -144
- package/build/src/v1alpha/evaluation_service_client.js +203 -197
- package/build/src/v1alpha/evaluation_service_proto_list.json +1 -0
- package/build/src/v1alpha/gapic_metadata.json +82 -0
- package/build/src/v1alpha/grounded_generation_service_client.d.ts +144 -144
- package/build/src/v1alpha/grounded_generation_service_client.js +202 -196
- package/build/src/v1alpha/grounded_generation_service_proto_list.json +1 -0
- package/build/src/v1alpha/index.d.ts +1 -0
- package/build/src/v1alpha/index.js +3 -1
- package/build/src/v1alpha/project_service_client.d.ts +144 -144
- package/build/src/v1alpha/project_service_client.js +209 -197
- package/build/src/v1alpha/project_service_proto_list.json +1 -0
- package/build/src/v1alpha/rank_service_client.d.ts +144 -144
- package/build/src/v1alpha/rank_service_client.js +202 -196
- package/build/src/v1alpha/rank_service_proto_list.json +1 -0
- package/build/src/v1alpha/recommendation_service_client.d.ts +144 -144
- package/build/src/v1alpha/recommendation_service_client.js +202 -196
- package/build/src/v1alpha/recommendation_service_proto_list.json +1 -0
- package/build/src/v1alpha/sample_query_service_client.d.ts +144 -144
- package/build/src/v1alpha/sample_query_service_client.js +221 -197
- package/build/src/v1alpha/sample_query_service_proto_list.json +1 -0
- package/build/src/v1alpha/sample_query_set_service_client.d.ts +144 -144
- package/build/src/v1alpha/sample_query_set_service_client.js +220 -196
- package/build/src/v1alpha/sample_query_set_service_proto_list.json +1 -0
- package/build/src/v1alpha/schema_service_client.d.ts +144 -144
- package/build/src/v1alpha/schema_service_client.js +203 -197
- package/build/src/v1alpha/schema_service_proto_list.json +1 -0
- package/build/src/v1alpha/search_service_client.d.ts +168 -186
- package/build/src/v1alpha/search_service_client.js +212 -224
- package/build/src/v1alpha/search_service_proto_list.json +1 -0
- package/build/src/v1alpha/search_tuning_service_client.d.ts +144 -144
- package/build/src/v1alpha/search_tuning_service_client.js +203 -197
- package/build/src/v1alpha/search_tuning_service_proto_list.json +1 -0
- package/build/src/v1alpha/serving_config_service_client.d.ts +144 -144
- package/build/src/v1alpha/serving_config_service_client.js +208 -196
- package/build/src/v1alpha/serving_config_service_proto_list.json +1 -0
- package/build/src/v1alpha/session_service_client.d.ts +2331 -0
- package/build/src/v1alpha/session_service_client.js +3161 -0
- package/build/src/v1alpha/session_service_client_config.json +68 -0
- package/build/src/v1alpha/session_service_proto_list.json +49 -0
- package/build/src/v1alpha/site_search_engine_service_client.d.ts +144 -144
- package/build/src/v1alpha/site_search_engine_service_client.js +215 -197
- package/build/src/v1alpha/site_search_engine_service_proto_list.json +1 -0
- package/build/src/v1alpha/user_event_service_client.d.ts +144 -144
- package/build/src/v1alpha/user_event_service_client.js +209 -197
- package/build/src/v1alpha/user_event_service_proto_list.json +1 -0
- package/build/src/v1beta/completion_service_client.d.ts +144 -144
- package/build/src/v1beta/completion_service_client.js +209 -197
- package/build/src/v1beta/completion_service_proto_list.json +1 -0
- package/build/src/v1beta/control_service_client.d.ts +144 -144
- package/build/src/v1beta/control_service_client.js +220 -196
- package/build/src/v1beta/control_service_proto_list.json +1 -0
- package/build/src/v1beta/conversational_search_service_client.d.ts +215 -161
- package/build/src/v1beta/conversational_search_service_client.js +308 -208
- package/build/src/v1beta/conversational_search_service_proto_list.json +1 -0
- package/build/src/v1beta/data_store_service_client.d.ts +144 -144
- package/build/src/v1beta/data_store_service_client.js +209 -197
- package/build/src/v1beta/data_store_service_proto_list.json +1 -0
- package/build/src/v1beta/document_service_client.d.ts +144 -144
- package/build/src/v1beta/document_service_client.js +227 -197
- package/build/src/v1beta/document_service_proto_list.json +1 -0
- package/build/src/v1beta/engine_service_client.d.ts +144 -144
- package/build/src/v1beta/engine_service_client.js +221 -197
- package/build/src/v1beta/engine_service_proto_list.json +1 -0
- package/build/src/v1beta/evaluation_service_client.d.ts +144 -144
- package/build/src/v1beta/evaluation_service_client.js +203 -197
- package/build/src/v1beta/evaluation_service_proto_list.json +1 -0
- package/build/src/v1beta/gapic_metadata.json +68 -0
- package/build/src/v1beta/grounded_generation_service_client.d.ts +144 -144
- package/build/src/v1beta/grounded_generation_service_client.js +208 -196
- package/build/src/v1beta/grounded_generation_service_proto_list.json +1 -0
- package/build/src/v1beta/index.d.ts +1 -0
- package/build/src/v1beta/index.js +3 -1
- package/build/src/v1beta/project_service_client.d.ts +144 -144
- package/build/src/v1beta/project_service_client.js +197 -197
- package/build/src/v1beta/project_service_proto_list.json +1 -0
- package/build/src/v1beta/rank_service_client.d.ts +144 -144
- package/build/src/v1beta/rank_service_client.js +202 -196
- package/build/src/v1beta/rank_service_proto_list.json +1 -0
- package/build/src/v1beta/recommendation_service_client.d.ts +144 -144
- package/build/src/v1beta/recommendation_service_client.js +202 -196
- package/build/src/v1beta/recommendation_service_proto_list.json +1 -0
- package/build/src/v1beta/sample_query_service_client.d.ts +144 -144
- package/build/src/v1beta/sample_query_service_client.js +221 -197
- package/build/src/v1beta/sample_query_service_proto_list.json +1 -0
- package/build/src/v1beta/sample_query_set_service_client.d.ts +144 -144
- package/build/src/v1beta/sample_query_set_service_client.js +220 -196
- package/build/src/v1beta/sample_query_set_service_proto_list.json +1 -0
- package/build/src/v1beta/schema_service_client.d.ts +144 -144
- package/build/src/v1beta/schema_service_client.js +203 -197
- package/build/src/v1beta/schema_service_proto_list.json +1 -0
- package/build/src/v1beta/search_service_client.d.ts +192 -228
- package/build/src/v1beta/search_service_client.js +228 -252
- package/build/src/v1beta/search_service_proto_list.json +1 -0
- package/build/src/v1beta/search_tuning_service_client.d.ts +144 -144
- package/build/src/v1beta/search_tuning_service_client.js +203 -197
- package/build/src/v1beta/search_tuning_service_proto_list.json +1 -0
- package/build/src/v1beta/serving_config_service_client.d.ts +144 -144
- package/build/src/v1beta/serving_config_service_client.js +208 -196
- package/build/src/v1beta/serving_config_service_proto_list.json +1 -0
- package/build/src/v1beta/session_service_client.d.ts +2266 -0
- package/build/src/v1beta/session_service_client.js +3136 -0
- package/build/src/v1beta/session_service_client_config.json +63 -0
- package/build/src/v1beta/session_service_proto_list.json +45 -0
- package/build/src/v1beta/site_search_engine_service_client.d.ts +144 -144
- package/build/src/v1beta/site_search_engine_service_client.js +215 -197
- package/build/src/v1beta/site_search_engine_service_proto_list.json +1 -0
- package/build/src/v1beta/user_event_service_client.d.ts +144 -144
- package/build/src/v1beta/user_event_service_client.js +209 -197
- package/build/src/v1beta/user_event_service_proto_list.json +1 -0
- package/package.json +7 -7
- package/CHANGELOG.md +0 -274
@@ -178,16 +178,16 @@ class EvaluationServiceClient {
|
|
178
178
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
179
179
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
180
180
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
181
|
-
projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
182
181
|
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
182
|
+
projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
183
183
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
184
184
|
projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
185
185
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
186
186
|
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
187
187
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
188
188
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
189
|
-
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
190
189
|
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
190
|
+
projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
191
191
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
192
192
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
193
193
|
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -197,8 +197,8 @@ class EvaluationServiceClient {
|
|
197
197
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
198
198
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
199
199
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
200
|
-
projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
201
200
|
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
201
|
+
projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
202
202
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
203
203
|
projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
204
204
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
@@ -212,7 +212,7 @@ class EvaluationServiceClient {
|
|
212
212
|
listEvaluations: new this._gaxModule.PageDescriptor('pageToken', 'nextPageToken', 'evaluations'),
|
213
213
|
listEvaluationResults: new this._gaxModule.PageDescriptor('pageToken', 'nextPageToken', 'evaluationResults')
|
214
214
|
};
|
215
|
-
const protoFilesRoot = this._gaxModule.
|
215
|
+
const protoFilesRoot = this._gaxModule.protobufFromJSON(jsonProtos);
|
216
216
|
// This API contains "long-running operations", which return a
|
217
217
|
// an Operation object that allows for tracking of the operation,
|
218
218
|
// rather than holding a request open.
|
@@ -373,6 +373,12 @@ class EvaluationServiceClient {
|
|
373
373
|
?.then(([response, options, rawResponse]) => {
|
374
374
|
this._log.info('getEvaluation response %j', response);
|
375
375
|
return [response, options, rawResponse];
|
376
|
+
}).catch((error) => {
|
377
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
378
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
379
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
380
|
+
}
|
381
|
+
throw error;
|
376
382
|
});
|
377
383
|
}
|
378
384
|
createEvaluation(request, optionsOrCallback, callback) {
|
@@ -1780,154 +1786,154 @@ class EvaluationServiceClient {
|
|
1780
1786
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1781
1787
|
}
|
1782
1788
|
/**
|
1783
|
-
* Return a fully-qualified
|
1789
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1784
1790
|
*
|
1785
1791
|
* @param {string} project
|
1786
1792
|
* @param {string} location
|
1787
1793
|
* @param {string} collection
|
1788
1794
|
* @param {string} data_store
|
1789
1795
|
* @param {string} session
|
1796
|
+
* @param {string} answer
|
1790
1797
|
* @returns {string} Resource name string.
|
1791
1798
|
*/
|
1792
|
-
|
1793
|
-
return this.pathTemplates.
|
1799
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1800
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1794
1801
|
project: project,
|
1795
1802
|
location: location,
|
1796
1803
|
collection: collection,
|
1797
1804
|
data_store: dataStore,
|
1798
1805
|
session: session,
|
1806
|
+
answer: answer,
|
1799
1807
|
});
|
1800
1808
|
}
|
1801
1809
|
/**
|
1802
|
-
* Parse the project from
|
1810
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1803
1811
|
*
|
1804
|
-
* @param {string}
|
1805
|
-
* A fully-qualified path representing
|
1812
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1813
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1806
1814
|
* @returns {string} A string representing the project.
|
1807
1815
|
*/
|
1808
|
-
|
1809
|
-
return this.pathTemplates.
|
1816
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1817
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1810
1818
|
}
|
1811
1819
|
/**
|
1812
|
-
* Parse the location from
|
1820
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1813
1821
|
*
|
1814
|
-
* @param {string}
|
1815
|
-
* A fully-qualified path representing
|
1822
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1823
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1816
1824
|
* @returns {string} A string representing the location.
|
1817
1825
|
*/
|
1818
|
-
|
1819
|
-
return this.pathTemplates.
|
1826
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1827
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1820
1828
|
}
|
1821
1829
|
/**
|
1822
|
-
* Parse the collection from
|
1830
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1823
1831
|
*
|
1824
|
-
* @param {string}
|
1825
|
-
* A fully-qualified path representing
|
1832
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1833
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1826
1834
|
* @returns {string} A string representing the collection.
|
1827
1835
|
*/
|
1828
|
-
|
1829
|
-
return this.pathTemplates.
|
1836
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1837
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1830
1838
|
}
|
1831
1839
|
/**
|
1832
|
-
* Parse the data_store from
|
1840
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1833
1841
|
*
|
1834
|
-
* @param {string}
|
1835
|
-
* A fully-qualified path representing
|
1842
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1843
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1836
1844
|
* @returns {string} A string representing the data_store.
|
1837
1845
|
*/
|
1838
|
-
|
1839
|
-
return this.pathTemplates.
|
1846
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1847
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1840
1848
|
}
|
1841
1849
|
/**
|
1842
|
-
* Parse the session from
|
1850
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1843
1851
|
*
|
1844
|
-
* @param {string}
|
1845
|
-
* A fully-qualified path representing
|
1852
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1853
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1846
1854
|
* @returns {string} A string representing the session.
|
1847
1855
|
*/
|
1848
|
-
|
1849
|
-
return this.pathTemplates.
|
1856
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1857
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1850
1858
|
}
|
1851
1859
|
/**
|
1852
|
-
*
|
1860
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1861
|
+
*
|
1862
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1863
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1864
|
+
* @returns {string} A string representing the answer.
|
1865
|
+
*/
|
1866
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1867
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1868
|
+
}
|
1869
|
+
/**
|
1870
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
1853
1871
|
*
|
1854
1872
|
* @param {string} project
|
1855
1873
|
* @param {string} location
|
1856
1874
|
* @param {string} collection
|
1857
1875
|
* @param {string} data_store
|
1858
1876
|
* @param {string} session
|
1859
|
-
* @param {string} answer
|
1860
1877
|
* @returns {string} Resource name string.
|
1861
1878
|
*/
|
1862
|
-
|
1863
|
-
return this.pathTemplates.
|
1879
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
1880
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
1864
1881
|
project: project,
|
1865
1882
|
location: location,
|
1866
1883
|
collection: collection,
|
1867
1884
|
data_store: dataStore,
|
1868
1885
|
session: session,
|
1869
|
-
answer: answer,
|
1870
1886
|
});
|
1871
1887
|
}
|
1872
1888
|
/**
|
1873
|
-
* Parse the project from
|
1889
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
1874
1890
|
*
|
1875
|
-
* @param {string}
|
1876
|
-
* A fully-qualified path representing
|
1891
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1892
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1877
1893
|
* @returns {string} A string representing the project.
|
1878
1894
|
*/
|
1879
|
-
|
1880
|
-
return this.pathTemplates.
|
1895
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1896
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
1881
1897
|
}
|
1882
1898
|
/**
|
1883
|
-
* Parse the location from
|
1899
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
1884
1900
|
*
|
1885
|
-
* @param {string}
|
1886
|
-
* A fully-qualified path representing
|
1901
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1902
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1887
1903
|
* @returns {string} A string representing the location.
|
1888
1904
|
*/
|
1889
|
-
|
1890
|
-
return this.pathTemplates.
|
1905
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1906
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
1891
1907
|
}
|
1892
1908
|
/**
|
1893
|
-
* Parse the collection from
|
1909
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
1894
1910
|
*
|
1895
|
-
* @param {string}
|
1896
|
-
* A fully-qualified path representing
|
1911
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1912
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1897
1913
|
* @returns {string} A string representing the collection.
|
1898
1914
|
*/
|
1899
|
-
|
1900
|
-
return this.pathTemplates.
|
1915
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1916
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
1901
1917
|
}
|
1902
1918
|
/**
|
1903
|
-
* Parse the data_store from
|
1919
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
1904
1920
|
*
|
1905
|
-
* @param {string}
|
1906
|
-
* A fully-qualified path representing
|
1921
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1922
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1907
1923
|
* @returns {string} A string representing the data_store.
|
1908
1924
|
*/
|
1909
|
-
|
1910
|
-
return this.pathTemplates.
|
1925
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1926
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
1911
1927
|
}
|
1912
1928
|
/**
|
1913
|
-
* Parse the session from
|
1929
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
1914
1930
|
*
|
1915
|
-
* @param {string}
|
1916
|
-
* A fully-qualified path representing
|
1931
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1932
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1917
1933
|
* @returns {string} A string representing the session.
|
1918
1934
|
*/
|
1919
|
-
|
1920
|
-
return this.pathTemplates.
|
1921
|
-
}
|
1922
|
-
/**
|
1923
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1924
|
-
*
|
1925
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1926
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1927
|
-
* @returns {string} A string representing the answer.
|
1928
|
-
*/
|
1929
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1930
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1935
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1936
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
1931
1937
|
}
|
1932
1938
|
/**
|
1933
1939
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -2332,154 +2338,154 @@ class EvaluationServiceClient {
|
|
2332
2338
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
2333
2339
|
}
|
2334
2340
|
/**
|
2335
|
-
* Return a fully-qualified
|
2341
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
2336
2342
|
*
|
2337
2343
|
* @param {string} project
|
2338
2344
|
* @param {string} location
|
2339
2345
|
* @param {string} collection
|
2340
2346
|
* @param {string} engine
|
2341
2347
|
* @param {string} session
|
2348
|
+
* @param {string} answer
|
2342
2349
|
* @returns {string} Resource name string.
|
2343
2350
|
*/
|
2344
|
-
|
2345
|
-
return this.pathTemplates.
|
2351
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
2352
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
2346
2353
|
project: project,
|
2347
2354
|
location: location,
|
2348
2355
|
collection: collection,
|
2349
2356
|
engine: engine,
|
2350
2357
|
session: session,
|
2358
|
+
answer: answer,
|
2351
2359
|
});
|
2352
2360
|
}
|
2353
2361
|
/**
|
2354
|
-
* Parse the project from
|
2362
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
2355
2363
|
*
|
2356
|
-
* @param {string}
|
2357
|
-
* A fully-qualified path representing
|
2364
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2365
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2358
2366
|
* @returns {string} A string representing the project.
|
2359
2367
|
*/
|
2360
|
-
|
2361
|
-
return this.pathTemplates.
|
2368
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2369
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
2362
2370
|
}
|
2363
2371
|
/**
|
2364
|
-
* Parse the location from
|
2372
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
2365
2373
|
*
|
2366
|
-
* @param {string}
|
2367
|
-
* A fully-qualified path representing
|
2374
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2375
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2368
2376
|
* @returns {string} A string representing the location.
|
2369
2377
|
*/
|
2370
|
-
|
2371
|
-
return this.pathTemplates.
|
2378
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2379
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
2372
2380
|
}
|
2373
2381
|
/**
|
2374
|
-
* Parse the collection from
|
2382
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
2375
2383
|
*
|
2376
|
-
* @param {string}
|
2377
|
-
* A fully-qualified path representing
|
2384
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2385
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2378
2386
|
* @returns {string} A string representing the collection.
|
2379
2387
|
*/
|
2380
|
-
|
2381
|
-
return this.pathTemplates.
|
2388
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2389
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
2382
2390
|
}
|
2383
2391
|
/**
|
2384
|
-
* Parse the engine from
|
2392
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
2385
2393
|
*
|
2386
|
-
* @param {string}
|
2387
|
-
* A fully-qualified path representing
|
2394
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2395
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2388
2396
|
* @returns {string} A string representing the engine.
|
2389
2397
|
*/
|
2390
|
-
|
2391
|
-
return this.pathTemplates.
|
2398
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2399
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
2392
2400
|
}
|
2393
2401
|
/**
|
2394
|
-
* Parse the session from
|
2402
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
2395
2403
|
*
|
2396
|
-
* @param {string}
|
2397
|
-
* A fully-qualified path representing
|
2404
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2405
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2398
2406
|
* @returns {string} A string representing the session.
|
2399
2407
|
*/
|
2400
|
-
|
2401
|
-
return this.pathTemplates.
|
2408
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2409
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
2402
2410
|
}
|
2403
2411
|
/**
|
2404
|
-
*
|
2412
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2413
|
+
*
|
2414
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2415
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2416
|
+
* @returns {string} A string representing the answer.
|
2417
|
+
*/
|
2418
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2419
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2420
|
+
}
|
2421
|
+
/**
|
2422
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
2405
2423
|
*
|
2406
2424
|
* @param {string} project
|
2407
2425
|
* @param {string} location
|
2408
2426
|
* @param {string} collection
|
2409
2427
|
* @param {string} engine
|
2410
2428
|
* @param {string} session
|
2411
|
-
* @param {string} answer
|
2412
2429
|
* @returns {string} Resource name string.
|
2413
2430
|
*/
|
2414
|
-
|
2415
|
-
return this.pathTemplates.
|
2431
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
2432
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
2416
2433
|
project: project,
|
2417
2434
|
location: location,
|
2418
2435
|
collection: collection,
|
2419
2436
|
engine: engine,
|
2420
2437
|
session: session,
|
2421
|
-
answer: answer,
|
2422
2438
|
});
|
2423
2439
|
}
|
2424
2440
|
/**
|
2425
|
-
* Parse the project from
|
2441
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
2426
2442
|
*
|
2427
|
-
* @param {string}
|
2428
|
-
* A fully-qualified path representing
|
2443
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2444
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2429
2445
|
* @returns {string} A string representing the project.
|
2430
2446
|
*/
|
2431
|
-
|
2432
|
-
return this.pathTemplates.
|
2447
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2448
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
2433
2449
|
}
|
2434
2450
|
/**
|
2435
|
-
* Parse the location from
|
2451
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
2436
2452
|
*
|
2437
|
-
* @param {string}
|
2438
|
-
* A fully-qualified path representing
|
2453
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2454
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2439
2455
|
* @returns {string} A string representing the location.
|
2440
2456
|
*/
|
2441
|
-
|
2442
|
-
return this.pathTemplates.
|
2457
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2458
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
2443
2459
|
}
|
2444
2460
|
/**
|
2445
|
-
* Parse the collection from
|
2461
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
2446
2462
|
*
|
2447
|
-
* @param {string}
|
2448
|
-
* A fully-qualified path representing
|
2463
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2464
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2449
2465
|
* @returns {string} A string representing the collection.
|
2450
2466
|
*/
|
2451
|
-
|
2452
|
-
return this.pathTemplates.
|
2467
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2468
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
2453
2469
|
}
|
2454
2470
|
/**
|
2455
|
-
* Parse the engine from
|
2471
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
2456
2472
|
*
|
2457
|
-
* @param {string}
|
2458
|
-
* A fully-qualified path representing
|
2473
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2474
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2459
2475
|
* @returns {string} A string representing the engine.
|
2460
2476
|
*/
|
2461
|
-
|
2462
|
-
return this.pathTemplates.
|
2477
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2478
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
2463
2479
|
}
|
2464
2480
|
/**
|
2465
|
-
* Parse the session from
|
2481
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
2466
2482
|
*
|
2467
|
-
* @param {string}
|
2468
|
-
* A fully-qualified path representing
|
2483
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2484
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2469
2485
|
* @returns {string} A string representing the session.
|
2470
2486
|
*/
|
2471
|
-
|
2472
|
-
return this.pathTemplates.
|
2473
|
-
}
|
2474
|
-
/**
|
2475
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2476
|
-
*
|
2477
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2478
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2479
|
-
* @returns {string} A string representing the answer.
|
2480
|
-
*/
|
2481
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2482
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2487
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2488
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
2483
2489
|
}
|
2484
2490
|
/**
|
2485
2491
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -3006,63 +3012,6 @@ class EvaluationServiceClient {
|
|
3006
3012
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
3007
3013
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
3008
3014
|
}
|
3009
|
-
/**
|
3010
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
3011
|
-
*
|
3012
|
-
* @param {string} project
|
3013
|
-
* @param {string} location
|
3014
|
-
* @param {string} data_store
|
3015
|
-
* @param {string} session
|
3016
|
-
* @returns {string} Resource name string.
|
3017
|
-
*/
|
3018
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
3019
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
3020
|
-
project: project,
|
3021
|
-
location: location,
|
3022
|
-
data_store: dataStore,
|
3023
|
-
session: session,
|
3024
|
-
});
|
3025
|
-
}
|
3026
|
-
/**
|
3027
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
3028
|
-
*
|
3029
|
-
* @param {string} projectLocationDataStoreSessionName
|
3030
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3031
|
-
* @returns {string} A string representing the project.
|
3032
|
-
*/
|
3033
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3034
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
3035
|
-
}
|
3036
|
-
/**
|
3037
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
3038
|
-
*
|
3039
|
-
* @param {string} projectLocationDataStoreSessionName
|
3040
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3041
|
-
* @returns {string} A string representing the location.
|
3042
|
-
*/
|
3043
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3044
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
3045
|
-
}
|
3046
|
-
/**
|
3047
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
3048
|
-
*
|
3049
|
-
* @param {string} projectLocationDataStoreSessionName
|
3050
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3051
|
-
* @returns {string} A string representing the data_store.
|
3052
|
-
*/
|
3053
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3054
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
3055
|
-
}
|
3056
|
-
/**
|
3057
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
3058
|
-
*
|
3059
|
-
* @param {string} projectLocationDataStoreSessionName
|
3060
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3061
|
-
* @returns {string} A string representing the session.
|
3062
|
-
*/
|
3063
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3064
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
3065
|
-
}
|
3066
3015
|
/**
|
3067
3016
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
3068
3017
|
*
|
@@ -3132,6 +3081,63 @@ class EvaluationServiceClient {
|
|
3132
3081
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
3133
3082
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
3134
3083
|
}
|
3084
|
+
/**
|
3085
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
3086
|
+
*
|
3087
|
+
* @param {string} project
|
3088
|
+
* @param {string} location
|
3089
|
+
* @param {string} data_store
|
3090
|
+
* @param {string} session
|
3091
|
+
* @returns {string} Resource name string.
|
3092
|
+
*/
|
3093
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
3094
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
3095
|
+
project: project,
|
3096
|
+
location: location,
|
3097
|
+
data_store: dataStore,
|
3098
|
+
session: session,
|
3099
|
+
});
|
3100
|
+
}
|
3101
|
+
/**
|
3102
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
3103
|
+
*
|
3104
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3105
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3106
|
+
* @returns {string} A string representing the project.
|
3107
|
+
*/
|
3108
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3109
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
3110
|
+
}
|
3111
|
+
/**
|
3112
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
3113
|
+
*
|
3114
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3115
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3116
|
+
* @returns {string} A string representing the location.
|
3117
|
+
*/
|
3118
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3119
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
3120
|
+
}
|
3121
|
+
/**
|
3122
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
3123
|
+
*
|
3124
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3125
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3126
|
+
* @returns {string} A string representing the data_store.
|
3127
|
+
*/
|
3128
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3129
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
3130
|
+
}
|
3131
|
+
/**
|
3132
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
3133
|
+
*
|
3134
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3135
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3136
|
+
* @returns {string} A string representing the session.
|
3137
|
+
*/
|
3138
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3139
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
3140
|
+
}
|
3135
3141
|
/**
|
3136
3142
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
3137
3143
|
*
|