@google-cloud/discoveryengine 2.2.0 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +30 -0
- package/build/protos/google/cloud/discoveryengine/v1/answer.proto +17 -0
- package/build/protos/google/cloud/discoveryengine/v1/assist_answer.proto +251 -0
- package/build/protos/google/cloud/discoveryengine/v1/assistant.proto +44 -0
- package/build/protos/google/cloud/discoveryengine/v1/assistant_service.proto +217 -0
- package/build/protos/google/cloud/discoveryengine/v1/chunk.proto +52 -0
- package/build/protos/google/cloud/discoveryengine/v1/cmek_config_service.proto +300 -0
- package/build/protos/google/cloud/discoveryengine/v1/common.proto +67 -0
- package/build/protos/google/cloud/discoveryengine/v1/control.proto +1 -3
- package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +18 -3
- package/build/protos/google/cloud/discoveryengine/v1/data_store.proto +54 -2
- package/build/protos/google/cloud/discoveryengine/v1/data_store_service.proto +14 -0
- package/build/protos/google/cloud/discoveryengine/v1/document.proto +95 -4
- package/build/protos/google/cloud/discoveryengine/v1/document_processing_config.proto +28 -1
- package/build/protos/google/cloud/discoveryengine/v1/engine.proto +131 -6
- package/build/protos/google/cloud/discoveryengine/v1/grounded_generation_service.proto +8 -0
- package/build/protos/google/cloud/discoveryengine/v1/grounding.proto +9 -0
- package/build/protos/google/cloud/discoveryengine/v1/identity_mapping_store.proto +84 -0
- package/build/protos/google/cloud/discoveryengine/v1/identity_mapping_store_service.proto +375 -0
- package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +14 -14
- package/build/protos/google/cloud/discoveryengine/v1/session.proto +21 -8
- package/build/protos/google/cloud/discoveryengine/v1/session_service.proto +128 -0
- package/build/protos/google/cloud/discoveryengine/v1/site_search_engine.proto +6 -0
- package/build/protos/google/cloud/discoveryengine/v1/user_license.proto +98 -0
- package/build/protos/google/cloud/discoveryengine/v1/user_license_service.proto +191 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +15 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +30 -9
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +8 -14
- package/build/protos/google/cloud/discoveryengine/v1alpha/session.proto +238 -8
- package/build/protos/google/cloud/discoveryengine/v1alpha/session_service.proto +201 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +26 -5
- package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +8 -14
- package/build/protos/google/cloud/discoveryengine/v1beta/session.proto +40 -8
- package/build/protos/google/cloud/discoveryengine/v1beta/session_service.proto +128 -0
- package/build/protos/protos.d.ts +21218 -11675
- package/build/protos/protos.js +92642 -66407
- package/build/protos/protos.json +5854 -2801
- package/build/src/index.d.ts +16 -1
- package/build/src/index.js +12 -2
- package/build/src/v1/assistant_service_client.d.ts +2058 -0
- package/build/src/v1/assistant_service_client.js +2957 -0
- package/build/src/v1/assistant_service_client_config.json +43 -0
- package/build/src/v1/assistant_service_proto_list.json +48 -0
- package/build/src/v1/cmek_config_service_client.d.ts +2398 -0
- package/build/src/v1/cmek_config_service_client.js +3426 -0
- package/build/src/v1/cmek_config_service_client_config.json +42 -0
- package/build/src/v1/cmek_config_service_proto_list.json +48 -0
- package/build/src/v1/completion_service_client.d.ts +345 -144
- package/build/src/v1/completion_service_client.js +482 -198
- package/build/src/v1/completion_service_proto_list.json +10 -1
- package/build/src/v1/control_service_client.d.ts +345 -144
- package/build/src/v1/control_service_client.js +498 -196
- package/build/src/v1/control_service_proto_list.json +10 -1
- package/build/src/v1/conversational_search_service_client.d.ts +392 -155
- package/build/src/v1/conversational_search_service_client.js +572 -204
- package/build/src/v1/conversational_search_service_proto_list.json +10 -1
- package/build/src/v1/data_store_service_client.d.ts +351 -144
- package/build/src/v1/data_store_service_client.js +488 -198
- package/build/src/v1/data_store_service_proto_list.json +10 -1
- package/build/src/v1/document_service_client.d.ts +345 -144
- package/build/src/v1/document_service_client.js +506 -198
- package/build/src/v1/document_service_proto_list.json +10 -1
- package/build/src/v1/engine_service_client.d.ts +345 -144
- package/build/src/v1/engine_service_client.js +488 -198
- package/build/src/v1/engine_service_proto_list.json +10 -1
- package/build/src/v1/gapic_metadata.json +270 -0
- package/build/src/v1/grounded_generation_service_client.d.ts +345 -144
- package/build/src/v1/grounded_generation_service_client.js +486 -196
- package/build/src/v1/grounded_generation_service_proto_list.json +10 -1
- package/build/src/v1/identity_mapping_store_service_client.d.ts +2581 -0
- package/build/src/v1/identity_mapping_store_service_client.js +3601 -0
- package/build/src/v1/identity_mapping_store_service_client_config.json +54 -0
- package/build/src/v1/identity_mapping_store_service_proto_list.json +48 -0
- package/build/src/v1/index.d.ts +5 -0
- package/build/src/v1/index.js +11 -1
- package/build/src/v1/project_service_client.d.ts +345 -144
- package/build/src/v1/project_service_client.js +476 -198
- package/build/src/v1/project_service_proto_list.json +10 -1
- package/build/src/v1/rank_service_client.d.ts +345 -144
- package/build/src/v1/rank_service_client.js +480 -196
- package/build/src/v1/rank_service_proto_list.json +10 -1
- package/build/src/v1/recommendation_service_client.d.ts +345 -144
- package/build/src/v1/recommendation_service_client.js +480 -196
- package/build/src/v1/recommendation_service_proto_list.json +10 -1
- package/build/src/v1/schema_service_client.d.ts +345 -144
- package/build/src/v1/schema_service_client.js +482 -198
- package/build/src/v1/schema_service_proto_list.json +10 -1
- package/build/src/v1/search_service_client.d.ts +393 -228
- package/build/src/v1/search_service_client.js +506 -252
- package/build/src/v1/search_service_proto_list.json +10 -1
- package/build/src/v1/search_tuning_service_client.d.ts +345 -144
- package/build/src/v1/search_tuning_service_client.js +482 -198
- package/build/src/v1/search_tuning_service_proto_list.json +10 -1
- package/build/src/v1/serving_config_service_client.d.ts +345 -144
- package/build/src/v1/serving_config_service_client.js +480 -196
- package/build/src/v1/serving_config_service_proto_list.json +10 -1
- package/build/src/v1/session_service_client.d.ts +2326 -0
- package/build/src/v1/session_service_client.js +3218 -0
- package/build/src/v1/session_service_client_config.json +63 -0
- package/build/src/v1/session_service_proto_list.json +48 -0
- package/build/src/v1/site_search_engine_service_client.d.ts +345 -144
- package/build/src/v1/site_search_engine_service_client.js +494 -198
- package/build/src/v1/site_search_engine_service_proto_list.json +10 -1
- package/build/src/v1/user_event_service_client.d.ts +345 -144
- package/build/src/v1/user_event_service_client.js +488 -198
- package/build/src/v1/user_event_service_proto_list.json +10 -1
- package/build/src/v1/user_license_service_client.d.ts +2367 -0
- package/build/src/v1/user_license_service_client.js +3346 -0
- package/build/src/v1/user_license_service_client_config.json +34 -0
- package/build/src/v1/user_license_service_proto_list.json +48 -0
- package/build/src/v1alpha/acl_config_service_client.d.ts +144 -144
- package/build/src/v1alpha/acl_config_service_client.js +208 -196
- package/build/src/v1alpha/acl_config_service_proto_list.json +1 -0
- package/build/src/v1alpha/chunk_service_client.d.ts +144 -144
- package/build/src/v1alpha/chunk_service_client.js +202 -196
- package/build/src/v1alpha/chunk_service_proto_list.json +1 -0
- package/build/src/v1alpha/completion_service_client.d.ts +144 -144
- package/build/src/v1alpha/completion_service_client.js +203 -197
- package/build/src/v1alpha/completion_service_proto_list.json +1 -0
- package/build/src/v1alpha/control_service_client.d.ts +144 -144
- package/build/src/v1alpha/control_service_client.js +220 -196
- package/build/src/v1alpha/control_service_proto_list.json +1 -0
- package/build/src/v1alpha/conversational_search_service_client.d.ts +221 -167
- package/build/src/v1alpha/conversational_search_service_client.js +310 -210
- package/build/src/v1alpha/conversational_search_service_proto_list.json +1 -0
- package/build/src/v1alpha/data_store_service_client.d.ts +144 -144
- package/build/src/v1alpha/data_store_service_client.js +221 -197
- package/build/src/v1alpha/data_store_service_proto_list.json +1 -0
- package/build/src/v1alpha/document_service_client.d.ts +144 -144
- package/build/src/v1alpha/document_service_client.js +233 -197
- package/build/src/v1alpha/document_service_proto_list.json +1 -0
- package/build/src/v1alpha/engine_service_client.d.ts +144 -144
- package/build/src/v1alpha/engine_service_client.js +221 -197
- package/build/src/v1alpha/engine_service_proto_list.json +1 -0
- package/build/src/v1alpha/estimate_billing_service_client.d.ts +144 -144
- package/build/src/v1alpha/estimate_billing_service_client.js +197 -197
- package/build/src/v1alpha/estimate_billing_service_proto_list.json +1 -0
- package/build/src/v1alpha/evaluation_service_client.d.ts +144 -144
- package/build/src/v1alpha/evaluation_service_client.js +203 -197
- package/build/src/v1alpha/evaluation_service_proto_list.json +1 -0
- package/build/src/v1alpha/gapic_metadata.json +82 -0
- package/build/src/v1alpha/grounded_generation_service_client.d.ts +144 -144
- package/build/src/v1alpha/grounded_generation_service_client.js +202 -196
- package/build/src/v1alpha/grounded_generation_service_proto_list.json +1 -0
- package/build/src/v1alpha/index.d.ts +1 -0
- package/build/src/v1alpha/index.js +3 -1
- package/build/src/v1alpha/project_service_client.d.ts +144 -144
- package/build/src/v1alpha/project_service_client.js +209 -197
- package/build/src/v1alpha/project_service_proto_list.json +1 -0
- package/build/src/v1alpha/rank_service_client.d.ts +144 -144
- package/build/src/v1alpha/rank_service_client.js +202 -196
- package/build/src/v1alpha/rank_service_proto_list.json +1 -0
- package/build/src/v1alpha/recommendation_service_client.d.ts +144 -144
- package/build/src/v1alpha/recommendation_service_client.js +202 -196
- package/build/src/v1alpha/recommendation_service_proto_list.json +1 -0
- package/build/src/v1alpha/sample_query_service_client.d.ts +144 -144
- package/build/src/v1alpha/sample_query_service_client.js +221 -197
- package/build/src/v1alpha/sample_query_service_proto_list.json +1 -0
- package/build/src/v1alpha/sample_query_set_service_client.d.ts +144 -144
- package/build/src/v1alpha/sample_query_set_service_client.js +220 -196
- package/build/src/v1alpha/sample_query_set_service_proto_list.json +1 -0
- package/build/src/v1alpha/schema_service_client.d.ts +144 -144
- package/build/src/v1alpha/schema_service_client.js +203 -197
- package/build/src/v1alpha/schema_service_proto_list.json +1 -0
- package/build/src/v1alpha/search_service_client.d.ts +168 -186
- package/build/src/v1alpha/search_service_client.js +212 -224
- package/build/src/v1alpha/search_service_proto_list.json +1 -0
- package/build/src/v1alpha/search_tuning_service_client.d.ts +144 -144
- package/build/src/v1alpha/search_tuning_service_client.js +203 -197
- package/build/src/v1alpha/search_tuning_service_proto_list.json +1 -0
- package/build/src/v1alpha/serving_config_service_client.d.ts +144 -144
- package/build/src/v1alpha/serving_config_service_client.js +208 -196
- package/build/src/v1alpha/serving_config_service_proto_list.json +1 -0
- package/build/src/v1alpha/session_service_client.d.ts +2331 -0
- package/build/src/v1alpha/session_service_client.js +3161 -0
- package/build/src/v1alpha/session_service_client_config.json +68 -0
- package/build/src/v1alpha/session_service_proto_list.json +49 -0
- package/build/src/v1alpha/site_search_engine_service_client.d.ts +144 -144
- package/build/src/v1alpha/site_search_engine_service_client.js +215 -197
- package/build/src/v1alpha/site_search_engine_service_proto_list.json +1 -0
- package/build/src/v1alpha/user_event_service_client.d.ts +144 -144
- package/build/src/v1alpha/user_event_service_client.js +209 -197
- package/build/src/v1alpha/user_event_service_proto_list.json +1 -0
- package/build/src/v1beta/completion_service_client.d.ts +144 -144
- package/build/src/v1beta/completion_service_client.js +209 -197
- package/build/src/v1beta/completion_service_proto_list.json +1 -0
- package/build/src/v1beta/control_service_client.d.ts +144 -144
- package/build/src/v1beta/control_service_client.js +220 -196
- package/build/src/v1beta/control_service_proto_list.json +1 -0
- package/build/src/v1beta/conversational_search_service_client.d.ts +215 -161
- package/build/src/v1beta/conversational_search_service_client.js +308 -208
- package/build/src/v1beta/conversational_search_service_proto_list.json +1 -0
- package/build/src/v1beta/data_store_service_client.d.ts +144 -144
- package/build/src/v1beta/data_store_service_client.js +209 -197
- package/build/src/v1beta/data_store_service_proto_list.json +1 -0
- package/build/src/v1beta/document_service_client.d.ts +144 -144
- package/build/src/v1beta/document_service_client.js +227 -197
- package/build/src/v1beta/document_service_proto_list.json +1 -0
- package/build/src/v1beta/engine_service_client.d.ts +144 -144
- package/build/src/v1beta/engine_service_client.js +221 -197
- package/build/src/v1beta/engine_service_proto_list.json +1 -0
- package/build/src/v1beta/evaluation_service_client.d.ts +144 -144
- package/build/src/v1beta/evaluation_service_client.js +203 -197
- package/build/src/v1beta/evaluation_service_proto_list.json +1 -0
- package/build/src/v1beta/gapic_metadata.json +68 -0
- package/build/src/v1beta/grounded_generation_service_client.d.ts +144 -144
- package/build/src/v1beta/grounded_generation_service_client.js +208 -196
- package/build/src/v1beta/grounded_generation_service_proto_list.json +1 -0
- package/build/src/v1beta/index.d.ts +1 -0
- package/build/src/v1beta/index.js +3 -1
- package/build/src/v1beta/project_service_client.d.ts +144 -144
- package/build/src/v1beta/project_service_client.js +197 -197
- package/build/src/v1beta/project_service_proto_list.json +1 -0
- package/build/src/v1beta/rank_service_client.d.ts +144 -144
- package/build/src/v1beta/rank_service_client.js +202 -196
- package/build/src/v1beta/rank_service_proto_list.json +1 -0
- package/build/src/v1beta/recommendation_service_client.d.ts +144 -144
- package/build/src/v1beta/recommendation_service_client.js +202 -196
- package/build/src/v1beta/recommendation_service_proto_list.json +1 -0
- package/build/src/v1beta/sample_query_service_client.d.ts +144 -144
- package/build/src/v1beta/sample_query_service_client.js +221 -197
- package/build/src/v1beta/sample_query_service_proto_list.json +1 -0
- package/build/src/v1beta/sample_query_set_service_client.d.ts +144 -144
- package/build/src/v1beta/sample_query_set_service_client.js +220 -196
- package/build/src/v1beta/sample_query_set_service_proto_list.json +1 -0
- package/build/src/v1beta/schema_service_client.d.ts +144 -144
- package/build/src/v1beta/schema_service_client.js +203 -197
- package/build/src/v1beta/schema_service_proto_list.json +1 -0
- package/build/src/v1beta/search_service_client.d.ts +192 -228
- package/build/src/v1beta/search_service_client.js +228 -252
- package/build/src/v1beta/search_service_proto_list.json +1 -0
- package/build/src/v1beta/search_tuning_service_client.d.ts +144 -144
- package/build/src/v1beta/search_tuning_service_client.js +203 -197
- package/build/src/v1beta/search_tuning_service_proto_list.json +1 -0
- package/build/src/v1beta/serving_config_service_client.d.ts +144 -144
- package/build/src/v1beta/serving_config_service_client.js +208 -196
- package/build/src/v1beta/serving_config_service_proto_list.json +1 -0
- package/build/src/v1beta/session_service_client.d.ts +2266 -0
- package/build/src/v1beta/session_service_client.js +3136 -0
- package/build/src/v1beta/session_service_client_config.json +63 -0
- package/build/src/v1beta/session_service_proto_list.json +45 -0
- package/build/src/v1beta/site_search_engine_service_client.d.ts +144 -144
- package/build/src/v1beta/site_search_engine_service_client.js +215 -197
- package/build/src/v1beta/site_search_engine_service_proto_list.json +1 -0
- package/build/src/v1beta/user_event_service_client.d.ts +144 -144
- package/build/src/v1beta/user_event_service_client.js +209 -197
- package/build/src/v1beta/user_event_service_proto_list.json +1 -0
- package/package.json +7 -7
- package/CHANGELOG.md +0 -274
@@ -176,16 +176,16 @@ class SiteSearchEngineServiceClient {
|
|
176
176
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
177
177
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
178
178
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
179
|
-
projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
180
179
|
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
180
|
+
projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
181
181
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
182
182
|
projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
183
183
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
184
184
|
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
185
185
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
186
186
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
187
|
-
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
188
187
|
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
188
|
+
projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
189
189
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
190
190
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
191
191
|
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -195,8 +195,8 @@ class SiteSearchEngineServiceClient {
|
|
195
195
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
196
196
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
197
197
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
198
|
-
projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
199
198
|
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
199
|
+
projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
200
200
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
201
201
|
projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
202
202
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
@@ -210,7 +210,7 @@ class SiteSearchEngineServiceClient {
|
|
210
210
|
listTargetSites: new this._gaxModule.PageDescriptor('pageToken', 'nextPageToken', 'targetSites'),
|
211
211
|
fetchDomainVerificationStatus: new this._gaxModule.PageDescriptor('pageToken', 'nextPageToken', 'targetSites')
|
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.
|
@@ -398,6 +398,12 @@ class SiteSearchEngineServiceClient {
|
|
398
398
|
?.then(([response, options, rawResponse]) => {
|
399
399
|
this._log.info('getSiteSearchEngine response %j', response);
|
400
400
|
return [response, options, rawResponse];
|
401
|
+
}).catch((error) => {
|
402
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
403
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
404
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
405
|
+
}
|
406
|
+
throw error;
|
401
407
|
});
|
402
408
|
}
|
403
409
|
getTargetSite(request, optionsOrCallback, callback) {
|
@@ -428,6 +434,12 @@ class SiteSearchEngineServiceClient {
|
|
428
434
|
?.then(([response, options, rawResponse]) => {
|
429
435
|
this._log.info('getTargetSite response %j', response);
|
430
436
|
return [response, options, rawResponse];
|
437
|
+
}).catch((error) => {
|
438
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
439
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
440
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
441
|
+
}
|
442
|
+
throw error;
|
431
443
|
});
|
432
444
|
}
|
433
445
|
fetchSitemaps(request, optionsOrCallback, callback) {
|
@@ -458,6 +470,12 @@ class SiteSearchEngineServiceClient {
|
|
458
470
|
?.then(([response, options, rawResponse]) => {
|
459
471
|
this._log.info('fetchSitemaps response %j', response);
|
460
472
|
return [response, options, rawResponse];
|
473
|
+
}).catch((error) => {
|
474
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
475
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
476
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
477
|
+
}
|
478
|
+
throw error;
|
461
479
|
});
|
462
480
|
}
|
463
481
|
createTargetSite(request, optionsOrCallback, callback) {
|
@@ -2238,154 +2256,154 @@ class SiteSearchEngineServiceClient {
|
|
2238
2256
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
2239
2257
|
}
|
2240
2258
|
/**
|
2241
|
-
* Return a fully-qualified
|
2259
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
2242
2260
|
*
|
2243
2261
|
* @param {string} project
|
2244
2262
|
* @param {string} location
|
2245
2263
|
* @param {string} collection
|
2246
2264
|
* @param {string} data_store
|
2247
2265
|
* @param {string} session
|
2266
|
+
* @param {string} answer
|
2248
2267
|
* @returns {string} Resource name string.
|
2249
2268
|
*/
|
2250
|
-
|
2251
|
-
return this.pathTemplates.
|
2269
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
2270
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
2252
2271
|
project: project,
|
2253
2272
|
location: location,
|
2254
2273
|
collection: collection,
|
2255
2274
|
data_store: dataStore,
|
2256
2275
|
session: session,
|
2276
|
+
answer: answer,
|
2257
2277
|
});
|
2258
2278
|
}
|
2259
2279
|
/**
|
2260
|
-
* Parse the project from
|
2280
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
2261
2281
|
*
|
2262
|
-
* @param {string}
|
2263
|
-
* A fully-qualified path representing
|
2282
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2283
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
2264
2284
|
* @returns {string} A string representing the project.
|
2265
2285
|
*/
|
2266
|
-
|
2267
|
-
return this.pathTemplates.
|
2286
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2287
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
2268
2288
|
}
|
2269
2289
|
/**
|
2270
|
-
* Parse the location from
|
2290
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
2271
2291
|
*
|
2272
|
-
* @param {string}
|
2273
|
-
* A fully-qualified path representing
|
2292
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2293
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
2274
2294
|
* @returns {string} A string representing the location.
|
2275
2295
|
*/
|
2276
|
-
|
2277
|
-
return this.pathTemplates.
|
2296
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2297
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
2278
2298
|
}
|
2279
2299
|
/**
|
2280
|
-
* Parse the collection from
|
2300
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
2281
2301
|
*
|
2282
|
-
* @param {string}
|
2283
|
-
* A fully-qualified path representing
|
2302
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2303
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
2284
2304
|
* @returns {string} A string representing the collection.
|
2285
2305
|
*/
|
2286
|
-
|
2287
|
-
return this.pathTemplates.
|
2306
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2307
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
2288
2308
|
}
|
2289
2309
|
/**
|
2290
|
-
* Parse the data_store from
|
2310
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
2291
2311
|
*
|
2292
|
-
* @param {string}
|
2293
|
-
* A fully-qualified path representing
|
2312
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2313
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
2294
2314
|
* @returns {string} A string representing the data_store.
|
2295
2315
|
*/
|
2296
|
-
|
2297
|
-
return this.pathTemplates.
|
2316
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2317
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
2298
2318
|
}
|
2299
2319
|
/**
|
2300
|
-
* Parse the session from
|
2320
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
2301
2321
|
*
|
2302
|
-
* @param {string}
|
2303
|
-
* A fully-qualified path representing
|
2322
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2323
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
2304
2324
|
* @returns {string} A string representing the session.
|
2305
2325
|
*/
|
2306
|
-
|
2307
|
-
return this.pathTemplates.
|
2326
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2327
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
2308
2328
|
}
|
2309
2329
|
/**
|
2310
|
-
*
|
2330
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
2331
|
+
*
|
2332
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2333
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
2334
|
+
* @returns {string} A string representing the answer.
|
2335
|
+
*/
|
2336
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2337
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
2338
|
+
}
|
2339
|
+
/**
|
2340
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
2311
2341
|
*
|
2312
2342
|
* @param {string} project
|
2313
2343
|
* @param {string} location
|
2314
2344
|
* @param {string} collection
|
2315
2345
|
* @param {string} data_store
|
2316
2346
|
* @param {string} session
|
2317
|
-
* @param {string} answer
|
2318
2347
|
* @returns {string} Resource name string.
|
2319
2348
|
*/
|
2320
|
-
|
2321
|
-
return this.pathTemplates.
|
2349
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
2350
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
2322
2351
|
project: project,
|
2323
2352
|
location: location,
|
2324
2353
|
collection: collection,
|
2325
2354
|
data_store: dataStore,
|
2326
2355
|
session: session,
|
2327
|
-
answer: answer,
|
2328
2356
|
});
|
2329
2357
|
}
|
2330
2358
|
/**
|
2331
|
-
* Parse the project from
|
2359
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
2332
2360
|
*
|
2333
|
-
* @param {string}
|
2334
|
-
* A fully-qualified path representing
|
2361
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2362
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
2335
2363
|
* @returns {string} A string representing the project.
|
2336
2364
|
*/
|
2337
|
-
|
2338
|
-
return this.pathTemplates.
|
2365
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2366
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
2339
2367
|
}
|
2340
2368
|
/**
|
2341
|
-
* Parse the location from
|
2369
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
2342
2370
|
*
|
2343
|
-
* @param {string}
|
2344
|
-
* A fully-qualified path representing
|
2371
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2372
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
2345
2373
|
* @returns {string} A string representing the location.
|
2346
2374
|
*/
|
2347
|
-
|
2348
|
-
return this.pathTemplates.
|
2375
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2376
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
2349
2377
|
}
|
2350
2378
|
/**
|
2351
|
-
* Parse the collection from
|
2379
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
2352
2380
|
*
|
2353
|
-
* @param {string}
|
2354
|
-
* A fully-qualified path representing
|
2381
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2382
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
2355
2383
|
* @returns {string} A string representing the collection.
|
2356
2384
|
*/
|
2357
|
-
|
2358
|
-
return this.pathTemplates.
|
2385
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2386
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
2359
2387
|
}
|
2360
2388
|
/**
|
2361
|
-
* Parse the data_store from
|
2389
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
2362
2390
|
*
|
2363
|
-
* @param {string}
|
2364
|
-
* A fully-qualified path representing
|
2391
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2392
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
2365
2393
|
* @returns {string} A string representing the data_store.
|
2366
2394
|
*/
|
2367
|
-
|
2368
|
-
return this.pathTemplates.
|
2395
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2396
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
2369
2397
|
}
|
2370
2398
|
/**
|
2371
|
-
* Parse the session from
|
2399
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
2372
2400
|
*
|
2373
|
-
* @param {string}
|
2374
|
-
* A fully-qualified path representing
|
2401
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2402
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
2375
2403
|
* @returns {string} A string representing the session.
|
2376
2404
|
*/
|
2377
|
-
|
2378
|
-
return this.pathTemplates.
|
2379
|
-
}
|
2380
|
-
/**
|
2381
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
2382
|
-
*
|
2383
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2384
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
2385
|
-
* @returns {string} A string representing the answer.
|
2386
|
-
*/
|
2387
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2388
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
2405
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2406
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
2389
2407
|
}
|
2390
2408
|
/**
|
2391
2409
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -2790,154 +2808,154 @@ class SiteSearchEngineServiceClient {
|
|
2790
2808
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
2791
2809
|
}
|
2792
2810
|
/**
|
2793
|
-
* Return a fully-qualified
|
2811
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
2794
2812
|
*
|
2795
2813
|
* @param {string} project
|
2796
2814
|
* @param {string} location
|
2797
2815
|
* @param {string} collection
|
2798
2816
|
* @param {string} engine
|
2799
2817
|
* @param {string} session
|
2818
|
+
* @param {string} answer
|
2800
2819
|
* @returns {string} Resource name string.
|
2801
2820
|
*/
|
2802
|
-
|
2803
|
-
return this.pathTemplates.
|
2821
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
2822
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
2804
2823
|
project: project,
|
2805
2824
|
location: location,
|
2806
2825
|
collection: collection,
|
2807
2826
|
engine: engine,
|
2808
2827
|
session: session,
|
2828
|
+
answer: answer,
|
2809
2829
|
});
|
2810
2830
|
}
|
2811
2831
|
/**
|
2812
|
-
* Parse the project from
|
2832
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
2813
2833
|
*
|
2814
|
-
* @param {string}
|
2815
|
-
* A fully-qualified path representing
|
2834
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2835
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2816
2836
|
* @returns {string} A string representing the project.
|
2817
2837
|
*/
|
2818
|
-
|
2819
|
-
return this.pathTemplates.
|
2838
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2839
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
2820
2840
|
}
|
2821
2841
|
/**
|
2822
|
-
* Parse the location from
|
2842
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
2823
2843
|
*
|
2824
|
-
* @param {string}
|
2825
|
-
* A fully-qualified path representing
|
2844
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2845
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2826
2846
|
* @returns {string} A string representing the location.
|
2827
2847
|
*/
|
2828
|
-
|
2829
|
-
return this.pathTemplates.
|
2848
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2849
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
2830
2850
|
}
|
2831
2851
|
/**
|
2832
|
-
* Parse the collection from
|
2852
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
2833
2853
|
*
|
2834
|
-
* @param {string}
|
2835
|
-
* A fully-qualified path representing
|
2854
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2855
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2836
2856
|
* @returns {string} A string representing the collection.
|
2837
2857
|
*/
|
2838
|
-
|
2839
|
-
return this.pathTemplates.
|
2858
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2859
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
2840
2860
|
}
|
2841
2861
|
/**
|
2842
|
-
* Parse the engine from
|
2862
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
2843
2863
|
*
|
2844
|
-
* @param {string}
|
2845
|
-
* A fully-qualified path representing
|
2864
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2865
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2846
2866
|
* @returns {string} A string representing the engine.
|
2847
2867
|
*/
|
2848
|
-
|
2849
|
-
return this.pathTemplates.
|
2868
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2869
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
2850
2870
|
}
|
2851
2871
|
/**
|
2852
|
-
* Parse the session from
|
2872
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
2853
2873
|
*
|
2854
|
-
* @param {string}
|
2855
|
-
* A fully-qualified path representing
|
2874
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2875
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2856
2876
|
* @returns {string} A string representing the session.
|
2857
2877
|
*/
|
2858
|
-
|
2859
|
-
return this.pathTemplates.
|
2878
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2879
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
2860
2880
|
}
|
2861
2881
|
/**
|
2862
|
-
*
|
2882
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2883
|
+
*
|
2884
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2885
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2886
|
+
* @returns {string} A string representing the answer.
|
2887
|
+
*/
|
2888
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2889
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2890
|
+
}
|
2891
|
+
/**
|
2892
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
2863
2893
|
*
|
2864
2894
|
* @param {string} project
|
2865
2895
|
* @param {string} location
|
2866
2896
|
* @param {string} collection
|
2867
2897
|
* @param {string} engine
|
2868
2898
|
* @param {string} session
|
2869
|
-
* @param {string} answer
|
2870
2899
|
* @returns {string} Resource name string.
|
2871
2900
|
*/
|
2872
|
-
|
2873
|
-
return this.pathTemplates.
|
2901
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
2902
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
2874
2903
|
project: project,
|
2875
2904
|
location: location,
|
2876
2905
|
collection: collection,
|
2877
2906
|
engine: engine,
|
2878
2907
|
session: session,
|
2879
|
-
answer: answer,
|
2880
2908
|
});
|
2881
2909
|
}
|
2882
2910
|
/**
|
2883
|
-
* Parse the project from
|
2911
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
2884
2912
|
*
|
2885
|
-
* @param {string}
|
2886
|
-
* A fully-qualified path representing
|
2913
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2914
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2887
2915
|
* @returns {string} A string representing the project.
|
2888
2916
|
*/
|
2889
|
-
|
2890
|
-
return this.pathTemplates.
|
2917
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2918
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
2891
2919
|
}
|
2892
2920
|
/**
|
2893
|
-
* Parse the location from
|
2921
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
2894
2922
|
*
|
2895
|
-
* @param {string}
|
2896
|
-
* A fully-qualified path representing
|
2923
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2924
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2897
2925
|
* @returns {string} A string representing the location.
|
2898
2926
|
*/
|
2899
|
-
|
2900
|
-
return this.pathTemplates.
|
2927
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2928
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
2901
2929
|
}
|
2902
2930
|
/**
|
2903
|
-
* Parse the collection from
|
2931
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
2904
2932
|
*
|
2905
|
-
* @param {string}
|
2906
|
-
* A fully-qualified path representing
|
2933
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2934
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2907
2935
|
* @returns {string} A string representing the collection.
|
2908
2936
|
*/
|
2909
|
-
|
2910
|
-
return this.pathTemplates.
|
2937
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2938
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
2911
2939
|
}
|
2912
2940
|
/**
|
2913
|
-
* Parse the engine from
|
2941
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
2914
2942
|
*
|
2915
|
-
* @param {string}
|
2916
|
-
* A fully-qualified path representing
|
2943
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2944
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2917
2945
|
* @returns {string} A string representing the engine.
|
2918
2946
|
*/
|
2919
|
-
|
2920
|
-
return this.pathTemplates.
|
2947
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2948
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
2921
2949
|
}
|
2922
2950
|
/**
|
2923
|
-
* Parse the session from
|
2951
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
2924
2952
|
*
|
2925
|
-
* @param {string}
|
2926
|
-
* A fully-qualified path representing
|
2953
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2954
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2927
2955
|
* @returns {string} A string representing the session.
|
2928
2956
|
*/
|
2929
|
-
|
2930
|
-
return this.pathTemplates.
|
2931
|
-
}
|
2932
|
-
/**
|
2933
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2934
|
-
*
|
2935
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2936
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2937
|
-
* @returns {string} A string representing the answer.
|
2938
|
-
*/
|
2939
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2940
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2957
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2958
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
2941
2959
|
}
|
2942
2960
|
/**
|
2943
2961
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -3464,63 +3482,6 @@ class SiteSearchEngineServiceClient {
|
|
3464
3482
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
3465
3483
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
3466
3484
|
}
|
3467
|
-
/**
|
3468
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
3469
|
-
*
|
3470
|
-
* @param {string} project
|
3471
|
-
* @param {string} location
|
3472
|
-
* @param {string} data_store
|
3473
|
-
* @param {string} session
|
3474
|
-
* @returns {string} Resource name string.
|
3475
|
-
*/
|
3476
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
3477
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
3478
|
-
project: project,
|
3479
|
-
location: location,
|
3480
|
-
data_store: dataStore,
|
3481
|
-
session: session,
|
3482
|
-
});
|
3483
|
-
}
|
3484
|
-
/**
|
3485
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
3486
|
-
*
|
3487
|
-
* @param {string} projectLocationDataStoreSessionName
|
3488
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3489
|
-
* @returns {string} A string representing the project.
|
3490
|
-
*/
|
3491
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3492
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
3493
|
-
}
|
3494
|
-
/**
|
3495
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
3496
|
-
*
|
3497
|
-
* @param {string} projectLocationDataStoreSessionName
|
3498
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3499
|
-
* @returns {string} A string representing the location.
|
3500
|
-
*/
|
3501
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3502
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
3503
|
-
}
|
3504
|
-
/**
|
3505
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
3506
|
-
*
|
3507
|
-
* @param {string} projectLocationDataStoreSessionName
|
3508
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3509
|
-
* @returns {string} A string representing the data_store.
|
3510
|
-
*/
|
3511
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3512
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
3513
|
-
}
|
3514
|
-
/**
|
3515
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
3516
|
-
*
|
3517
|
-
* @param {string} projectLocationDataStoreSessionName
|
3518
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3519
|
-
* @returns {string} A string representing the session.
|
3520
|
-
*/
|
3521
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3522
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
3523
|
-
}
|
3524
3485
|
/**
|
3525
3486
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
3526
3487
|
*
|
@@ -3590,6 +3551,63 @@ class SiteSearchEngineServiceClient {
|
|
3590
3551
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
3591
3552
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
3592
3553
|
}
|
3554
|
+
/**
|
3555
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
3556
|
+
*
|
3557
|
+
* @param {string} project
|
3558
|
+
* @param {string} location
|
3559
|
+
* @param {string} data_store
|
3560
|
+
* @param {string} session
|
3561
|
+
* @returns {string} Resource name string.
|
3562
|
+
*/
|
3563
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
3564
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
3565
|
+
project: project,
|
3566
|
+
location: location,
|
3567
|
+
data_store: dataStore,
|
3568
|
+
session: session,
|
3569
|
+
});
|
3570
|
+
}
|
3571
|
+
/**
|
3572
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
3573
|
+
*
|
3574
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3575
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3576
|
+
* @returns {string} A string representing the project.
|
3577
|
+
*/
|
3578
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3579
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
3580
|
+
}
|
3581
|
+
/**
|
3582
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
3583
|
+
*
|
3584
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3585
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3586
|
+
* @returns {string} A string representing the location.
|
3587
|
+
*/
|
3588
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3589
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
3590
|
+
}
|
3591
|
+
/**
|
3592
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
3593
|
+
*
|
3594
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3595
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3596
|
+
* @returns {string} A string representing the data_store.
|
3597
|
+
*/
|
3598
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3599
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
3600
|
+
}
|
3601
|
+
/**
|
3602
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
3603
|
+
*
|
3604
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3605
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3606
|
+
* @returns {string} A string representing the session.
|
3607
|
+
*/
|
3608
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3609
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
3610
|
+
}
|
3593
3611
|
/**
|
3594
3612
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
3595
3613
|
*
|