@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,15 +176,15 @@ 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
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
183
183
|
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
184
184
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
185
185
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
186
|
-
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
187
186
|
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
187
|
+
projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
188
188
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
189
189
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
190
190
|
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -194,8 +194,8 @@ class SiteSearchEngineServiceClient {
|
|
194
194
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
195
195
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
196
196
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
197
|
-
projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
198
197
|
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
198
|
+
projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
199
199
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
200
200
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
201
201
|
sampleQueryPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}'),
|
@@ -208,7 +208,7 @@ class SiteSearchEngineServiceClient {
|
|
208
208
|
listTargetSites: new this._gaxModule.PageDescriptor('pageToken', 'nextPageToken', 'targetSites'),
|
209
209
|
fetchDomainVerificationStatus: new this._gaxModule.PageDescriptor('pageToken', 'nextPageToken', 'targetSites')
|
210
210
|
};
|
211
|
-
const protoFilesRoot = this._gaxModule.
|
211
|
+
const protoFilesRoot = this._gaxModule.protobufFromJSON(jsonProtos);
|
212
212
|
// This API contains "long-running operations", which return a
|
213
213
|
// an Operation object that allows for tracking of the operation,
|
214
214
|
// rather than holding a request open.
|
@@ -393,6 +393,12 @@ class SiteSearchEngineServiceClient {
|
|
393
393
|
?.then(([response, options, rawResponse]) => {
|
394
394
|
this._log.info('getSiteSearchEngine response %j', response);
|
395
395
|
return [response, options, rawResponse];
|
396
|
+
}).catch((error) => {
|
397
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
398
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
399
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
400
|
+
}
|
401
|
+
throw error;
|
396
402
|
});
|
397
403
|
}
|
398
404
|
getTargetSite(request, optionsOrCallback, callback) {
|
@@ -423,6 +429,12 @@ class SiteSearchEngineServiceClient {
|
|
423
429
|
?.then(([response, options, rawResponse]) => {
|
424
430
|
this._log.info('getTargetSite response %j', response);
|
425
431
|
return [response, options, rawResponse];
|
432
|
+
}).catch((error) => {
|
433
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
434
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
435
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
436
|
+
}
|
437
|
+
throw error;
|
426
438
|
});
|
427
439
|
}
|
428
440
|
getUriPatternDocumentData(request, optionsOrCallback, callback) {
|
@@ -453,6 +465,12 @@ class SiteSearchEngineServiceClient {
|
|
453
465
|
?.then(([response, options, rawResponse]) => {
|
454
466
|
this._log.info('getUriPatternDocumentData response %j', response);
|
455
467
|
return [response, options, rawResponse];
|
468
|
+
}).catch((error) => {
|
469
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
470
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
471
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
472
|
+
}
|
473
|
+
throw error;
|
456
474
|
});
|
457
475
|
}
|
458
476
|
createTargetSite(request, optionsOrCallback, callback) {
|
@@ -2173,154 +2191,154 @@ class SiteSearchEngineServiceClient {
|
|
2173
2191
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
2174
2192
|
}
|
2175
2193
|
/**
|
2176
|
-
* Return a fully-qualified
|
2194
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
2177
2195
|
*
|
2178
2196
|
* @param {string} project
|
2179
2197
|
* @param {string} location
|
2180
2198
|
* @param {string} collection
|
2181
2199
|
* @param {string} data_store
|
2182
2200
|
* @param {string} session
|
2201
|
+
* @param {string} answer
|
2183
2202
|
* @returns {string} Resource name string.
|
2184
2203
|
*/
|
2185
|
-
|
2186
|
-
return this.pathTemplates.
|
2204
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
2205
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
2187
2206
|
project: project,
|
2188
2207
|
location: location,
|
2189
2208
|
collection: collection,
|
2190
2209
|
data_store: dataStore,
|
2191
2210
|
session: session,
|
2211
|
+
answer: answer,
|
2192
2212
|
});
|
2193
2213
|
}
|
2194
2214
|
/**
|
2195
|
-
* Parse the project from
|
2215
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
2196
2216
|
*
|
2197
|
-
* @param {string}
|
2198
|
-
* A fully-qualified path representing
|
2217
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2218
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
2199
2219
|
* @returns {string} A string representing the project.
|
2200
2220
|
*/
|
2201
|
-
|
2202
|
-
return this.pathTemplates.
|
2221
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2222
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
2203
2223
|
}
|
2204
2224
|
/**
|
2205
|
-
* Parse the location from
|
2225
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
2206
2226
|
*
|
2207
|
-
* @param {string}
|
2208
|
-
* A fully-qualified path representing
|
2227
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2228
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
2209
2229
|
* @returns {string} A string representing the location.
|
2210
2230
|
*/
|
2211
|
-
|
2212
|
-
return this.pathTemplates.
|
2231
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2232
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
2213
2233
|
}
|
2214
2234
|
/**
|
2215
|
-
* Parse the collection from
|
2235
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
2216
2236
|
*
|
2217
|
-
* @param {string}
|
2218
|
-
* A fully-qualified path representing
|
2237
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2238
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
2219
2239
|
* @returns {string} A string representing the collection.
|
2220
2240
|
*/
|
2221
|
-
|
2222
|
-
return this.pathTemplates.
|
2241
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2242
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
2223
2243
|
}
|
2224
2244
|
/**
|
2225
|
-
* Parse the data_store from
|
2245
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
2226
2246
|
*
|
2227
|
-
* @param {string}
|
2228
|
-
* A fully-qualified path representing
|
2247
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2248
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
2229
2249
|
* @returns {string} A string representing the data_store.
|
2230
2250
|
*/
|
2231
|
-
|
2232
|
-
return this.pathTemplates.
|
2251
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2252
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
2233
2253
|
}
|
2234
2254
|
/**
|
2235
|
-
* Parse the session from
|
2255
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
2236
2256
|
*
|
2237
|
-
* @param {string}
|
2238
|
-
* A fully-qualified path representing
|
2257
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2258
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
2239
2259
|
* @returns {string} A string representing the session.
|
2240
2260
|
*/
|
2241
|
-
|
2242
|
-
return this.pathTemplates.
|
2261
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2262
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
2243
2263
|
}
|
2244
2264
|
/**
|
2245
|
-
*
|
2265
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
2266
|
+
*
|
2267
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2268
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
2269
|
+
* @returns {string} A string representing the answer.
|
2270
|
+
*/
|
2271
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2272
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
2273
|
+
}
|
2274
|
+
/**
|
2275
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
2246
2276
|
*
|
2247
2277
|
* @param {string} project
|
2248
2278
|
* @param {string} location
|
2249
2279
|
* @param {string} collection
|
2250
2280
|
* @param {string} data_store
|
2251
2281
|
* @param {string} session
|
2252
|
-
* @param {string} answer
|
2253
2282
|
* @returns {string} Resource name string.
|
2254
2283
|
*/
|
2255
|
-
|
2256
|
-
return this.pathTemplates.
|
2284
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
2285
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
2257
2286
|
project: project,
|
2258
2287
|
location: location,
|
2259
2288
|
collection: collection,
|
2260
2289
|
data_store: dataStore,
|
2261
2290
|
session: session,
|
2262
|
-
answer: answer,
|
2263
2291
|
});
|
2264
2292
|
}
|
2265
2293
|
/**
|
2266
|
-
* Parse the project from
|
2294
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
2267
2295
|
*
|
2268
|
-
* @param {string}
|
2269
|
-
* A fully-qualified path representing
|
2296
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2297
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
2270
2298
|
* @returns {string} A string representing the project.
|
2271
2299
|
*/
|
2272
|
-
|
2273
|
-
return this.pathTemplates.
|
2300
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2301
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
2274
2302
|
}
|
2275
2303
|
/**
|
2276
|
-
* Parse the location from
|
2304
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
2277
2305
|
*
|
2278
|
-
* @param {string}
|
2279
|
-
* A fully-qualified path representing
|
2306
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2307
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
2280
2308
|
* @returns {string} A string representing the location.
|
2281
2309
|
*/
|
2282
|
-
|
2283
|
-
return this.pathTemplates.
|
2310
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2311
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
2284
2312
|
}
|
2285
2313
|
/**
|
2286
|
-
* Parse the collection from
|
2314
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
2287
2315
|
*
|
2288
|
-
* @param {string}
|
2289
|
-
* A fully-qualified path representing
|
2316
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2317
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
2290
2318
|
* @returns {string} A string representing the collection.
|
2291
2319
|
*/
|
2292
|
-
|
2293
|
-
return this.pathTemplates.
|
2320
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2321
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
2294
2322
|
}
|
2295
2323
|
/**
|
2296
|
-
* Parse the data_store from
|
2324
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
2297
2325
|
*
|
2298
|
-
* @param {string}
|
2299
|
-
* A fully-qualified path representing
|
2326
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2327
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
2300
2328
|
* @returns {string} A string representing the data_store.
|
2301
2329
|
*/
|
2302
|
-
|
2303
|
-
return this.pathTemplates.
|
2330
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2331
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
2304
2332
|
}
|
2305
2333
|
/**
|
2306
|
-
* Parse the session from
|
2334
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
2307
2335
|
*
|
2308
|
-
* @param {string}
|
2309
|
-
* A fully-qualified path representing
|
2336
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2337
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
2310
2338
|
* @returns {string} A string representing the session.
|
2311
2339
|
*/
|
2312
|
-
|
2313
|
-
return this.pathTemplates.
|
2314
|
-
}
|
2315
|
-
/**
|
2316
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
2317
|
-
*
|
2318
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2319
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
2320
|
-
* @returns {string} A string representing the answer.
|
2321
|
-
*/
|
2322
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2323
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
2340
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2341
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
2324
2342
|
}
|
2325
2343
|
/**
|
2326
2344
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -2656,154 +2674,154 @@ class SiteSearchEngineServiceClient {
|
|
2656
2674
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
2657
2675
|
}
|
2658
2676
|
/**
|
2659
|
-
* Return a fully-qualified
|
2677
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
2660
2678
|
*
|
2661
2679
|
* @param {string} project
|
2662
2680
|
* @param {string} location
|
2663
2681
|
* @param {string} collection
|
2664
2682
|
* @param {string} engine
|
2665
2683
|
* @param {string} session
|
2684
|
+
* @param {string} answer
|
2666
2685
|
* @returns {string} Resource name string.
|
2667
2686
|
*/
|
2668
|
-
|
2669
|
-
return this.pathTemplates.
|
2687
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
2688
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
2670
2689
|
project: project,
|
2671
2690
|
location: location,
|
2672
2691
|
collection: collection,
|
2673
2692
|
engine: engine,
|
2674
2693
|
session: session,
|
2694
|
+
answer: answer,
|
2675
2695
|
});
|
2676
2696
|
}
|
2677
2697
|
/**
|
2678
|
-
* Parse the project from
|
2698
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
2679
2699
|
*
|
2680
|
-
* @param {string}
|
2681
|
-
* A fully-qualified path representing
|
2700
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2701
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2682
2702
|
* @returns {string} A string representing the project.
|
2683
2703
|
*/
|
2684
|
-
|
2685
|
-
return this.pathTemplates.
|
2704
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2705
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
2686
2706
|
}
|
2687
2707
|
/**
|
2688
|
-
* Parse the location from
|
2708
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
2689
2709
|
*
|
2690
|
-
* @param {string}
|
2691
|
-
* A fully-qualified path representing
|
2710
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2711
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2692
2712
|
* @returns {string} A string representing the location.
|
2693
2713
|
*/
|
2694
|
-
|
2695
|
-
return this.pathTemplates.
|
2714
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2715
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
2696
2716
|
}
|
2697
2717
|
/**
|
2698
|
-
* Parse the collection from
|
2718
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
2699
2719
|
*
|
2700
|
-
* @param {string}
|
2701
|
-
* A fully-qualified path representing
|
2720
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2721
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2702
2722
|
* @returns {string} A string representing the collection.
|
2703
2723
|
*/
|
2704
|
-
|
2705
|
-
return this.pathTemplates.
|
2724
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2725
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
2706
2726
|
}
|
2707
2727
|
/**
|
2708
|
-
* Parse the engine from
|
2728
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
2709
2729
|
*
|
2710
|
-
* @param {string}
|
2711
|
-
* A fully-qualified path representing
|
2730
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2731
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2712
2732
|
* @returns {string} A string representing the engine.
|
2713
2733
|
*/
|
2714
|
-
|
2715
|
-
return this.pathTemplates.
|
2734
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2735
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
2716
2736
|
}
|
2717
2737
|
/**
|
2718
|
-
* Parse the session from
|
2738
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
2719
2739
|
*
|
2720
|
-
* @param {string}
|
2721
|
-
* A fully-qualified path representing
|
2740
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2741
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2722
2742
|
* @returns {string} A string representing the session.
|
2723
2743
|
*/
|
2724
|
-
|
2725
|
-
return this.pathTemplates.
|
2744
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2745
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
2726
2746
|
}
|
2727
2747
|
/**
|
2728
|
-
*
|
2748
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2749
|
+
*
|
2750
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2751
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2752
|
+
* @returns {string} A string representing the answer.
|
2753
|
+
*/
|
2754
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2755
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2756
|
+
}
|
2757
|
+
/**
|
2758
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
2729
2759
|
*
|
2730
2760
|
* @param {string} project
|
2731
2761
|
* @param {string} location
|
2732
2762
|
* @param {string} collection
|
2733
2763
|
* @param {string} engine
|
2734
2764
|
* @param {string} session
|
2735
|
-
* @param {string} answer
|
2736
2765
|
* @returns {string} Resource name string.
|
2737
2766
|
*/
|
2738
|
-
|
2739
|
-
return this.pathTemplates.
|
2767
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
2768
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
2740
2769
|
project: project,
|
2741
2770
|
location: location,
|
2742
2771
|
collection: collection,
|
2743
2772
|
engine: engine,
|
2744
2773
|
session: session,
|
2745
|
-
answer: answer,
|
2746
2774
|
});
|
2747
2775
|
}
|
2748
2776
|
/**
|
2749
|
-
* Parse the project from
|
2777
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
2750
2778
|
*
|
2751
|
-
* @param {string}
|
2752
|
-
* A fully-qualified path representing
|
2779
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2780
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2753
2781
|
* @returns {string} A string representing the project.
|
2754
2782
|
*/
|
2755
|
-
|
2756
|
-
return this.pathTemplates.
|
2783
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2784
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
2757
2785
|
}
|
2758
2786
|
/**
|
2759
|
-
* Parse the location from
|
2787
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
2760
2788
|
*
|
2761
|
-
* @param {string}
|
2762
|
-
* A fully-qualified path representing
|
2789
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2790
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2763
2791
|
* @returns {string} A string representing the location.
|
2764
2792
|
*/
|
2765
|
-
|
2766
|
-
return this.pathTemplates.
|
2793
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2794
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
2767
2795
|
}
|
2768
2796
|
/**
|
2769
|
-
* Parse the collection from
|
2797
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
2770
2798
|
*
|
2771
|
-
* @param {string}
|
2772
|
-
* A fully-qualified path representing
|
2799
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2800
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2773
2801
|
* @returns {string} A string representing the collection.
|
2774
2802
|
*/
|
2775
|
-
|
2776
|
-
return this.pathTemplates.
|
2803
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2804
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
2777
2805
|
}
|
2778
2806
|
/**
|
2779
|
-
* Parse the engine from
|
2807
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
2780
2808
|
*
|
2781
|
-
* @param {string}
|
2782
|
-
* A fully-qualified path representing
|
2809
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2810
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2783
2811
|
* @returns {string} A string representing the engine.
|
2784
2812
|
*/
|
2785
|
-
|
2786
|
-
return this.pathTemplates.
|
2813
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2814
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
2787
2815
|
}
|
2788
2816
|
/**
|
2789
|
-
* Parse the session from
|
2817
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
2790
2818
|
*
|
2791
|
-
* @param {string}
|
2792
|
-
* A fully-qualified path representing
|
2819
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2820
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2793
2821
|
* @returns {string} A string representing the session.
|
2794
2822
|
*/
|
2795
|
-
|
2796
|
-
return this.pathTemplates.
|
2797
|
-
}
|
2798
|
-
/**
|
2799
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2800
|
-
*
|
2801
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2802
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2803
|
-
* @returns {string} A string representing the answer.
|
2804
|
-
*/
|
2805
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2806
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2823
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2824
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
2807
2825
|
}
|
2808
2826
|
/**
|
2809
2827
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -3330,63 +3348,6 @@ class SiteSearchEngineServiceClient {
|
|
3330
3348
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
3331
3349
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
3332
3350
|
}
|
3333
|
-
/**
|
3334
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
3335
|
-
*
|
3336
|
-
* @param {string} project
|
3337
|
-
* @param {string} location
|
3338
|
-
* @param {string} data_store
|
3339
|
-
* @param {string} session
|
3340
|
-
* @returns {string} Resource name string.
|
3341
|
-
*/
|
3342
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
3343
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
3344
|
-
project: project,
|
3345
|
-
location: location,
|
3346
|
-
data_store: dataStore,
|
3347
|
-
session: session,
|
3348
|
-
});
|
3349
|
-
}
|
3350
|
-
/**
|
3351
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
3352
|
-
*
|
3353
|
-
* @param {string} projectLocationDataStoreSessionName
|
3354
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3355
|
-
* @returns {string} A string representing the project.
|
3356
|
-
*/
|
3357
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3358
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
3359
|
-
}
|
3360
|
-
/**
|
3361
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
3362
|
-
*
|
3363
|
-
* @param {string} projectLocationDataStoreSessionName
|
3364
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3365
|
-
* @returns {string} A string representing the location.
|
3366
|
-
*/
|
3367
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3368
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
3369
|
-
}
|
3370
|
-
/**
|
3371
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
3372
|
-
*
|
3373
|
-
* @param {string} projectLocationDataStoreSessionName
|
3374
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3375
|
-
* @returns {string} A string representing the data_store.
|
3376
|
-
*/
|
3377
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3378
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
3379
|
-
}
|
3380
|
-
/**
|
3381
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
3382
|
-
*
|
3383
|
-
* @param {string} projectLocationDataStoreSessionName
|
3384
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3385
|
-
* @returns {string} A string representing the session.
|
3386
|
-
*/
|
3387
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3388
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
3389
|
-
}
|
3390
3351
|
/**
|
3391
3352
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
3392
3353
|
*
|
@@ -3456,6 +3417,63 @@ class SiteSearchEngineServiceClient {
|
|
3456
3417
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
3457
3418
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
3458
3419
|
}
|
3420
|
+
/**
|
3421
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
3422
|
+
*
|
3423
|
+
* @param {string} project
|
3424
|
+
* @param {string} location
|
3425
|
+
* @param {string} data_store
|
3426
|
+
* @param {string} session
|
3427
|
+
* @returns {string} Resource name string.
|
3428
|
+
*/
|
3429
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
3430
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
3431
|
+
project: project,
|
3432
|
+
location: location,
|
3433
|
+
data_store: dataStore,
|
3434
|
+
session: session,
|
3435
|
+
});
|
3436
|
+
}
|
3437
|
+
/**
|
3438
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
3439
|
+
*
|
3440
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3441
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3442
|
+
* @returns {string} A string representing the project.
|
3443
|
+
*/
|
3444
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3445
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
3446
|
+
}
|
3447
|
+
/**
|
3448
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
3449
|
+
*
|
3450
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3451
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3452
|
+
* @returns {string} A string representing the location.
|
3453
|
+
*/
|
3454
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3455
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
3456
|
+
}
|
3457
|
+
/**
|
3458
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
3459
|
+
*
|
3460
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3461
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3462
|
+
* @returns {string} A string representing the data_store.
|
3463
|
+
*/
|
3464
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3465
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
3466
|
+
}
|
3467
|
+
/**
|
3468
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
3469
|
+
*
|
3470
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3471
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3472
|
+
* @returns {string} A string representing the session.
|
3473
|
+
*/
|
3474
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3475
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
3476
|
+
}
|
3459
3477
|
/**
|
3460
3478
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
3461
3479
|
*
|