@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,15 +178,15 @@ 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
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
185
185
|
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
186
186
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
187
187
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
188
|
-
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
189
188
|
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
189
|
+
projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
190
190
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
191
191
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
192
192
|
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -196,8 +196,8 @@ class EvaluationServiceClient {
|
|
196
196
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
197
197
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
198
198
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
199
|
-
projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
200
199
|
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
200
|
+
projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
201
201
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
202
202
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
203
203
|
sampleQueryPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}'),
|
@@ -210,7 +210,7 @@ class EvaluationServiceClient {
|
|
210
210
|
listEvaluations: new this._gaxModule.PageDescriptor('pageToken', 'nextPageToken', 'evaluations'),
|
211
211
|
listEvaluationResults: new this._gaxModule.PageDescriptor('pageToken', 'nextPageToken', 'evaluationResults')
|
212
212
|
};
|
213
|
-
const protoFilesRoot = this._gaxModule.
|
213
|
+
const protoFilesRoot = this._gaxModule.protobufFromJSON(jsonProtos);
|
214
214
|
// This API contains "long-running operations", which return a
|
215
215
|
// an Operation object that allows for tracking of the operation,
|
216
216
|
// rather than holding a request open.
|
@@ -371,6 +371,12 @@ class EvaluationServiceClient {
|
|
371
371
|
?.then(([response, options, rawResponse]) => {
|
372
372
|
this._log.info('getEvaluation response %j', response);
|
373
373
|
return [response, options, rawResponse];
|
374
|
+
}).catch((error) => {
|
375
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
376
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
377
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
378
|
+
}
|
379
|
+
throw error;
|
374
380
|
});
|
375
381
|
}
|
376
382
|
createEvaluation(request, optionsOrCallback, callback) {
|
@@ -1766,154 +1772,154 @@ class EvaluationServiceClient {
|
|
1766
1772
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1767
1773
|
}
|
1768
1774
|
/**
|
1769
|
-
* Return a fully-qualified
|
1775
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1770
1776
|
*
|
1771
1777
|
* @param {string} project
|
1772
1778
|
* @param {string} location
|
1773
1779
|
* @param {string} collection
|
1774
1780
|
* @param {string} data_store
|
1775
1781
|
* @param {string} session
|
1782
|
+
* @param {string} answer
|
1776
1783
|
* @returns {string} Resource name string.
|
1777
1784
|
*/
|
1778
|
-
|
1779
|
-
return this.pathTemplates.
|
1785
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1786
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1780
1787
|
project: project,
|
1781
1788
|
location: location,
|
1782
1789
|
collection: collection,
|
1783
1790
|
data_store: dataStore,
|
1784
1791
|
session: session,
|
1792
|
+
answer: answer,
|
1785
1793
|
});
|
1786
1794
|
}
|
1787
1795
|
/**
|
1788
|
-
* Parse the project from
|
1796
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1789
1797
|
*
|
1790
|
-
* @param {string}
|
1791
|
-
* A fully-qualified path representing
|
1798
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1799
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1792
1800
|
* @returns {string} A string representing the project.
|
1793
1801
|
*/
|
1794
|
-
|
1795
|
-
return this.pathTemplates.
|
1802
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1803
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1796
1804
|
}
|
1797
1805
|
/**
|
1798
|
-
* Parse the location from
|
1806
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1799
1807
|
*
|
1800
|
-
* @param {string}
|
1801
|
-
* A fully-qualified path representing
|
1808
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1809
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1802
1810
|
* @returns {string} A string representing the location.
|
1803
1811
|
*/
|
1804
|
-
|
1805
|
-
return this.pathTemplates.
|
1812
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1813
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1806
1814
|
}
|
1807
1815
|
/**
|
1808
|
-
* Parse the collection from
|
1816
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1809
1817
|
*
|
1810
|
-
* @param {string}
|
1811
|
-
* A fully-qualified path representing
|
1818
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1819
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1812
1820
|
* @returns {string} A string representing the collection.
|
1813
1821
|
*/
|
1814
|
-
|
1815
|
-
return this.pathTemplates.
|
1822
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1823
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1816
1824
|
}
|
1817
1825
|
/**
|
1818
|
-
* Parse the data_store from
|
1826
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1819
1827
|
*
|
1820
|
-
* @param {string}
|
1821
|
-
* A fully-qualified path representing
|
1828
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1829
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1822
1830
|
* @returns {string} A string representing the data_store.
|
1823
1831
|
*/
|
1824
|
-
|
1825
|
-
return this.pathTemplates.
|
1832
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1833
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1826
1834
|
}
|
1827
1835
|
/**
|
1828
|
-
* Parse the session from
|
1836
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1829
1837
|
*
|
1830
|
-
* @param {string}
|
1831
|
-
* A fully-qualified path representing
|
1838
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1839
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1832
1840
|
* @returns {string} A string representing the session.
|
1833
1841
|
*/
|
1834
|
-
|
1835
|
-
return this.pathTemplates.
|
1842
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1843
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1836
1844
|
}
|
1837
1845
|
/**
|
1838
|
-
*
|
1846
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1847
|
+
*
|
1848
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1849
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1850
|
+
* @returns {string} A string representing the answer.
|
1851
|
+
*/
|
1852
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1853
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1854
|
+
}
|
1855
|
+
/**
|
1856
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
1839
1857
|
*
|
1840
1858
|
* @param {string} project
|
1841
1859
|
* @param {string} location
|
1842
1860
|
* @param {string} collection
|
1843
1861
|
* @param {string} data_store
|
1844
1862
|
* @param {string} session
|
1845
|
-
* @param {string} answer
|
1846
1863
|
* @returns {string} Resource name string.
|
1847
1864
|
*/
|
1848
|
-
|
1849
|
-
return this.pathTemplates.
|
1865
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
1866
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
1850
1867
|
project: project,
|
1851
1868
|
location: location,
|
1852
1869
|
collection: collection,
|
1853
1870
|
data_store: dataStore,
|
1854
1871
|
session: session,
|
1855
|
-
answer: answer,
|
1856
1872
|
});
|
1857
1873
|
}
|
1858
1874
|
/**
|
1859
|
-
* Parse the project from
|
1875
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
1860
1876
|
*
|
1861
|
-
* @param {string}
|
1862
|
-
* A fully-qualified path representing
|
1877
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1878
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1863
1879
|
* @returns {string} A string representing the project.
|
1864
1880
|
*/
|
1865
|
-
|
1866
|
-
return this.pathTemplates.
|
1881
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1882
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
1867
1883
|
}
|
1868
1884
|
/**
|
1869
|
-
* Parse the location from
|
1885
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
1870
1886
|
*
|
1871
|
-
* @param {string}
|
1872
|
-
* A fully-qualified path representing
|
1887
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1888
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1873
1889
|
* @returns {string} A string representing the location.
|
1874
1890
|
*/
|
1875
|
-
|
1876
|
-
return this.pathTemplates.
|
1891
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1892
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
1877
1893
|
}
|
1878
1894
|
/**
|
1879
|
-
* Parse the collection from
|
1895
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
1880
1896
|
*
|
1881
|
-
* @param {string}
|
1882
|
-
* A fully-qualified path representing
|
1897
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1898
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1883
1899
|
* @returns {string} A string representing the collection.
|
1884
1900
|
*/
|
1885
|
-
|
1886
|
-
return this.pathTemplates.
|
1901
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1902
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
1887
1903
|
}
|
1888
1904
|
/**
|
1889
|
-
* Parse the data_store from
|
1905
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
1890
1906
|
*
|
1891
|
-
* @param {string}
|
1892
|
-
* A fully-qualified path representing
|
1907
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1908
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1893
1909
|
* @returns {string} A string representing the data_store.
|
1894
1910
|
*/
|
1895
|
-
|
1896
|
-
return this.pathTemplates.
|
1911
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1912
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
1897
1913
|
}
|
1898
1914
|
/**
|
1899
|
-
* Parse the session from
|
1915
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
1900
1916
|
*
|
1901
|
-
* @param {string}
|
1902
|
-
* A fully-qualified path representing
|
1917
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1918
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1903
1919
|
* @returns {string} A string representing the session.
|
1904
1920
|
*/
|
1905
|
-
|
1906
|
-
return this.pathTemplates.
|
1907
|
-
}
|
1908
|
-
/**
|
1909
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1910
|
-
*
|
1911
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1912
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1913
|
-
* @returns {string} A string representing the answer.
|
1914
|
-
*/
|
1915
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1916
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1921
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1922
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
1917
1923
|
}
|
1918
1924
|
/**
|
1919
1925
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -2249,154 +2255,154 @@ class EvaluationServiceClient {
|
|
2249
2255
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
2250
2256
|
}
|
2251
2257
|
/**
|
2252
|
-
* Return a fully-qualified
|
2258
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
2253
2259
|
*
|
2254
2260
|
* @param {string} project
|
2255
2261
|
* @param {string} location
|
2256
2262
|
* @param {string} collection
|
2257
2263
|
* @param {string} engine
|
2258
2264
|
* @param {string} session
|
2265
|
+
* @param {string} answer
|
2259
2266
|
* @returns {string} Resource name string.
|
2260
2267
|
*/
|
2261
|
-
|
2262
|
-
return this.pathTemplates.
|
2268
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
2269
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
2263
2270
|
project: project,
|
2264
2271
|
location: location,
|
2265
2272
|
collection: collection,
|
2266
2273
|
engine: engine,
|
2267
2274
|
session: session,
|
2275
|
+
answer: answer,
|
2268
2276
|
});
|
2269
2277
|
}
|
2270
2278
|
/**
|
2271
|
-
* Parse the project from
|
2279
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
2272
2280
|
*
|
2273
|
-
* @param {string}
|
2274
|
-
* A fully-qualified path representing
|
2281
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2282
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2275
2283
|
* @returns {string} A string representing the project.
|
2276
2284
|
*/
|
2277
|
-
|
2278
|
-
return this.pathTemplates.
|
2285
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2286
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
2279
2287
|
}
|
2280
2288
|
/**
|
2281
|
-
* Parse the location from
|
2289
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
2282
2290
|
*
|
2283
|
-
* @param {string}
|
2284
|
-
* A fully-qualified path representing
|
2291
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2292
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2285
2293
|
* @returns {string} A string representing the location.
|
2286
2294
|
*/
|
2287
|
-
|
2288
|
-
return this.pathTemplates.
|
2295
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2296
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
2289
2297
|
}
|
2290
2298
|
/**
|
2291
|
-
* Parse the collection from
|
2299
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
2292
2300
|
*
|
2293
|
-
* @param {string}
|
2294
|
-
* A fully-qualified path representing
|
2301
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2302
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2295
2303
|
* @returns {string} A string representing the collection.
|
2296
2304
|
*/
|
2297
|
-
|
2298
|
-
return this.pathTemplates.
|
2305
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2306
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
2299
2307
|
}
|
2300
2308
|
/**
|
2301
|
-
* Parse the engine from
|
2309
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
2302
2310
|
*
|
2303
|
-
* @param {string}
|
2304
|
-
* A fully-qualified path representing
|
2311
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2312
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2305
2313
|
* @returns {string} A string representing the engine.
|
2306
2314
|
*/
|
2307
|
-
|
2308
|
-
return this.pathTemplates.
|
2315
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2316
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
2309
2317
|
}
|
2310
2318
|
/**
|
2311
|
-
* Parse the session from
|
2319
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
2312
2320
|
*
|
2313
|
-
* @param {string}
|
2314
|
-
* A fully-qualified path representing
|
2321
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2322
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2315
2323
|
* @returns {string} A string representing the session.
|
2316
2324
|
*/
|
2317
|
-
|
2318
|
-
return this.pathTemplates.
|
2325
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2326
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
2319
2327
|
}
|
2320
2328
|
/**
|
2321
|
-
*
|
2329
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2330
|
+
*
|
2331
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2332
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2333
|
+
* @returns {string} A string representing the answer.
|
2334
|
+
*/
|
2335
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2336
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2337
|
+
}
|
2338
|
+
/**
|
2339
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
2322
2340
|
*
|
2323
2341
|
* @param {string} project
|
2324
2342
|
* @param {string} location
|
2325
2343
|
* @param {string} collection
|
2326
2344
|
* @param {string} engine
|
2327
2345
|
* @param {string} session
|
2328
|
-
* @param {string} answer
|
2329
2346
|
* @returns {string} Resource name string.
|
2330
2347
|
*/
|
2331
|
-
|
2332
|
-
return this.pathTemplates.
|
2348
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
2349
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
2333
2350
|
project: project,
|
2334
2351
|
location: location,
|
2335
2352
|
collection: collection,
|
2336
2353
|
engine: engine,
|
2337
2354
|
session: session,
|
2338
|
-
answer: answer,
|
2339
2355
|
});
|
2340
2356
|
}
|
2341
2357
|
/**
|
2342
|
-
* Parse the project from
|
2358
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
2343
2359
|
*
|
2344
|
-
* @param {string}
|
2345
|
-
* A fully-qualified path representing
|
2360
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2361
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2346
2362
|
* @returns {string} A string representing the project.
|
2347
2363
|
*/
|
2348
|
-
|
2349
|
-
return this.pathTemplates.
|
2364
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2365
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
2350
2366
|
}
|
2351
2367
|
/**
|
2352
|
-
* Parse the location from
|
2368
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
2353
2369
|
*
|
2354
|
-
* @param {string}
|
2355
|
-
* A fully-qualified path representing
|
2370
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2371
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2356
2372
|
* @returns {string} A string representing the location.
|
2357
2373
|
*/
|
2358
|
-
|
2359
|
-
return this.pathTemplates.
|
2374
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2375
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
2360
2376
|
}
|
2361
2377
|
/**
|
2362
|
-
* Parse the collection from
|
2378
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
2363
2379
|
*
|
2364
|
-
* @param {string}
|
2365
|
-
* A fully-qualified path representing
|
2380
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2381
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2366
2382
|
* @returns {string} A string representing the collection.
|
2367
2383
|
*/
|
2368
|
-
|
2369
|
-
return this.pathTemplates.
|
2384
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2385
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
2370
2386
|
}
|
2371
2387
|
/**
|
2372
|
-
* Parse the engine from
|
2388
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
2373
2389
|
*
|
2374
|
-
* @param {string}
|
2375
|
-
* A fully-qualified path representing
|
2390
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2391
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2376
2392
|
* @returns {string} A string representing the engine.
|
2377
2393
|
*/
|
2378
|
-
|
2379
|
-
return this.pathTemplates.
|
2394
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2395
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
2380
2396
|
}
|
2381
2397
|
/**
|
2382
|
-
* Parse the session from
|
2398
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
2383
2399
|
*
|
2384
|
-
* @param {string}
|
2385
|
-
* A fully-qualified path representing
|
2400
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2401
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2386
2402
|
* @returns {string} A string representing the session.
|
2387
2403
|
*/
|
2388
|
-
|
2389
|
-
return this.pathTemplates.
|
2390
|
-
}
|
2391
|
-
/**
|
2392
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2393
|
-
*
|
2394
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2395
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2396
|
-
* @returns {string} A string representing the answer.
|
2397
|
-
*/
|
2398
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2399
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2404
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2405
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
2400
2406
|
}
|
2401
2407
|
/**
|
2402
2408
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -2923,63 +2929,6 @@ class EvaluationServiceClient {
|
|
2923
2929
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2924
2930
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
2925
2931
|
}
|
2926
|
-
/**
|
2927
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
2928
|
-
*
|
2929
|
-
* @param {string} project
|
2930
|
-
* @param {string} location
|
2931
|
-
* @param {string} data_store
|
2932
|
-
* @param {string} session
|
2933
|
-
* @returns {string} Resource name string.
|
2934
|
-
*/
|
2935
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
2936
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
2937
|
-
project: project,
|
2938
|
-
location: location,
|
2939
|
-
data_store: dataStore,
|
2940
|
-
session: session,
|
2941
|
-
});
|
2942
|
-
}
|
2943
|
-
/**
|
2944
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
2945
|
-
*
|
2946
|
-
* @param {string} projectLocationDataStoreSessionName
|
2947
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2948
|
-
* @returns {string} A string representing the project.
|
2949
|
-
*/
|
2950
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2951
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
2952
|
-
}
|
2953
|
-
/**
|
2954
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
2955
|
-
*
|
2956
|
-
* @param {string} projectLocationDataStoreSessionName
|
2957
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2958
|
-
* @returns {string} A string representing the location.
|
2959
|
-
*/
|
2960
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2961
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
2962
|
-
}
|
2963
|
-
/**
|
2964
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
2965
|
-
*
|
2966
|
-
* @param {string} projectLocationDataStoreSessionName
|
2967
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2968
|
-
* @returns {string} A string representing the data_store.
|
2969
|
-
*/
|
2970
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2971
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
2972
|
-
}
|
2973
|
-
/**
|
2974
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
2975
|
-
*
|
2976
|
-
* @param {string} projectLocationDataStoreSessionName
|
2977
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2978
|
-
* @returns {string} A string representing the session.
|
2979
|
-
*/
|
2980
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2981
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
2982
|
-
}
|
2983
2932
|
/**
|
2984
2933
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
2985
2934
|
*
|
@@ -3049,6 +2998,63 @@ class EvaluationServiceClient {
|
|
3049
2998
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
3050
2999
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
3051
3000
|
}
|
3001
|
+
/**
|
3002
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
3003
|
+
*
|
3004
|
+
* @param {string} project
|
3005
|
+
* @param {string} location
|
3006
|
+
* @param {string} data_store
|
3007
|
+
* @param {string} session
|
3008
|
+
* @returns {string} Resource name string.
|
3009
|
+
*/
|
3010
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
3011
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
3012
|
+
project: project,
|
3013
|
+
location: location,
|
3014
|
+
data_store: dataStore,
|
3015
|
+
session: session,
|
3016
|
+
});
|
3017
|
+
}
|
3018
|
+
/**
|
3019
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
3020
|
+
*
|
3021
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3022
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3023
|
+
* @returns {string} A string representing the project.
|
3024
|
+
*/
|
3025
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3026
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
3027
|
+
}
|
3028
|
+
/**
|
3029
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
3030
|
+
*
|
3031
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3032
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3033
|
+
* @returns {string} A string representing the location.
|
3034
|
+
*/
|
3035
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3036
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
3037
|
+
}
|
3038
|
+
/**
|
3039
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
3040
|
+
*
|
3041
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3042
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3043
|
+
* @returns {string} A string representing the data_store.
|
3044
|
+
*/
|
3045
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3046
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
3047
|
+
}
|
3048
|
+
/**
|
3049
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
3050
|
+
*
|
3051
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3052
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3053
|
+
* @returns {string} A string representing the session.
|
3054
|
+
*/
|
3055
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3056
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
3057
|
+
}
|
3052
3058
|
/**
|
3053
3059
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
3054
3060
|
*
|