@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 SchemaServiceClient {
|
|
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 SchemaServiceClient {
|
|
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}'),
|
@@ -207,7 +207,7 @@ class SchemaServiceClient {
|
|
207
207
|
this.descriptors.page = {
|
208
208
|
listSchemas: new this._gaxModule.PageDescriptor('pageToken', 'nextPageToken', 'schemas')
|
209
209
|
};
|
210
|
-
const protoFilesRoot = this._gaxModule.
|
210
|
+
const protoFilesRoot = this._gaxModule.protobufFromJSON(jsonProtos);
|
211
211
|
// This API contains "long-running operations", which return a
|
212
212
|
// an Operation object that allows for tracking of the operation,
|
213
213
|
// rather than holding a request open.
|
@@ -374,6 +374,12 @@ class SchemaServiceClient {
|
|
374
374
|
?.then(([response, options, rawResponse]) => {
|
375
375
|
this._log.info('getSchema response %j', response);
|
376
376
|
return [response, options, rawResponse];
|
377
|
+
}).catch((error) => {
|
378
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
379
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
380
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
381
|
+
}
|
382
|
+
throw error;
|
377
383
|
});
|
378
384
|
}
|
379
385
|
createSchema(request, optionsOrCallback, callback) {
|
@@ -1680,154 +1686,154 @@ class SchemaServiceClient {
|
|
1680
1686
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1681
1687
|
}
|
1682
1688
|
/**
|
1683
|
-
* Return a fully-qualified
|
1689
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1684
1690
|
*
|
1685
1691
|
* @param {string} project
|
1686
1692
|
* @param {string} location
|
1687
1693
|
* @param {string} collection
|
1688
1694
|
* @param {string} data_store
|
1689
1695
|
* @param {string} session
|
1696
|
+
* @param {string} answer
|
1690
1697
|
* @returns {string} Resource name string.
|
1691
1698
|
*/
|
1692
|
-
|
1693
|
-
return this.pathTemplates.
|
1699
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1700
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1694
1701
|
project: project,
|
1695
1702
|
location: location,
|
1696
1703
|
collection: collection,
|
1697
1704
|
data_store: dataStore,
|
1698
1705
|
session: session,
|
1706
|
+
answer: answer,
|
1699
1707
|
});
|
1700
1708
|
}
|
1701
1709
|
/**
|
1702
|
-
* Parse the project from
|
1710
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1703
1711
|
*
|
1704
|
-
* @param {string}
|
1705
|
-
* A fully-qualified path representing
|
1712
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1713
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1706
1714
|
* @returns {string} A string representing the project.
|
1707
1715
|
*/
|
1708
|
-
|
1709
|
-
return this.pathTemplates.
|
1716
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1717
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1710
1718
|
}
|
1711
1719
|
/**
|
1712
|
-
* Parse the location from
|
1720
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1713
1721
|
*
|
1714
|
-
* @param {string}
|
1715
|
-
* A fully-qualified path representing
|
1722
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1723
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1716
1724
|
* @returns {string} A string representing the location.
|
1717
1725
|
*/
|
1718
|
-
|
1719
|
-
return this.pathTemplates.
|
1726
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1727
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1720
1728
|
}
|
1721
1729
|
/**
|
1722
|
-
* Parse the collection from
|
1730
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1723
1731
|
*
|
1724
|
-
* @param {string}
|
1725
|
-
* A fully-qualified path representing
|
1732
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1733
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1726
1734
|
* @returns {string} A string representing the collection.
|
1727
1735
|
*/
|
1728
|
-
|
1729
|
-
return this.pathTemplates.
|
1736
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1737
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1730
1738
|
}
|
1731
1739
|
/**
|
1732
|
-
* Parse the data_store from
|
1740
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1733
1741
|
*
|
1734
|
-
* @param {string}
|
1735
|
-
* A fully-qualified path representing
|
1742
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1743
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1736
1744
|
* @returns {string} A string representing the data_store.
|
1737
1745
|
*/
|
1738
|
-
|
1739
|
-
return this.pathTemplates.
|
1746
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1747
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1740
1748
|
}
|
1741
1749
|
/**
|
1742
|
-
* Parse the session from
|
1750
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1743
1751
|
*
|
1744
|
-
* @param {string}
|
1745
|
-
* A fully-qualified path representing
|
1752
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1753
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1746
1754
|
* @returns {string} A string representing the session.
|
1747
1755
|
*/
|
1748
|
-
|
1749
|
-
return this.pathTemplates.
|
1756
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1757
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1750
1758
|
}
|
1751
1759
|
/**
|
1752
|
-
*
|
1760
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1761
|
+
*
|
1762
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1763
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1764
|
+
* @returns {string} A string representing the answer.
|
1765
|
+
*/
|
1766
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1767
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1768
|
+
}
|
1769
|
+
/**
|
1770
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
1753
1771
|
*
|
1754
1772
|
* @param {string} project
|
1755
1773
|
* @param {string} location
|
1756
1774
|
* @param {string} collection
|
1757
1775
|
* @param {string} data_store
|
1758
1776
|
* @param {string} session
|
1759
|
-
* @param {string} answer
|
1760
1777
|
* @returns {string} Resource name string.
|
1761
1778
|
*/
|
1762
|
-
|
1763
|
-
return this.pathTemplates.
|
1779
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
1780
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
1764
1781
|
project: project,
|
1765
1782
|
location: location,
|
1766
1783
|
collection: collection,
|
1767
1784
|
data_store: dataStore,
|
1768
1785
|
session: session,
|
1769
|
-
answer: answer,
|
1770
1786
|
});
|
1771
1787
|
}
|
1772
1788
|
/**
|
1773
|
-
* Parse the project from
|
1789
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
1774
1790
|
*
|
1775
|
-
* @param {string}
|
1776
|
-
* A fully-qualified path representing
|
1791
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1792
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1777
1793
|
* @returns {string} A string representing the project.
|
1778
1794
|
*/
|
1779
|
-
|
1780
|
-
return this.pathTemplates.
|
1795
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1796
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
1781
1797
|
}
|
1782
1798
|
/**
|
1783
|
-
* Parse the location from
|
1799
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
1784
1800
|
*
|
1785
|
-
* @param {string}
|
1786
|
-
* A fully-qualified path representing
|
1801
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1802
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1787
1803
|
* @returns {string} A string representing the location.
|
1788
1804
|
*/
|
1789
|
-
|
1790
|
-
return this.pathTemplates.
|
1805
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1806
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
1791
1807
|
}
|
1792
1808
|
/**
|
1793
|
-
* Parse the collection from
|
1809
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
1794
1810
|
*
|
1795
|
-
* @param {string}
|
1796
|
-
* A fully-qualified path representing
|
1811
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1812
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1797
1813
|
* @returns {string} A string representing the collection.
|
1798
1814
|
*/
|
1799
|
-
|
1800
|
-
return this.pathTemplates.
|
1815
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1816
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
1801
1817
|
}
|
1802
1818
|
/**
|
1803
|
-
* Parse the data_store from
|
1819
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
1804
1820
|
*
|
1805
|
-
* @param {string}
|
1806
|
-
* A fully-qualified path representing
|
1821
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1822
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1807
1823
|
* @returns {string} A string representing the data_store.
|
1808
1824
|
*/
|
1809
|
-
|
1810
|
-
return this.pathTemplates.
|
1825
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1826
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
1811
1827
|
}
|
1812
1828
|
/**
|
1813
|
-
* Parse the session from
|
1829
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
1814
1830
|
*
|
1815
|
-
* @param {string}
|
1816
|
-
* A fully-qualified path representing
|
1831
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1832
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1817
1833
|
* @returns {string} A string representing the session.
|
1818
1834
|
*/
|
1819
|
-
|
1820
|
-
return this.pathTemplates.
|
1821
|
-
}
|
1822
|
-
/**
|
1823
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1824
|
-
*
|
1825
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1826
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1827
|
-
* @returns {string} A string representing the answer.
|
1828
|
-
*/
|
1829
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1830
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1835
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1836
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
1831
1837
|
}
|
1832
1838
|
/**
|
1833
1839
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -2163,154 +2169,154 @@ class SchemaServiceClient {
|
|
2163
2169
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
2164
2170
|
}
|
2165
2171
|
/**
|
2166
|
-
* Return a fully-qualified
|
2172
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
2167
2173
|
*
|
2168
2174
|
* @param {string} project
|
2169
2175
|
* @param {string} location
|
2170
2176
|
* @param {string} collection
|
2171
2177
|
* @param {string} engine
|
2172
2178
|
* @param {string} session
|
2179
|
+
* @param {string} answer
|
2173
2180
|
* @returns {string} Resource name string.
|
2174
2181
|
*/
|
2175
|
-
|
2176
|
-
return this.pathTemplates.
|
2182
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
2183
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
2177
2184
|
project: project,
|
2178
2185
|
location: location,
|
2179
2186
|
collection: collection,
|
2180
2187
|
engine: engine,
|
2181
2188
|
session: session,
|
2189
|
+
answer: answer,
|
2182
2190
|
});
|
2183
2191
|
}
|
2184
2192
|
/**
|
2185
|
-
* Parse the project from
|
2193
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
2186
2194
|
*
|
2187
|
-
* @param {string}
|
2188
|
-
* A fully-qualified path representing
|
2195
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2196
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2189
2197
|
* @returns {string} A string representing the project.
|
2190
2198
|
*/
|
2191
|
-
|
2192
|
-
return this.pathTemplates.
|
2199
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2200
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
2193
2201
|
}
|
2194
2202
|
/**
|
2195
|
-
* Parse the location from
|
2203
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
2196
2204
|
*
|
2197
|
-
* @param {string}
|
2198
|
-
* A fully-qualified path representing
|
2205
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2206
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2199
2207
|
* @returns {string} A string representing the location.
|
2200
2208
|
*/
|
2201
|
-
|
2202
|
-
return this.pathTemplates.
|
2209
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2210
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
2203
2211
|
}
|
2204
2212
|
/**
|
2205
|
-
* Parse the collection from
|
2213
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
2206
2214
|
*
|
2207
|
-
* @param {string}
|
2208
|
-
* A fully-qualified path representing
|
2215
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2216
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2209
2217
|
* @returns {string} A string representing the collection.
|
2210
2218
|
*/
|
2211
|
-
|
2212
|
-
return this.pathTemplates.
|
2219
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2220
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
2213
2221
|
}
|
2214
2222
|
/**
|
2215
|
-
* Parse the engine from
|
2223
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
2216
2224
|
*
|
2217
|
-
* @param {string}
|
2218
|
-
* A fully-qualified path representing
|
2225
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2226
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2219
2227
|
* @returns {string} A string representing the engine.
|
2220
2228
|
*/
|
2221
|
-
|
2222
|
-
return this.pathTemplates.
|
2229
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2230
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
2223
2231
|
}
|
2224
2232
|
/**
|
2225
|
-
* Parse the session from
|
2233
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
2226
2234
|
*
|
2227
|
-
* @param {string}
|
2228
|
-
* A fully-qualified path representing
|
2235
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2236
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2229
2237
|
* @returns {string} A string representing the session.
|
2230
2238
|
*/
|
2231
|
-
|
2232
|
-
return this.pathTemplates.
|
2239
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2240
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
2233
2241
|
}
|
2234
2242
|
/**
|
2235
|
-
*
|
2243
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2244
|
+
*
|
2245
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2246
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2247
|
+
* @returns {string} A string representing the answer.
|
2248
|
+
*/
|
2249
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2250
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2251
|
+
}
|
2252
|
+
/**
|
2253
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
2236
2254
|
*
|
2237
2255
|
* @param {string} project
|
2238
2256
|
* @param {string} location
|
2239
2257
|
* @param {string} collection
|
2240
2258
|
* @param {string} engine
|
2241
2259
|
* @param {string} session
|
2242
|
-
* @param {string} answer
|
2243
2260
|
* @returns {string} Resource name string.
|
2244
2261
|
*/
|
2245
|
-
|
2246
|
-
return this.pathTemplates.
|
2262
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
2263
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
2247
2264
|
project: project,
|
2248
2265
|
location: location,
|
2249
2266
|
collection: collection,
|
2250
2267
|
engine: engine,
|
2251
2268
|
session: session,
|
2252
|
-
answer: answer,
|
2253
2269
|
});
|
2254
2270
|
}
|
2255
2271
|
/**
|
2256
|
-
* Parse the project from
|
2272
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
2257
2273
|
*
|
2258
|
-
* @param {string}
|
2259
|
-
* A fully-qualified path representing
|
2274
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2275
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2260
2276
|
* @returns {string} A string representing the project.
|
2261
2277
|
*/
|
2262
|
-
|
2263
|
-
return this.pathTemplates.
|
2278
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2279
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
2264
2280
|
}
|
2265
2281
|
/**
|
2266
|
-
* Parse the location from
|
2282
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
2267
2283
|
*
|
2268
|
-
* @param {string}
|
2269
|
-
* A fully-qualified path representing
|
2284
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2285
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2270
2286
|
* @returns {string} A string representing the location.
|
2271
2287
|
*/
|
2272
|
-
|
2273
|
-
return this.pathTemplates.
|
2288
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2289
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
2274
2290
|
}
|
2275
2291
|
/**
|
2276
|
-
* Parse the collection from
|
2292
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
2277
2293
|
*
|
2278
|
-
* @param {string}
|
2279
|
-
* A fully-qualified path representing
|
2294
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2295
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2280
2296
|
* @returns {string} A string representing the collection.
|
2281
2297
|
*/
|
2282
|
-
|
2283
|
-
return this.pathTemplates.
|
2298
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2299
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
2284
2300
|
}
|
2285
2301
|
/**
|
2286
|
-
* Parse the engine from
|
2302
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
2287
2303
|
*
|
2288
|
-
* @param {string}
|
2289
|
-
* A fully-qualified path representing
|
2304
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2305
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2290
2306
|
* @returns {string} A string representing the engine.
|
2291
2307
|
*/
|
2292
|
-
|
2293
|
-
return this.pathTemplates.
|
2308
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2309
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
2294
2310
|
}
|
2295
2311
|
/**
|
2296
|
-
* Parse the session from
|
2312
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
2297
2313
|
*
|
2298
|
-
* @param {string}
|
2299
|
-
* A fully-qualified path representing
|
2314
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2315
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2300
2316
|
* @returns {string} A string representing the session.
|
2301
2317
|
*/
|
2302
|
-
|
2303
|
-
return this.pathTemplates.
|
2304
|
-
}
|
2305
|
-
/**
|
2306
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2307
|
-
*
|
2308
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2309
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2310
|
-
* @returns {string} A string representing the answer.
|
2311
|
-
*/
|
2312
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2313
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2318
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2319
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
2314
2320
|
}
|
2315
2321
|
/**
|
2316
2322
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -2837,63 +2843,6 @@ class SchemaServiceClient {
|
|
2837
2843
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2838
2844
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
2839
2845
|
}
|
2840
|
-
/**
|
2841
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
2842
|
-
*
|
2843
|
-
* @param {string} project
|
2844
|
-
* @param {string} location
|
2845
|
-
* @param {string} data_store
|
2846
|
-
* @param {string} session
|
2847
|
-
* @returns {string} Resource name string.
|
2848
|
-
*/
|
2849
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
2850
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
2851
|
-
project: project,
|
2852
|
-
location: location,
|
2853
|
-
data_store: dataStore,
|
2854
|
-
session: session,
|
2855
|
-
});
|
2856
|
-
}
|
2857
|
-
/**
|
2858
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
2859
|
-
*
|
2860
|
-
* @param {string} projectLocationDataStoreSessionName
|
2861
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2862
|
-
* @returns {string} A string representing the project.
|
2863
|
-
*/
|
2864
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2865
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
2866
|
-
}
|
2867
|
-
/**
|
2868
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
2869
|
-
*
|
2870
|
-
* @param {string} projectLocationDataStoreSessionName
|
2871
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2872
|
-
* @returns {string} A string representing the location.
|
2873
|
-
*/
|
2874
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2875
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
2876
|
-
}
|
2877
|
-
/**
|
2878
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
2879
|
-
*
|
2880
|
-
* @param {string} projectLocationDataStoreSessionName
|
2881
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2882
|
-
* @returns {string} A string representing the data_store.
|
2883
|
-
*/
|
2884
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2885
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
2886
|
-
}
|
2887
|
-
/**
|
2888
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
2889
|
-
*
|
2890
|
-
* @param {string} projectLocationDataStoreSessionName
|
2891
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2892
|
-
* @returns {string} A string representing the session.
|
2893
|
-
*/
|
2894
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2895
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
2896
|
-
}
|
2897
2846
|
/**
|
2898
2847
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
2899
2848
|
*
|
@@ -2963,6 +2912,63 @@ class SchemaServiceClient {
|
|
2963
2912
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2964
2913
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
2965
2914
|
}
|
2915
|
+
/**
|
2916
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
2917
|
+
*
|
2918
|
+
* @param {string} project
|
2919
|
+
* @param {string} location
|
2920
|
+
* @param {string} data_store
|
2921
|
+
* @param {string} session
|
2922
|
+
* @returns {string} Resource name string.
|
2923
|
+
*/
|
2924
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
2925
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
2926
|
+
project: project,
|
2927
|
+
location: location,
|
2928
|
+
data_store: dataStore,
|
2929
|
+
session: session,
|
2930
|
+
});
|
2931
|
+
}
|
2932
|
+
/**
|
2933
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
2934
|
+
*
|
2935
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2936
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2937
|
+
* @returns {string} A string representing the project.
|
2938
|
+
*/
|
2939
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2940
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
2941
|
+
}
|
2942
|
+
/**
|
2943
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
2944
|
+
*
|
2945
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2946
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2947
|
+
* @returns {string} A string representing the location.
|
2948
|
+
*/
|
2949
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2950
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
2951
|
+
}
|
2952
|
+
/**
|
2953
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
2954
|
+
*
|
2955
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2956
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2957
|
+
* @returns {string} A string representing the data_store.
|
2958
|
+
*/
|
2959
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2960
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
2961
|
+
}
|
2962
|
+
/**
|
2963
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
2964
|
+
*
|
2965
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2966
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2967
|
+
* @returns {string} A string representing the session.
|
2968
|
+
*/
|
2969
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2970
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
2971
|
+
}
|
2966
2972
|
/**
|
2967
2973
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
2968
2974
|
*
|