@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
@@ -175,15 +175,15 @@ class AclConfigServiceClient {
|
|
175
175
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
176
176
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
177
177
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
178
|
-
projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
179
178
|
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
179
|
+
projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
180
180
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
181
181
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
182
182
|
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
183
183
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
184
184
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
185
|
-
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
186
185
|
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
186
|
+
projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
187
187
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
188
188
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
189
189
|
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -193,8 +193,8 @@ class AclConfigServiceClient {
|
|
193
193
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
194
194
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
195
195
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
196
|
-
projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
197
196
|
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
197
|
+
projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
198
198
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
199
199
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
200
200
|
sampleQueryPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}'),
|
@@ -338,6 +338,12 @@ class AclConfigServiceClient {
|
|
338
338
|
?.then(([response, options, rawResponse]) => {
|
339
339
|
this._log.info('updateAclConfig response %j', response);
|
340
340
|
return [response, options, rawResponse];
|
341
|
+
}).catch((error) => {
|
342
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
343
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
344
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
345
|
+
}
|
346
|
+
throw error;
|
341
347
|
});
|
342
348
|
}
|
343
349
|
getAclConfig(request, optionsOrCallback, callback) {
|
@@ -368,6 +374,12 @@ class AclConfigServiceClient {
|
|
368
374
|
?.then(([response, options, rawResponse]) => {
|
369
375
|
this._log.info('getAclConfig response %j', response);
|
370
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;
|
371
383
|
});
|
372
384
|
}
|
373
385
|
/**
|
@@ -1218,154 +1230,154 @@ class AclConfigServiceClient {
|
|
1218
1230
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1219
1231
|
}
|
1220
1232
|
/**
|
1221
|
-
* Return a fully-qualified
|
1233
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1222
1234
|
*
|
1223
1235
|
* @param {string} project
|
1224
1236
|
* @param {string} location
|
1225
1237
|
* @param {string} collection
|
1226
1238
|
* @param {string} data_store
|
1227
1239
|
* @param {string} session
|
1240
|
+
* @param {string} answer
|
1228
1241
|
* @returns {string} Resource name string.
|
1229
1242
|
*/
|
1230
|
-
|
1231
|
-
return this.pathTemplates.
|
1243
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1244
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1232
1245
|
project: project,
|
1233
1246
|
location: location,
|
1234
1247
|
collection: collection,
|
1235
1248
|
data_store: dataStore,
|
1236
1249
|
session: session,
|
1250
|
+
answer: answer,
|
1237
1251
|
});
|
1238
1252
|
}
|
1239
1253
|
/**
|
1240
|
-
* Parse the project from
|
1254
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1241
1255
|
*
|
1242
|
-
* @param {string}
|
1243
|
-
* A fully-qualified path representing
|
1256
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1257
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1244
1258
|
* @returns {string} A string representing the project.
|
1245
1259
|
*/
|
1246
|
-
|
1247
|
-
return this.pathTemplates.
|
1260
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1261
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1248
1262
|
}
|
1249
1263
|
/**
|
1250
|
-
* Parse the location from
|
1264
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1251
1265
|
*
|
1252
|
-
* @param {string}
|
1253
|
-
* A fully-qualified path representing
|
1266
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1267
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1254
1268
|
* @returns {string} A string representing the location.
|
1255
1269
|
*/
|
1256
|
-
|
1257
|
-
return this.pathTemplates.
|
1270
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1271
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1258
1272
|
}
|
1259
1273
|
/**
|
1260
|
-
* Parse the collection from
|
1274
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1261
1275
|
*
|
1262
|
-
* @param {string}
|
1263
|
-
* A fully-qualified path representing
|
1276
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1277
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1264
1278
|
* @returns {string} A string representing the collection.
|
1265
1279
|
*/
|
1266
|
-
|
1267
|
-
return this.pathTemplates.
|
1280
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1281
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1268
1282
|
}
|
1269
1283
|
/**
|
1270
|
-
* Parse the data_store from
|
1284
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1271
1285
|
*
|
1272
|
-
* @param {string}
|
1273
|
-
* A fully-qualified path representing
|
1286
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1287
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1274
1288
|
* @returns {string} A string representing the data_store.
|
1275
1289
|
*/
|
1276
|
-
|
1277
|
-
return this.pathTemplates.
|
1290
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1291
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1278
1292
|
}
|
1279
1293
|
/**
|
1280
|
-
* Parse the session from
|
1294
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1281
1295
|
*
|
1282
|
-
* @param {string}
|
1283
|
-
* A fully-qualified path representing
|
1296
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1297
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1284
1298
|
* @returns {string} A string representing the session.
|
1285
1299
|
*/
|
1286
|
-
|
1287
|
-
return this.pathTemplates.
|
1300
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1301
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1288
1302
|
}
|
1289
1303
|
/**
|
1290
|
-
*
|
1304
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1305
|
+
*
|
1306
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1307
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1308
|
+
* @returns {string} A string representing the answer.
|
1309
|
+
*/
|
1310
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1311
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1312
|
+
}
|
1313
|
+
/**
|
1314
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
1291
1315
|
*
|
1292
1316
|
* @param {string} project
|
1293
1317
|
* @param {string} location
|
1294
1318
|
* @param {string} collection
|
1295
1319
|
* @param {string} data_store
|
1296
1320
|
* @param {string} session
|
1297
|
-
* @param {string} answer
|
1298
1321
|
* @returns {string} Resource name string.
|
1299
1322
|
*/
|
1300
|
-
|
1301
|
-
return this.pathTemplates.
|
1323
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
1324
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
1302
1325
|
project: project,
|
1303
1326
|
location: location,
|
1304
1327
|
collection: collection,
|
1305
1328
|
data_store: dataStore,
|
1306
1329
|
session: session,
|
1307
|
-
answer: answer,
|
1308
1330
|
});
|
1309
1331
|
}
|
1310
1332
|
/**
|
1311
|
-
* Parse the project from
|
1333
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
1312
1334
|
*
|
1313
|
-
* @param {string}
|
1314
|
-
* A fully-qualified path representing
|
1335
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1336
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1315
1337
|
* @returns {string} A string representing the project.
|
1316
1338
|
*/
|
1317
|
-
|
1318
|
-
return this.pathTemplates.
|
1339
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1340
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
1319
1341
|
}
|
1320
1342
|
/**
|
1321
|
-
* Parse the location from
|
1343
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
1322
1344
|
*
|
1323
|
-
* @param {string}
|
1324
|
-
* A fully-qualified path representing
|
1345
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1346
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1325
1347
|
* @returns {string} A string representing the location.
|
1326
1348
|
*/
|
1327
|
-
|
1328
|
-
return this.pathTemplates.
|
1349
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1350
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
1329
1351
|
}
|
1330
1352
|
/**
|
1331
|
-
* Parse the collection from
|
1353
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
1332
1354
|
*
|
1333
|
-
* @param {string}
|
1334
|
-
* A fully-qualified path representing
|
1355
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1356
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1335
1357
|
* @returns {string} A string representing the collection.
|
1336
1358
|
*/
|
1337
|
-
|
1338
|
-
return this.pathTemplates.
|
1359
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1360
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
1339
1361
|
}
|
1340
1362
|
/**
|
1341
|
-
* Parse the data_store from
|
1363
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
1342
1364
|
*
|
1343
|
-
* @param {string}
|
1344
|
-
* A fully-qualified path representing
|
1365
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1366
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1345
1367
|
* @returns {string} A string representing the data_store.
|
1346
1368
|
*/
|
1347
|
-
|
1348
|
-
return this.pathTemplates.
|
1369
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1370
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
1349
1371
|
}
|
1350
1372
|
/**
|
1351
|
-
* Parse the session from
|
1373
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
1352
1374
|
*
|
1353
|
-
* @param {string}
|
1354
|
-
* A fully-qualified path representing
|
1375
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1376
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1355
1377
|
* @returns {string} A string representing the session.
|
1356
1378
|
*/
|
1357
|
-
|
1358
|
-
return this.pathTemplates.
|
1359
|
-
}
|
1360
|
-
/**
|
1361
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1362
|
-
*
|
1363
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1364
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1365
|
-
* @returns {string} A string representing the answer.
|
1366
|
-
*/
|
1367
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1368
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1379
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1380
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
1369
1381
|
}
|
1370
1382
|
/**
|
1371
1383
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -1701,154 +1713,154 @@ class AclConfigServiceClient {
|
|
1701
1713
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
1702
1714
|
}
|
1703
1715
|
/**
|
1704
|
-
* Return a fully-qualified
|
1716
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
1705
1717
|
*
|
1706
1718
|
* @param {string} project
|
1707
1719
|
* @param {string} location
|
1708
1720
|
* @param {string} collection
|
1709
1721
|
* @param {string} engine
|
1710
1722
|
* @param {string} session
|
1723
|
+
* @param {string} answer
|
1711
1724
|
* @returns {string} Resource name string.
|
1712
1725
|
*/
|
1713
|
-
|
1714
|
-
return this.pathTemplates.
|
1726
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
1727
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
1715
1728
|
project: project,
|
1716
1729
|
location: location,
|
1717
1730
|
collection: collection,
|
1718
1731
|
engine: engine,
|
1719
1732
|
session: session,
|
1733
|
+
answer: answer,
|
1720
1734
|
});
|
1721
1735
|
}
|
1722
1736
|
/**
|
1723
|
-
* Parse the project from
|
1737
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
1724
1738
|
*
|
1725
|
-
* @param {string}
|
1726
|
-
* A fully-qualified path representing
|
1739
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1740
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1727
1741
|
* @returns {string} A string representing the project.
|
1728
1742
|
*/
|
1729
|
-
|
1730
|
-
return this.pathTemplates.
|
1743
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1744
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
1731
1745
|
}
|
1732
1746
|
/**
|
1733
|
-
* Parse the location from
|
1747
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
1734
1748
|
*
|
1735
|
-
* @param {string}
|
1736
|
-
* A fully-qualified path representing
|
1749
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1750
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1737
1751
|
* @returns {string} A string representing the location.
|
1738
1752
|
*/
|
1739
|
-
|
1740
|
-
return this.pathTemplates.
|
1753
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1754
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
1741
1755
|
}
|
1742
1756
|
/**
|
1743
|
-
* Parse the collection from
|
1757
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
1744
1758
|
*
|
1745
|
-
* @param {string}
|
1746
|
-
* A fully-qualified path representing
|
1759
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1760
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1747
1761
|
* @returns {string} A string representing the collection.
|
1748
1762
|
*/
|
1749
|
-
|
1750
|
-
return this.pathTemplates.
|
1763
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1764
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
1751
1765
|
}
|
1752
1766
|
/**
|
1753
|
-
* Parse the engine from
|
1767
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
1754
1768
|
*
|
1755
|
-
* @param {string}
|
1756
|
-
* A fully-qualified path representing
|
1769
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1770
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1757
1771
|
* @returns {string} A string representing the engine.
|
1758
1772
|
*/
|
1759
|
-
|
1760
|
-
return this.pathTemplates.
|
1773
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1774
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
1761
1775
|
}
|
1762
1776
|
/**
|
1763
|
-
* Parse the session from
|
1777
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
1764
1778
|
*
|
1765
|
-
* @param {string}
|
1766
|
-
* A fully-qualified path representing
|
1779
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1780
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1767
1781
|
* @returns {string} A string representing the session.
|
1768
1782
|
*/
|
1769
|
-
|
1770
|
-
return this.pathTemplates.
|
1783
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1784
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
1771
1785
|
}
|
1772
1786
|
/**
|
1773
|
-
*
|
1787
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
1788
|
+
*
|
1789
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1790
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1791
|
+
* @returns {string} A string representing the answer.
|
1792
|
+
*/
|
1793
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1794
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
1795
|
+
}
|
1796
|
+
/**
|
1797
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
1774
1798
|
*
|
1775
1799
|
* @param {string} project
|
1776
1800
|
* @param {string} location
|
1777
1801
|
* @param {string} collection
|
1778
1802
|
* @param {string} engine
|
1779
1803
|
* @param {string} session
|
1780
|
-
* @param {string} answer
|
1781
1804
|
* @returns {string} Resource name string.
|
1782
1805
|
*/
|
1783
|
-
|
1784
|
-
return this.pathTemplates.
|
1806
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
1807
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
1785
1808
|
project: project,
|
1786
1809
|
location: location,
|
1787
1810
|
collection: collection,
|
1788
1811
|
engine: engine,
|
1789
1812
|
session: session,
|
1790
|
-
answer: answer,
|
1791
1813
|
});
|
1792
1814
|
}
|
1793
1815
|
/**
|
1794
|
-
* Parse the project from
|
1816
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
1795
1817
|
*
|
1796
|
-
* @param {string}
|
1797
|
-
* A fully-qualified path representing
|
1818
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
1819
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1798
1820
|
* @returns {string} A string representing the project.
|
1799
1821
|
*/
|
1800
|
-
|
1801
|
-
return this.pathTemplates.
|
1822
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
1823
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
1802
1824
|
}
|
1803
1825
|
/**
|
1804
|
-
* Parse the location from
|
1826
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
1805
1827
|
*
|
1806
|
-
* @param {string}
|
1807
|
-
* A fully-qualified path representing
|
1828
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
1829
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1808
1830
|
* @returns {string} A string representing the location.
|
1809
1831
|
*/
|
1810
|
-
|
1811
|
-
return this.pathTemplates.
|
1832
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
1833
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
1812
1834
|
}
|
1813
1835
|
/**
|
1814
|
-
* Parse the collection from
|
1836
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
1815
1837
|
*
|
1816
|
-
* @param {string}
|
1817
|
-
* A fully-qualified path representing
|
1838
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
1839
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1818
1840
|
* @returns {string} A string representing the collection.
|
1819
1841
|
*/
|
1820
|
-
|
1821
|
-
return this.pathTemplates.
|
1842
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
1843
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
1822
1844
|
}
|
1823
1845
|
/**
|
1824
|
-
* Parse the engine from
|
1846
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
1825
1847
|
*
|
1826
|
-
* @param {string}
|
1827
|
-
* A fully-qualified path representing
|
1848
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
1849
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1828
1850
|
* @returns {string} A string representing the engine.
|
1829
1851
|
*/
|
1830
|
-
|
1831
|
-
return this.pathTemplates.
|
1852
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
1853
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
1832
1854
|
}
|
1833
1855
|
/**
|
1834
|
-
* Parse the session from
|
1856
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
1835
1857
|
*
|
1836
|
-
* @param {string}
|
1837
|
-
* A fully-qualified path representing
|
1858
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
1859
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1838
1860
|
* @returns {string} A string representing the session.
|
1839
1861
|
*/
|
1840
|
-
|
1841
|
-
return this.pathTemplates.
|
1842
|
-
}
|
1843
|
-
/**
|
1844
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
1845
|
-
*
|
1846
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1847
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1848
|
-
* @returns {string} A string representing the answer.
|
1849
|
-
*/
|
1850
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1851
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
1862
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
1863
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
1852
1864
|
}
|
1853
1865
|
/**
|
1854
1866
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -2375,63 +2387,6 @@ class AclConfigServiceClient {
|
|
2375
2387
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2376
2388
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
2377
2389
|
}
|
2378
|
-
/**
|
2379
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
2380
|
-
*
|
2381
|
-
* @param {string} project
|
2382
|
-
* @param {string} location
|
2383
|
-
* @param {string} data_store
|
2384
|
-
* @param {string} session
|
2385
|
-
* @returns {string} Resource name string.
|
2386
|
-
*/
|
2387
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
2388
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
2389
|
-
project: project,
|
2390
|
-
location: location,
|
2391
|
-
data_store: dataStore,
|
2392
|
-
session: session,
|
2393
|
-
});
|
2394
|
-
}
|
2395
|
-
/**
|
2396
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
2397
|
-
*
|
2398
|
-
* @param {string} projectLocationDataStoreSessionName
|
2399
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2400
|
-
* @returns {string} A string representing the project.
|
2401
|
-
*/
|
2402
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2403
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
2404
|
-
}
|
2405
|
-
/**
|
2406
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
2407
|
-
*
|
2408
|
-
* @param {string} projectLocationDataStoreSessionName
|
2409
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2410
|
-
* @returns {string} A string representing the location.
|
2411
|
-
*/
|
2412
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2413
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
2414
|
-
}
|
2415
|
-
/**
|
2416
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
2417
|
-
*
|
2418
|
-
* @param {string} projectLocationDataStoreSessionName
|
2419
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2420
|
-
* @returns {string} A string representing the data_store.
|
2421
|
-
*/
|
2422
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2423
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
2424
|
-
}
|
2425
|
-
/**
|
2426
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
2427
|
-
*
|
2428
|
-
* @param {string} projectLocationDataStoreSessionName
|
2429
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2430
|
-
* @returns {string} A string representing the session.
|
2431
|
-
*/
|
2432
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2433
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
2434
|
-
}
|
2435
2390
|
/**
|
2436
2391
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
2437
2392
|
*
|
@@ -2501,6 +2456,63 @@ class AclConfigServiceClient {
|
|
2501
2456
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2502
2457
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
2503
2458
|
}
|
2459
|
+
/**
|
2460
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
2461
|
+
*
|
2462
|
+
* @param {string} project
|
2463
|
+
* @param {string} location
|
2464
|
+
* @param {string} data_store
|
2465
|
+
* @param {string} session
|
2466
|
+
* @returns {string} Resource name string.
|
2467
|
+
*/
|
2468
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
2469
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
2470
|
+
project: project,
|
2471
|
+
location: location,
|
2472
|
+
data_store: dataStore,
|
2473
|
+
session: session,
|
2474
|
+
});
|
2475
|
+
}
|
2476
|
+
/**
|
2477
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
2478
|
+
*
|
2479
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2480
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2481
|
+
* @returns {string} A string representing the project.
|
2482
|
+
*/
|
2483
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2484
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
2485
|
+
}
|
2486
|
+
/**
|
2487
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
2488
|
+
*
|
2489
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2490
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2491
|
+
* @returns {string} A string representing the location.
|
2492
|
+
*/
|
2493
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2494
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
2495
|
+
}
|
2496
|
+
/**
|
2497
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
2498
|
+
*
|
2499
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2500
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2501
|
+
* @returns {string} A string representing the data_store.
|
2502
|
+
*/
|
2503
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2504
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
2505
|
+
}
|
2506
|
+
/**
|
2507
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
2508
|
+
*
|
2509
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2510
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2511
|
+
* @returns {string} A string representing the session.
|
2512
|
+
*/
|
2513
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2514
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
2515
|
+
}
|
2504
2516
|
/**
|
2505
2517
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
2506
2518
|
*
|