@google-cloud/discoveryengine 2.2.0 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +30 -0
- package/build/protos/google/cloud/discoveryengine/v1/answer.proto +17 -0
- package/build/protos/google/cloud/discoveryengine/v1/assist_answer.proto +251 -0
- package/build/protos/google/cloud/discoveryengine/v1/assistant.proto +44 -0
- package/build/protos/google/cloud/discoveryengine/v1/assistant_service.proto +217 -0
- package/build/protos/google/cloud/discoveryengine/v1/chunk.proto +52 -0
- package/build/protos/google/cloud/discoveryengine/v1/cmek_config_service.proto +300 -0
- package/build/protos/google/cloud/discoveryengine/v1/common.proto +67 -0
- package/build/protos/google/cloud/discoveryengine/v1/control.proto +1 -3
- package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +18 -3
- package/build/protos/google/cloud/discoveryengine/v1/data_store.proto +54 -2
- package/build/protos/google/cloud/discoveryengine/v1/data_store_service.proto +14 -0
- package/build/protos/google/cloud/discoveryengine/v1/document.proto +95 -4
- package/build/protos/google/cloud/discoveryengine/v1/document_processing_config.proto +28 -1
- package/build/protos/google/cloud/discoveryengine/v1/engine.proto +131 -6
- package/build/protos/google/cloud/discoveryengine/v1/grounded_generation_service.proto +8 -0
- package/build/protos/google/cloud/discoveryengine/v1/grounding.proto +9 -0
- package/build/protos/google/cloud/discoveryengine/v1/identity_mapping_store.proto +84 -0
- package/build/protos/google/cloud/discoveryengine/v1/identity_mapping_store_service.proto +375 -0
- package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +14 -14
- package/build/protos/google/cloud/discoveryengine/v1/session.proto +21 -8
- package/build/protos/google/cloud/discoveryengine/v1/session_service.proto +128 -0
- package/build/protos/google/cloud/discoveryengine/v1/site_search_engine.proto +6 -0
- package/build/protos/google/cloud/discoveryengine/v1/user_license.proto +98 -0
- package/build/protos/google/cloud/discoveryengine/v1/user_license_service.proto +191 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +15 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +30 -9
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +8 -14
- package/build/protos/google/cloud/discoveryengine/v1alpha/session.proto +238 -8
- package/build/protos/google/cloud/discoveryengine/v1alpha/session_service.proto +201 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +26 -5
- package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +8 -14
- package/build/protos/google/cloud/discoveryengine/v1beta/session.proto +40 -8
- package/build/protos/google/cloud/discoveryengine/v1beta/session_service.proto +128 -0
- package/build/protos/protos.d.ts +21218 -11675
- package/build/protos/protos.js +92642 -66407
- package/build/protos/protos.json +5854 -2801
- package/build/src/index.d.ts +16 -1
- package/build/src/index.js +12 -2
- package/build/src/v1/assistant_service_client.d.ts +2058 -0
- package/build/src/v1/assistant_service_client.js +2957 -0
- package/build/src/v1/assistant_service_client_config.json +43 -0
- package/build/src/v1/assistant_service_proto_list.json +48 -0
- package/build/src/v1/cmek_config_service_client.d.ts +2398 -0
- package/build/src/v1/cmek_config_service_client.js +3426 -0
- package/build/src/v1/cmek_config_service_client_config.json +42 -0
- package/build/src/v1/cmek_config_service_proto_list.json +48 -0
- package/build/src/v1/completion_service_client.d.ts +345 -144
- package/build/src/v1/completion_service_client.js +482 -198
- package/build/src/v1/completion_service_proto_list.json +10 -1
- package/build/src/v1/control_service_client.d.ts +345 -144
- package/build/src/v1/control_service_client.js +498 -196
- package/build/src/v1/control_service_proto_list.json +10 -1
- package/build/src/v1/conversational_search_service_client.d.ts +392 -155
- package/build/src/v1/conversational_search_service_client.js +572 -204
- package/build/src/v1/conversational_search_service_proto_list.json +10 -1
- package/build/src/v1/data_store_service_client.d.ts +351 -144
- package/build/src/v1/data_store_service_client.js +488 -198
- package/build/src/v1/data_store_service_proto_list.json +10 -1
- package/build/src/v1/document_service_client.d.ts +345 -144
- package/build/src/v1/document_service_client.js +506 -198
- package/build/src/v1/document_service_proto_list.json +10 -1
- package/build/src/v1/engine_service_client.d.ts +345 -144
- package/build/src/v1/engine_service_client.js +488 -198
- package/build/src/v1/engine_service_proto_list.json +10 -1
- package/build/src/v1/gapic_metadata.json +270 -0
- package/build/src/v1/grounded_generation_service_client.d.ts +345 -144
- package/build/src/v1/grounded_generation_service_client.js +486 -196
- package/build/src/v1/grounded_generation_service_proto_list.json +10 -1
- package/build/src/v1/identity_mapping_store_service_client.d.ts +2581 -0
- package/build/src/v1/identity_mapping_store_service_client.js +3601 -0
- package/build/src/v1/identity_mapping_store_service_client_config.json +54 -0
- package/build/src/v1/identity_mapping_store_service_proto_list.json +48 -0
- package/build/src/v1/index.d.ts +5 -0
- package/build/src/v1/index.js +11 -1
- package/build/src/v1/project_service_client.d.ts +345 -144
- package/build/src/v1/project_service_client.js +476 -198
- package/build/src/v1/project_service_proto_list.json +10 -1
- package/build/src/v1/rank_service_client.d.ts +345 -144
- package/build/src/v1/rank_service_client.js +480 -196
- package/build/src/v1/rank_service_proto_list.json +10 -1
- package/build/src/v1/recommendation_service_client.d.ts +345 -144
- package/build/src/v1/recommendation_service_client.js +480 -196
- package/build/src/v1/recommendation_service_proto_list.json +10 -1
- package/build/src/v1/schema_service_client.d.ts +345 -144
- package/build/src/v1/schema_service_client.js +482 -198
- package/build/src/v1/schema_service_proto_list.json +10 -1
- package/build/src/v1/search_service_client.d.ts +393 -228
- package/build/src/v1/search_service_client.js +506 -252
- package/build/src/v1/search_service_proto_list.json +10 -1
- package/build/src/v1/search_tuning_service_client.d.ts +345 -144
- package/build/src/v1/search_tuning_service_client.js +482 -198
- package/build/src/v1/search_tuning_service_proto_list.json +10 -1
- package/build/src/v1/serving_config_service_client.d.ts +345 -144
- package/build/src/v1/serving_config_service_client.js +480 -196
- package/build/src/v1/serving_config_service_proto_list.json +10 -1
- package/build/src/v1/session_service_client.d.ts +2326 -0
- package/build/src/v1/session_service_client.js +3218 -0
- package/build/src/v1/session_service_client_config.json +63 -0
- package/build/src/v1/session_service_proto_list.json +48 -0
- package/build/src/v1/site_search_engine_service_client.d.ts +345 -144
- package/build/src/v1/site_search_engine_service_client.js +494 -198
- package/build/src/v1/site_search_engine_service_proto_list.json +10 -1
- package/build/src/v1/user_event_service_client.d.ts +345 -144
- package/build/src/v1/user_event_service_client.js +488 -198
- package/build/src/v1/user_event_service_proto_list.json +10 -1
- package/build/src/v1/user_license_service_client.d.ts +2367 -0
- package/build/src/v1/user_license_service_client.js +3346 -0
- package/build/src/v1/user_license_service_client_config.json +34 -0
- package/build/src/v1/user_license_service_proto_list.json +48 -0
- package/build/src/v1alpha/acl_config_service_client.d.ts +144 -144
- package/build/src/v1alpha/acl_config_service_client.js +208 -196
- package/build/src/v1alpha/acl_config_service_proto_list.json +1 -0
- package/build/src/v1alpha/chunk_service_client.d.ts +144 -144
- package/build/src/v1alpha/chunk_service_client.js +202 -196
- package/build/src/v1alpha/chunk_service_proto_list.json +1 -0
- package/build/src/v1alpha/completion_service_client.d.ts +144 -144
- package/build/src/v1alpha/completion_service_client.js +203 -197
- package/build/src/v1alpha/completion_service_proto_list.json +1 -0
- package/build/src/v1alpha/control_service_client.d.ts +144 -144
- package/build/src/v1alpha/control_service_client.js +220 -196
- package/build/src/v1alpha/control_service_proto_list.json +1 -0
- package/build/src/v1alpha/conversational_search_service_client.d.ts +221 -167
- package/build/src/v1alpha/conversational_search_service_client.js +310 -210
- package/build/src/v1alpha/conversational_search_service_proto_list.json +1 -0
- package/build/src/v1alpha/data_store_service_client.d.ts +144 -144
- package/build/src/v1alpha/data_store_service_client.js +221 -197
- package/build/src/v1alpha/data_store_service_proto_list.json +1 -0
- package/build/src/v1alpha/document_service_client.d.ts +144 -144
- package/build/src/v1alpha/document_service_client.js +233 -197
- package/build/src/v1alpha/document_service_proto_list.json +1 -0
- package/build/src/v1alpha/engine_service_client.d.ts +144 -144
- package/build/src/v1alpha/engine_service_client.js +221 -197
- package/build/src/v1alpha/engine_service_proto_list.json +1 -0
- package/build/src/v1alpha/estimate_billing_service_client.d.ts +144 -144
- package/build/src/v1alpha/estimate_billing_service_client.js +197 -197
- package/build/src/v1alpha/estimate_billing_service_proto_list.json +1 -0
- package/build/src/v1alpha/evaluation_service_client.d.ts +144 -144
- package/build/src/v1alpha/evaluation_service_client.js +203 -197
- package/build/src/v1alpha/evaluation_service_proto_list.json +1 -0
- package/build/src/v1alpha/gapic_metadata.json +82 -0
- package/build/src/v1alpha/grounded_generation_service_client.d.ts +144 -144
- package/build/src/v1alpha/grounded_generation_service_client.js +202 -196
- package/build/src/v1alpha/grounded_generation_service_proto_list.json +1 -0
- package/build/src/v1alpha/index.d.ts +1 -0
- package/build/src/v1alpha/index.js +3 -1
- package/build/src/v1alpha/project_service_client.d.ts +144 -144
- package/build/src/v1alpha/project_service_client.js +209 -197
- package/build/src/v1alpha/project_service_proto_list.json +1 -0
- package/build/src/v1alpha/rank_service_client.d.ts +144 -144
- package/build/src/v1alpha/rank_service_client.js +202 -196
- package/build/src/v1alpha/rank_service_proto_list.json +1 -0
- package/build/src/v1alpha/recommendation_service_client.d.ts +144 -144
- package/build/src/v1alpha/recommendation_service_client.js +202 -196
- package/build/src/v1alpha/recommendation_service_proto_list.json +1 -0
- package/build/src/v1alpha/sample_query_service_client.d.ts +144 -144
- package/build/src/v1alpha/sample_query_service_client.js +221 -197
- package/build/src/v1alpha/sample_query_service_proto_list.json +1 -0
- package/build/src/v1alpha/sample_query_set_service_client.d.ts +144 -144
- package/build/src/v1alpha/sample_query_set_service_client.js +220 -196
- package/build/src/v1alpha/sample_query_set_service_proto_list.json +1 -0
- package/build/src/v1alpha/schema_service_client.d.ts +144 -144
- package/build/src/v1alpha/schema_service_client.js +203 -197
- package/build/src/v1alpha/schema_service_proto_list.json +1 -0
- package/build/src/v1alpha/search_service_client.d.ts +168 -186
- package/build/src/v1alpha/search_service_client.js +212 -224
- package/build/src/v1alpha/search_service_proto_list.json +1 -0
- package/build/src/v1alpha/search_tuning_service_client.d.ts +144 -144
- package/build/src/v1alpha/search_tuning_service_client.js +203 -197
- package/build/src/v1alpha/search_tuning_service_proto_list.json +1 -0
- package/build/src/v1alpha/serving_config_service_client.d.ts +144 -144
- package/build/src/v1alpha/serving_config_service_client.js +208 -196
- package/build/src/v1alpha/serving_config_service_proto_list.json +1 -0
- package/build/src/v1alpha/session_service_client.d.ts +2331 -0
- package/build/src/v1alpha/session_service_client.js +3161 -0
- package/build/src/v1alpha/session_service_client_config.json +68 -0
- package/build/src/v1alpha/session_service_proto_list.json +49 -0
- package/build/src/v1alpha/site_search_engine_service_client.d.ts +144 -144
- package/build/src/v1alpha/site_search_engine_service_client.js +215 -197
- package/build/src/v1alpha/site_search_engine_service_proto_list.json +1 -0
- package/build/src/v1alpha/user_event_service_client.d.ts +144 -144
- package/build/src/v1alpha/user_event_service_client.js +209 -197
- package/build/src/v1alpha/user_event_service_proto_list.json +1 -0
- package/build/src/v1beta/completion_service_client.d.ts +144 -144
- package/build/src/v1beta/completion_service_client.js +209 -197
- package/build/src/v1beta/completion_service_proto_list.json +1 -0
- package/build/src/v1beta/control_service_client.d.ts +144 -144
- package/build/src/v1beta/control_service_client.js +220 -196
- package/build/src/v1beta/control_service_proto_list.json +1 -0
- package/build/src/v1beta/conversational_search_service_client.d.ts +215 -161
- package/build/src/v1beta/conversational_search_service_client.js +308 -208
- package/build/src/v1beta/conversational_search_service_proto_list.json +1 -0
- package/build/src/v1beta/data_store_service_client.d.ts +144 -144
- package/build/src/v1beta/data_store_service_client.js +209 -197
- package/build/src/v1beta/data_store_service_proto_list.json +1 -0
- package/build/src/v1beta/document_service_client.d.ts +144 -144
- package/build/src/v1beta/document_service_client.js +227 -197
- package/build/src/v1beta/document_service_proto_list.json +1 -0
- package/build/src/v1beta/engine_service_client.d.ts +144 -144
- package/build/src/v1beta/engine_service_client.js +221 -197
- package/build/src/v1beta/engine_service_proto_list.json +1 -0
- package/build/src/v1beta/evaluation_service_client.d.ts +144 -144
- package/build/src/v1beta/evaluation_service_client.js +203 -197
- package/build/src/v1beta/evaluation_service_proto_list.json +1 -0
- package/build/src/v1beta/gapic_metadata.json +68 -0
- package/build/src/v1beta/grounded_generation_service_client.d.ts +144 -144
- package/build/src/v1beta/grounded_generation_service_client.js +208 -196
- package/build/src/v1beta/grounded_generation_service_proto_list.json +1 -0
- package/build/src/v1beta/index.d.ts +1 -0
- package/build/src/v1beta/index.js +3 -1
- package/build/src/v1beta/project_service_client.d.ts +144 -144
- package/build/src/v1beta/project_service_client.js +197 -197
- package/build/src/v1beta/project_service_proto_list.json +1 -0
- package/build/src/v1beta/rank_service_client.d.ts +144 -144
- package/build/src/v1beta/rank_service_client.js +202 -196
- package/build/src/v1beta/rank_service_proto_list.json +1 -0
- package/build/src/v1beta/recommendation_service_client.d.ts +144 -144
- package/build/src/v1beta/recommendation_service_client.js +202 -196
- package/build/src/v1beta/recommendation_service_proto_list.json +1 -0
- package/build/src/v1beta/sample_query_service_client.d.ts +144 -144
- package/build/src/v1beta/sample_query_service_client.js +221 -197
- package/build/src/v1beta/sample_query_service_proto_list.json +1 -0
- package/build/src/v1beta/sample_query_set_service_client.d.ts +144 -144
- package/build/src/v1beta/sample_query_set_service_client.js +220 -196
- package/build/src/v1beta/sample_query_set_service_proto_list.json +1 -0
- package/build/src/v1beta/schema_service_client.d.ts +144 -144
- package/build/src/v1beta/schema_service_client.js +203 -197
- package/build/src/v1beta/schema_service_proto_list.json +1 -0
- package/build/src/v1beta/search_service_client.d.ts +192 -228
- package/build/src/v1beta/search_service_client.js +228 -252
- package/build/src/v1beta/search_service_proto_list.json +1 -0
- package/build/src/v1beta/search_tuning_service_client.d.ts +144 -144
- package/build/src/v1beta/search_tuning_service_client.js +203 -197
- package/build/src/v1beta/search_tuning_service_proto_list.json +1 -0
- package/build/src/v1beta/serving_config_service_client.d.ts +144 -144
- package/build/src/v1beta/serving_config_service_client.js +208 -196
- package/build/src/v1beta/serving_config_service_proto_list.json +1 -0
- package/build/src/v1beta/session_service_client.d.ts +2266 -0
- package/build/src/v1beta/session_service_client.js +3136 -0
- package/build/src/v1beta/session_service_client_config.json +63 -0
- package/build/src/v1beta/session_service_proto_list.json +45 -0
- package/build/src/v1beta/site_search_engine_service_client.d.ts +144 -144
- package/build/src/v1beta/site_search_engine_service_client.js +215 -197
- package/build/src/v1beta/site_search_engine_service_proto_list.json +1 -0
- package/build/src/v1beta/user_event_service_client.d.ts +144 -144
- package/build/src/v1beta/user_event_service_client.js +209 -197
- package/build/src/v1beta/user_event_service_proto_list.json +1 -0
- package/package.json +7 -7
- package/CHANGELOG.md +0 -274
@@ -177,8 +177,8 @@ class CompletionServiceClient {
|
|
177
177
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
178
178
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
179
179
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
180
|
-
projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
181
180
|
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
181
|
+
projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
182
182
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
183
183
|
projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
184
184
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
@@ -186,8 +186,8 @@ class CompletionServiceClient {
|
|
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}'),
|
@@ -198,15 +198,15 @@ class CompletionServiceClient {
|
|
198
198
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
199
199
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
200
200
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
201
|
-
projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
202
201
|
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
202
|
+
projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
203
203
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
204
204
|
projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
205
205
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
206
206
|
sampleQueryPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}'),
|
207
207
|
sampleQuerySetPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}'),
|
208
208
|
};
|
209
|
-
const protoFilesRoot = this._gaxModule.
|
209
|
+
const protoFilesRoot = this._gaxModule.protobufFromJSON(jsonProtos);
|
210
210
|
// This API contains "long-running operations", which return a
|
211
211
|
// an Operation object that allows for tracking of the operation,
|
212
212
|
// rather than holding a request open.
|
@@ -375,6 +375,12 @@ class CompletionServiceClient {
|
|
375
375
|
?.then(([response, options, rawResponse]) => {
|
376
376
|
this._log.info('completeQuery response %j', response);
|
377
377
|
return [response, options, rawResponse];
|
378
|
+
}).catch((error) => {
|
379
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
380
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
381
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
382
|
+
}
|
383
|
+
throw error;
|
378
384
|
});
|
379
385
|
}
|
380
386
|
advancedCompleteQuery(request, optionsOrCallback, callback) {
|
@@ -405,6 +411,12 @@ class CompletionServiceClient {
|
|
405
411
|
?.then(([response, options, rawResponse]) => {
|
406
412
|
this._log.info('advancedCompleteQuery response %j', response);
|
407
413
|
return [response, options, rawResponse];
|
414
|
+
}).catch((error) => {
|
415
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
416
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
417
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
418
|
+
}
|
419
|
+
throw error;
|
408
420
|
});
|
409
421
|
}
|
410
422
|
importSuggestionDenyListEntries(request, optionsOrCallback, callback) {
|
@@ -1696,154 +1708,154 @@ class CompletionServiceClient {
|
|
1696
1708
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1697
1709
|
}
|
1698
1710
|
/**
|
1699
|
-
* Return a fully-qualified
|
1711
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1700
1712
|
*
|
1701
1713
|
* @param {string} project
|
1702
1714
|
* @param {string} location
|
1703
1715
|
* @param {string} collection
|
1704
1716
|
* @param {string} data_store
|
1705
1717
|
* @param {string} session
|
1718
|
+
* @param {string} answer
|
1706
1719
|
* @returns {string} Resource name string.
|
1707
1720
|
*/
|
1708
|
-
|
1709
|
-
return this.pathTemplates.
|
1721
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1722
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1710
1723
|
project: project,
|
1711
1724
|
location: location,
|
1712
1725
|
collection: collection,
|
1713
1726
|
data_store: dataStore,
|
1714
1727
|
session: session,
|
1728
|
+
answer: answer,
|
1715
1729
|
});
|
1716
1730
|
}
|
1717
1731
|
/**
|
1718
|
-
* Parse the project from
|
1732
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1719
1733
|
*
|
1720
|
-
* @param {string}
|
1721
|
-
* A fully-qualified path representing
|
1734
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1735
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1722
1736
|
* @returns {string} A string representing the project.
|
1723
1737
|
*/
|
1724
|
-
|
1725
|
-
return this.pathTemplates.
|
1738
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1739
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1726
1740
|
}
|
1727
1741
|
/**
|
1728
|
-
* Parse the location from
|
1742
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1729
1743
|
*
|
1730
|
-
* @param {string}
|
1731
|
-
* A fully-qualified path representing
|
1744
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1745
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1732
1746
|
* @returns {string} A string representing the location.
|
1733
1747
|
*/
|
1734
|
-
|
1735
|
-
return this.pathTemplates.
|
1748
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1749
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1736
1750
|
}
|
1737
1751
|
/**
|
1738
|
-
* Parse the collection from
|
1752
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1739
1753
|
*
|
1740
|
-
* @param {string}
|
1741
|
-
* A fully-qualified path representing
|
1754
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1755
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1742
1756
|
* @returns {string} A string representing the collection.
|
1743
1757
|
*/
|
1744
|
-
|
1745
|
-
return this.pathTemplates.
|
1758
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1759
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1746
1760
|
}
|
1747
1761
|
/**
|
1748
|
-
* Parse the data_store from
|
1762
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1749
1763
|
*
|
1750
|
-
* @param {string}
|
1751
|
-
* A fully-qualified path representing
|
1764
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1765
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1752
1766
|
* @returns {string} A string representing the data_store.
|
1753
1767
|
*/
|
1754
|
-
|
1755
|
-
return this.pathTemplates.
|
1768
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1769
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1756
1770
|
}
|
1757
1771
|
/**
|
1758
|
-
* Parse the session from
|
1772
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1759
1773
|
*
|
1760
|
-
* @param {string}
|
1761
|
-
* A fully-qualified path representing
|
1774
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1775
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1762
1776
|
* @returns {string} A string representing the session.
|
1763
1777
|
*/
|
1764
|
-
|
1765
|
-
return this.pathTemplates.
|
1778
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1779
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1766
1780
|
}
|
1767
1781
|
/**
|
1768
|
-
*
|
1782
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1783
|
+
*
|
1784
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1785
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1786
|
+
* @returns {string} A string representing the answer.
|
1787
|
+
*/
|
1788
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1789
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1790
|
+
}
|
1791
|
+
/**
|
1792
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
1769
1793
|
*
|
1770
1794
|
* @param {string} project
|
1771
1795
|
* @param {string} location
|
1772
1796
|
* @param {string} collection
|
1773
1797
|
* @param {string} data_store
|
1774
1798
|
* @param {string} session
|
1775
|
-
* @param {string} answer
|
1776
1799
|
* @returns {string} Resource name string.
|
1777
1800
|
*/
|
1778
|
-
|
1779
|
-
return this.pathTemplates.
|
1801
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
1802
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
1780
1803
|
project: project,
|
1781
1804
|
location: location,
|
1782
1805
|
collection: collection,
|
1783
1806
|
data_store: dataStore,
|
1784
1807
|
session: session,
|
1785
|
-
answer: answer,
|
1786
1808
|
});
|
1787
1809
|
}
|
1788
1810
|
/**
|
1789
|
-
* Parse the project from
|
1811
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
1790
1812
|
*
|
1791
|
-
* @param {string}
|
1792
|
-
* A fully-qualified path representing
|
1813
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1814
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1793
1815
|
* @returns {string} A string representing the project.
|
1794
1816
|
*/
|
1795
|
-
|
1796
|
-
return this.pathTemplates.
|
1817
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1818
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
1797
1819
|
}
|
1798
1820
|
/**
|
1799
|
-
* Parse the location from
|
1821
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
1800
1822
|
*
|
1801
|
-
* @param {string}
|
1802
|
-
* A fully-qualified path representing
|
1823
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1824
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1803
1825
|
* @returns {string} A string representing the location.
|
1804
1826
|
*/
|
1805
|
-
|
1806
|
-
return this.pathTemplates.
|
1827
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1828
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
1807
1829
|
}
|
1808
1830
|
/**
|
1809
|
-
* Parse the collection from
|
1831
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
1810
1832
|
*
|
1811
|
-
* @param {string}
|
1812
|
-
* A fully-qualified path representing
|
1833
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1834
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1813
1835
|
* @returns {string} A string representing the collection.
|
1814
1836
|
*/
|
1815
|
-
|
1816
|
-
return this.pathTemplates.
|
1837
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1838
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
1817
1839
|
}
|
1818
1840
|
/**
|
1819
|
-
* Parse the data_store from
|
1841
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
1820
1842
|
*
|
1821
|
-
* @param {string}
|
1822
|
-
* A fully-qualified path representing
|
1843
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1844
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1823
1845
|
* @returns {string} A string representing the data_store.
|
1824
1846
|
*/
|
1825
|
-
|
1826
|
-
return this.pathTemplates.
|
1847
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1848
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
1827
1849
|
}
|
1828
1850
|
/**
|
1829
|
-
* Parse the session from
|
1851
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
1830
1852
|
*
|
1831
|
-
* @param {string}
|
1832
|
-
* A fully-qualified path representing
|
1853
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1854
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1833
1855
|
* @returns {string} A string representing the session.
|
1834
1856
|
*/
|
1835
|
-
|
1836
|
-
return this.pathTemplates.
|
1837
|
-
}
|
1838
|
-
/**
|
1839
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1840
|
-
*
|
1841
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1842
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1843
|
-
* @returns {string} A string representing the answer.
|
1844
|
-
*/
|
1845
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1846
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1857
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1858
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
1847
1859
|
}
|
1848
1860
|
/**
|
1849
1861
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -2305,154 +2317,154 @@ class CompletionServiceClient {
|
|
2305
2317
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
2306
2318
|
}
|
2307
2319
|
/**
|
2308
|
-
* Return a fully-qualified
|
2320
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
2309
2321
|
*
|
2310
2322
|
* @param {string} project
|
2311
2323
|
* @param {string} location
|
2312
2324
|
* @param {string} collection
|
2313
2325
|
* @param {string} engine
|
2314
2326
|
* @param {string} session
|
2327
|
+
* @param {string} answer
|
2315
2328
|
* @returns {string} Resource name string.
|
2316
2329
|
*/
|
2317
|
-
|
2318
|
-
return this.pathTemplates.
|
2330
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
2331
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
2319
2332
|
project: project,
|
2320
2333
|
location: location,
|
2321
2334
|
collection: collection,
|
2322
2335
|
engine: engine,
|
2323
2336
|
session: session,
|
2337
|
+
answer: answer,
|
2324
2338
|
});
|
2325
2339
|
}
|
2326
2340
|
/**
|
2327
|
-
* Parse the project from
|
2341
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
2328
2342
|
*
|
2329
|
-
* @param {string}
|
2330
|
-
* A fully-qualified path representing
|
2343
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2344
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2331
2345
|
* @returns {string} A string representing the project.
|
2332
2346
|
*/
|
2333
|
-
|
2334
|
-
return this.pathTemplates.
|
2347
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2348
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
2335
2349
|
}
|
2336
2350
|
/**
|
2337
|
-
* Parse the location from
|
2351
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
2338
2352
|
*
|
2339
|
-
* @param {string}
|
2340
|
-
* A fully-qualified path representing
|
2353
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2354
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2341
2355
|
* @returns {string} A string representing the location.
|
2342
2356
|
*/
|
2343
|
-
|
2344
|
-
return this.pathTemplates.
|
2357
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2358
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
2345
2359
|
}
|
2346
2360
|
/**
|
2347
|
-
* Parse the collection from
|
2361
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
2348
2362
|
*
|
2349
|
-
* @param {string}
|
2350
|
-
* A fully-qualified path representing
|
2363
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2364
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2351
2365
|
* @returns {string} A string representing the collection.
|
2352
2366
|
*/
|
2353
|
-
|
2354
|
-
return this.pathTemplates.
|
2367
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2368
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
2355
2369
|
}
|
2356
2370
|
/**
|
2357
|
-
* Parse the engine from
|
2371
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
2358
2372
|
*
|
2359
|
-
* @param {string}
|
2360
|
-
* A fully-qualified path representing
|
2373
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2374
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2361
2375
|
* @returns {string} A string representing the engine.
|
2362
2376
|
*/
|
2363
|
-
|
2364
|
-
return this.pathTemplates.
|
2377
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2378
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
2365
2379
|
}
|
2366
2380
|
/**
|
2367
|
-
* Parse the session from
|
2381
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
2368
2382
|
*
|
2369
|
-
* @param {string}
|
2370
|
-
* A fully-qualified path representing
|
2383
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2384
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2371
2385
|
* @returns {string} A string representing the session.
|
2372
2386
|
*/
|
2373
|
-
|
2374
|
-
return this.pathTemplates.
|
2387
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2388
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
2375
2389
|
}
|
2376
2390
|
/**
|
2377
|
-
*
|
2391
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2392
|
+
*
|
2393
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2394
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2395
|
+
* @returns {string} A string representing the answer.
|
2396
|
+
*/
|
2397
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2398
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2399
|
+
}
|
2400
|
+
/**
|
2401
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
2378
2402
|
*
|
2379
2403
|
* @param {string} project
|
2380
2404
|
* @param {string} location
|
2381
2405
|
* @param {string} collection
|
2382
2406
|
* @param {string} engine
|
2383
2407
|
* @param {string} session
|
2384
|
-
* @param {string} answer
|
2385
2408
|
* @returns {string} Resource name string.
|
2386
2409
|
*/
|
2387
|
-
|
2388
|
-
return this.pathTemplates.
|
2410
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
2411
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
2389
2412
|
project: project,
|
2390
2413
|
location: location,
|
2391
2414
|
collection: collection,
|
2392
2415
|
engine: engine,
|
2393
2416
|
session: session,
|
2394
|
-
answer: answer,
|
2395
2417
|
});
|
2396
2418
|
}
|
2397
2419
|
/**
|
2398
|
-
* Parse the project from
|
2420
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
2399
2421
|
*
|
2400
|
-
* @param {string}
|
2401
|
-
* A fully-qualified path representing
|
2422
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2423
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2402
2424
|
* @returns {string} A string representing the project.
|
2403
2425
|
*/
|
2404
|
-
|
2405
|
-
return this.pathTemplates.
|
2426
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2427
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
2406
2428
|
}
|
2407
2429
|
/**
|
2408
|
-
* Parse the location from
|
2430
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
2409
2431
|
*
|
2410
|
-
* @param {string}
|
2411
|
-
* A fully-qualified path representing
|
2432
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2433
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2412
2434
|
* @returns {string} A string representing the location.
|
2413
2435
|
*/
|
2414
|
-
|
2415
|
-
return this.pathTemplates.
|
2436
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2437
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
2416
2438
|
}
|
2417
2439
|
/**
|
2418
|
-
* Parse the collection from
|
2440
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
2419
2441
|
*
|
2420
|
-
* @param {string}
|
2421
|
-
* A fully-qualified path representing
|
2442
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2443
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2422
2444
|
* @returns {string} A string representing the collection.
|
2423
2445
|
*/
|
2424
|
-
|
2425
|
-
return this.pathTemplates.
|
2446
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2447
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
2426
2448
|
}
|
2427
2449
|
/**
|
2428
|
-
* Parse the engine from
|
2450
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
2429
2451
|
*
|
2430
|
-
* @param {string}
|
2431
|
-
* A fully-qualified path representing
|
2452
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2453
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2432
2454
|
* @returns {string} A string representing the engine.
|
2433
2455
|
*/
|
2434
|
-
|
2435
|
-
return this.pathTemplates.
|
2456
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2457
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
2436
2458
|
}
|
2437
2459
|
/**
|
2438
|
-
* Parse the session from
|
2460
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
2439
2461
|
*
|
2440
|
-
* @param {string}
|
2441
|
-
* A fully-qualified path representing
|
2462
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2463
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2442
2464
|
* @returns {string} A string representing the session.
|
2443
2465
|
*/
|
2444
|
-
|
2445
|
-
return this.pathTemplates.
|
2446
|
-
}
|
2447
|
-
/**
|
2448
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2449
|
-
*
|
2450
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2451
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2452
|
-
* @returns {string} A string representing the answer.
|
2453
|
-
*/
|
2454
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2455
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2466
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2467
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
2456
2468
|
}
|
2457
2469
|
/**
|
2458
2470
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -3024,63 +3036,6 @@ class CompletionServiceClient {
|
|
3024
3036
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
3025
3037
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
3026
3038
|
}
|
3027
|
-
/**
|
3028
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
3029
|
-
*
|
3030
|
-
* @param {string} project
|
3031
|
-
* @param {string} location
|
3032
|
-
* @param {string} data_store
|
3033
|
-
* @param {string} session
|
3034
|
-
* @returns {string} Resource name string.
|
3035
|
-
*/
|
3036
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
3037
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
3038
|
-
project: project,
|
3039
|
-
location: location,
|
3040
|
-
data_store: dataStore,
|
3041
|
-
session: session,
|
3042
|
-
});
|
3043
|
-
}
|
3044
|
-
/**
|
3045
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
3046
|
-
*
|
3047
|
-
* @param {string} projectLocationDataStoreSessionName
|
3048
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3049
|
-
* @returns {string} A string representing the project.
|
3050
|
-
*/
|
3051
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3052
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
3053
|
-
}
|
3054
|
-
/**
|
3055
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
3056
|
-
*
|
3057
|
-
* @param {string} projectLocationDataStoreSessionName
|
3058
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3059
|
-
* @returns {string} A string representing the location.
|
3060
|
-
*/
|
3061
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3062
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
3063
|
-
}
|
3064
|
-
/**
|
3065
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
3066
|
-
*
|
3067
|
-
* @param {string} projectLocationDataStoreSessionName
|
3068
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3069
|
-
* @returns {string} A string representing the data_store.
|
3070
|
-
*/
|
3071
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3072
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
3073
|
-
}
|
3074
|
-
/**
|
3075
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
3076
|
-
*
|
3077
|
-
* @param {string} projectLocationDataStoreSessionName
|
3078
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3079
|
-
* @returns {string} A string representing the session.
|
3080
|
-
*/
|
3081
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3082
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
3083
|
-
}
|
3084
3039
|
/**
|
3085
3040
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
3086
3041
|
*
|
@@ -3150,6 +3105,63 @@ class CompletionServiceClient {
|
|
3150
3105
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
3151
3106
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
3152
3107
|
}
|
3108
|
+
/**
|
3109
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
3110
|
+
*
|
3111
|
+
* @param {string} project
|
3112
|
+
* @param {string} location
|
3113
|
+
* @param {string} data_store
|
3114
|
+
* @param {string} session
|
3115
|
+
* @returns {string} Resource name string.
|
3116
|
+
*/
|
3117
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
3118
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
3119
|
+
project: project,
|
3120
|
+
location: location,
|
3121
|
+
data_store: dataStore,
|
3122
|
+
session: session,
|
3123
|
+
});
|
3124
|
+
}
|
3125
|
+
/**
|
3126
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
3127
|
+
*
|
3128
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3129
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3130
|
+
* @returns {string} A string representing the project.
|
3131
|
+
*/
|
3132
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3133
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
3134
|
+
}
|
3135
|
+
/**
|
3136
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
3137
|
+
*
|
3138
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3139
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3140
|
+
* @returns {string} A string representing the location.
|
3141
|
+
*/
|
3142
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3143
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
3144
|
+
}
|
3145
|
+
/**
|
3146
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
3147
|
+
*
|
3148
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3149
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3150
|
+
* @returns {string} A string representing the data_store.
|
3151
|
+
*/
|
3152
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3153
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
3154
|
+
}
|
3155
|
+
/**
|
3156
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
3157
|
+
*
|
3158
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3159
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3160
|
+
* @returns {string} A string representing the session.
|
3161
|
+
*/
|
3162
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3163
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
3164
|
+
}
|
3153
3165
|
/**
|
3154
3166
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
3155
3167
|
*
|