@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
@@ -165,9 +165,14 @@ class ControlServiceClient {
|
|
165
165
|
// identifiers to uniquely identify resources within the API.
|
166
166
|
// Create useful helper objects for these.
|
167
167
|
this.pathTemplates = {
|
168
|
+
assistAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/assistAnswers/{assist_answer}'),
|
169
|
+
assistantPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}'),
|
168
170
|
enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
|
171
|
+
identityMappingStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}'),
|
169
172
|
locationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}'),
|
170
173
|
projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
|
174
|
+
projectLocationCmekConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/cmekConfig'),
|
175
|
+
projectLocationCmekConfigsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/cmekConfigs/{cmek_config}'),
|
171
176
|
projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
|
172
177
|
projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
173
178
|
projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -177,16 +182,16 @@ class ControlServiceClient {
|
|
177
182
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
178
183
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
179
184
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
180
|
-
projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
181
185
|
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
186
|
+
projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
182
187
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
183
188
|
projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
184
189
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
185
190
|
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
186
191
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
187
192
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
188
|
-
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
189
193
|
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
194
|
+
projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
190
195
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
191
196
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
192
197
|
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -196,8 +201,8 @@ class ControlServiceClient {
|
|
196
201
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
197
202
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
198
203
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
199
|
-
projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
200
204
|
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
205
|
+
projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
201
206
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
202
207
|
projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
203
208
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
@@ -347,6 +352,12 @@ class ControlServiceClient {
|
|
347
352
|
?.then(([response, options, rawResponse]) => {
|
348
353
|
this._log.info('createControl response %j', response);
|
349
354
|
return [response, options, rawResponse];
|
355
|
+
}).catch((error) => {
|
356
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
357
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
358
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
359
|
+
}
|
360
|
+
throw error;
|
350
361
|
});
|
351
362
|
}
|
352
363
|
deleteControl(request, optionsOrCallback, callback) {
|
@@ -377,6 +388,12 @@ class ControlServiceClient {
|
|
377
388
|
?.then(([response, options, rawResponse]) => {
|
378
389
|
this._log.info('deleteControl response %j', response);
|
379
390
|
return [response, options, rawResponse];
|
391
|
+
}).catch((error) => {
|
392
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
393
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
394
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
395
|
+
}
|
396
|
+
throw error;
|
380
397
|
});
|
381
398
|
}
|
382
399
|
updateControl(request, optionsOrCallback, callback) {
|
@@ -407,6 +424,12 @@ class ControlServiceClient {
|
|
407
424
|
?.then(([response, options, rawResponse]) => {
|
408
425
|
this._log.info('updateControl response %j', response);
|
409
426
|
return [response, options, rawResponse];
|
427
|
+
}).catch((error) => {
|
428
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
429
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
430
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
431
|
+
}
|
432
|
+
throw error;
|
410
433
|
});
|
411
434
|
}
|
412
435
|
getControl(request, optionsOrCallback, callback) {
|
@@ -437,6 +460,12 @@ class ControlServiceClient {
|
|
437
460
|
?.then(([response, options, rawResponse]) => {
|
438
461
|
this._log.info('getControl response %j', response);
|
439
462
|
return [response, options, rawResponse];
|
463
|
+
}).catch((error) => {
|
464
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
465
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
466
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
467
|
+
}
|
468
|
+
throw error;
|
440
469
|
});
|
441
470
|
}
|
442
471
|
listControls(request, optionsOrCallback, callback) {
|
@@ -623,6 +652,156 @@ class ControlServiceClient {
|
|
623
652
|
// --------------------
|
624
653
|
// -- Path templates --
|
625
654
|
// --------------------
|
655
|
+
/**
|
656
|
+
* Return a fully-qualified assistAnswer resource name string.
|
657
|
+
*
|
658
|
+
* @param {string} project
|
659
|
+
* @param {string} location
|
660
|
+
* @param {string} collection
|
661
|
+
* @param {string} engine
|
662
|
+
* @param {string} session
|
663
|
+
* @param {string} assist_answer
|
664
|
+
* @returns {string} Resource name string.
|
665
|
+
*/
|
666
|
+
assistAnswerPath(project, location, collection, engine, session, assistAnswer) {
|
667
|
+
return this.pathTemplates.assistAnswerPathTemplate.render({
|
668
|
+
project: project,
|
669
|
+
location: location,
|
670
|
+
collection: collection,
|
671
|
+
engine: engine,
|
672
|
+
session: session,
|
673
|
+
assist_answer: assistAnswer,
|
674
|
+
});
|
675
|
+
}
|
676
|
+
/**
|
677
|
+
* Parse the project from AssistAnswer resource.
|
678
|
+
*
|
679
|
+
* @param {string} assistAnswerName
|
680
|
+
* A fully-qualified path representing AssistAnswer resource.
|
681
|
+
* @returns {string} A string representing the project.
|
682
|
+
*/
|
683
|
+
matchProjectFromAssistAnswerName(assistAnswerName) {
|
684
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).project;
|
685
|
+
}
|
686
|
+
/**
|
687
|
+
* Parse the location from AssistAnswer resource.
|
688
|
+
*
|
689
|
+
* @param {string} assistAnswerName
|
690
|
+
* A fully-qualified path representing AssistAnswer resource.
|
691
|
+
* @returns {string} A string representing the location.
|
692
|
+
*/
|
693
|
+
matchLocationFromAssistAnswerName(assistAnswerName) {
|
694
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).location;
|
695
|
+
}
|
696
|
+
/**
|
697
|
+
* Parse the collection from AssistAnswer resource.
|
698
|
+
*
|
699
|
+
* @param {string} assistAnswerName
|
700
|
+
* A fully-qualified path representing AssistAnswer resource.
|
701
|
+
* @returns {string} A string representing the collection.
|
702
|
+
*/
|
703
|
+
matchCollectionFromAssistAnswerName(assistAnswerName) {
|
704
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).collection;
|
705
|
+
}
|
706
|
+
/**
|
707
|
+
* Parse the engine from AssistAnswer resource.
|
708
|
+
*
|
709
|
+
* @param {string} assistAnswerName
|
710
|
+
* A fully-qualified path representing AssistAnswer resource.
|
711
|
+
* @returns {string} A string representing the engine.
|
712
|
+
*/
|
713
|
+
matchEngineFromAssistAnswerName(assistAnswerName) {
|
714
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).engine;
|
715
|
+
}
|
716
|
+
/**
|
717
|
+
* Parse the session from AssistAnswer resource.
|
718
|
+
*
|
719
|
+
* @param {string} assistAnswerName
|
720
|
+
* A fully-qualified path representing AssistAnswer resource.
|
721
|
+
* @returns {string} A string representing the session.
|
722
|
+
*/
|
723
|
+
matchSessionFromAssistAnswerName(assistAnswerName) {
|
724
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).session;
|
725
|
+
}
|
726
|
+
/**
|
727
|
+
* Parse the assist_answer from AssistAnswer resource.
|
728
|
+
*
|
729
|
+
* @param {string} assistAnswerName
|
730
|
+
* A fully-qualified path representing AssistAnswer resource.
|
731
|
+
* @returns {string} A string representing the assist_answer.
|
732
|
+
*/
|
733
|
+
matchAssistAnswerFromAssistAnswerName(assistAnswerName) {
|
734
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).assist_answer;
|
735
|
+
}
|
736
|
+
/**
|
737
|
+
* Return a fully-qualified assistant resource name string.
|
738
|
+
*
|
739
|
+
* @param {string} project
|
740
|
+
* @param {string} location
|
741
|
+
* @param {string} collection
|
742
|
+
* @param {string} engine
|
743
|
+
* @param {string} assistant
|
744
|
+
* @returns {string} Resource name string.
|
745
|
+
*/
|
746
|
+
assistantPath(project, location, collection, engine, assistant) {
|
747
|
+
return this.pathTemplates.assistantPathTemplate.render({
|
748
|
+
project: project,
|
749
|
+
location: location,
|
750
|
+
collection: collection,
|
751
|
+
engine: engine,
|
752
|
+
assistant: assistant,
|
753
|
+
});
|
754
|
+
}
|
755
|
+
/**
|
756
|
+
* Parse the project from Assistant resource.
|
757
|
+
*
|
758
|
+
* @param {string} assistantName
|
759
|
+
* A fully-qualified path representing Assistant resource.
|
760
|
+
* @returns {string} A string representing the project.
|
761
|
+
*/
|
762
|
+
matchProjectFromAssistantName(assistantName) {
|
763
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).project;
|
764
|
+
}
|
765
|
+
/**
|
766
|
+
* Parse the location from Assistant resource.
|
767
|
+
*
|
768
|
+
* @param {string} assistantName
|
769
|
+
* A fully-qualified path representing Assistant resource.
|
770
|
+
* @returns {string} A string representing the location.
|
771
|
+
*/
|
772
|
+
matchLocationFromAssistantName(assistantName) {
|
773
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).location;
|
774
|
+
}
|
775
|
+
/**
|
776
|
+
* Parse the collection from Assistant resource.
|
777
|
+
*
|
778
|
+
* @param {string} assistantName
|
779
|
+
* A fully-qualified path representing Assistant resource.
|
780
|
+
* @returns {string} A string representing the collection.
|
781
|
+
*/
|
782
|
+
matchCollectionFromAssistantName(assistantName) {
|
783
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).collection;
|
784
|
+
}
|
785
|
+
/**
|
786
|
+
* Parse the engine from Assistant resource.
|
787
|
+
*
|
788
|
+
* @param {string} assistantName
|
789
|
+
* A fully-qualified path representing Assistant resource.
|
790
|
+
* @returns {string} A string representing the engine.
|
791
|
+
*/
|
792
|
+
matchEngineFromAssistantName(assistantName) {
|
793
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).engine;
|
794
|
+
}
|
795
|
+
/**
|
796
|
+
* Parse the assistant from Assistant resource.
|
797
|
+
*
|
798
|
+
* @param {string} assistantName
|
799
|
+
* A fully-qualified path representing Assistant resource.
|
800
|
+
* @returns {string} A string representing the assistant.
|
801
|
+
*/
|
802
|
+
matchAssistantFromAssistantName(assistantName) {
|
803
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).assistant;
|
804
|
+
}
|
626
805
|
/**
|
627
806
|
* Return a fully-qualified engine resource name string.
|
628
807
|
*
|
@@ -680,6 +859,51 @@ class ControlServiceClient {
|
|
680
859
|
matchEngineFromEngineName(engineName) {
|
681
860
|
return this.pathTemplates.enginePathTemplate.match(engineName).engine;
|
682
861
|
}
|
862
|
+
/**
|
863
|
+
* Return a fully-qualified identityMappingStore resource name string.
|
864
|
+
*
|
865
|
+
* @param {string} project
|
866
|
+
* @param {string} location
|
867
|
+
* @param {string} identity_mapping_store
|
868
|
+
* @returns {string} Resource name string.
|
869
|
+
*/
|
870
|
+
identityMappingStorePath(project, location, identityMappingStore) {
|
871
|
+
return this.pathTemplates.identityMappingStorePathTemplate.render({
|
872
|
+
project: project,
|
873
|
+
location: location,
|
874
|
+
identity_mapping_store: identityMappingStore,
|
875
|
+
});
|
876
|
+
}
|
877
|
+
/**
|
878
|
+
* Parse the project from IdentityMappingStore resource.
|
879
|
+
*
|
880
|
+
* @param {string} identityMappingStoreName
|
881
|
+
* A fully-qualified path representing IdentityMappingStore resource.
|
882
|
+
* @returns {string} A string representing the project.
|
883
|
+
*/
|
884
|
+
matchProjectFromIdentityMappingStoreName(identityMappingStoreName) {
|
885
|
+
return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).project;
|
886
|
+
}
|
887
|
+
/**
|
888
|
+
* Parse the location from IdentityMappingStore resource.
|
889
|
+
*
|
890
|
+
* @param {string} identityMappingStoreName
|
891
|
+
* A fully-qualified path representing IdentityMappingStore resource.
|
892
|
+
* @returns {string} A string representing the location.
|
893
|
+
*/
|
894
|
+
matchLocationFromIdentityMappingStoreName(identityMappingStoreName) {
|
895
|
+
return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).location;
|
896
|
+
}
|
897
|
+
/**
|
898
|
+
* Parse the identity_mapping_store from IdentityMappingStore resource.
|
899
|
+
*
|
900
|
+
* @param {string} identityMappingStoreName
|
901
|
+
* A fully-qualified path representing IdentityMappingStore resource.
|
902
|
+
* @returns {string} A string representing the identity_mapping_store.
|
903
|
+
*/
|
904
|
+
matchIdentityMappingStoreFromIdentityMappingStoreName(identityMappingStoreName) {
|
905
|
+
return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).identity_mapping_store;
|
906
|
+
}
|
683
907
|
/**
|
684
908
|
* Return a fully-qualified location resource name string.
|
685
909
|
*
|
@@ -734,6 +958,84 @@ class ControlServiceClient {
|
|
734
958
|
matchProjectFromProjectName(projectName) {
|
735
959
|
return this.pathTemplates.projectPathTemplate.match(projectName).project;
|
736
960
|
}
|
961
|
+
/**
|
962
|
+
* Return a fully-qualified projectLocationCmekConfig resource name string.
|
963
|
+
*
|
964
|
+
* @param {string} project
|
965
|
+
* @param {string} location
|
966
|
+
* @returns {string} Resource name string.
|
967
|
+
*/
|
968
|
+
projectLocationCmekConfigPath(project, location) {
|
969
|
+
return this.pathTemplates.projectLocationCmekConfigPathTemplate.render({
|
970
|
+
project: project,
|
971
|
+
location: location,
|
972
|
+
});
|
973
|
+
}
|
974
|
+
/**
|
975
|
+
* Parse the project from ProjectLocationCmekConfig resource.
|
976
|
+
*
|
977
|
+
* @param {string} projectLocationCmekConfigName
|
978
|
+
* A fully-qualified path representing project_location_cmekConfig resource.
|
979
|
+
* @returns {string} A string representing the project.
|
980
|
+
*/
|
981
|
+
matchProjectFromProjectLocationCmekConfigName(projectLocationCmekConfigName) {
|
982
|
+
return this.pathTemplates.projectLocationCmekConfigPathTemplate.match(projectLocationCmekConfigName).project;
|
983
|
+
}
|
984
|
+
/**
|
985
|
+
* Parse the location from ProjectLocationCmekConfig resource.
|
986
|
+
*
|
987
|
+
* @param {string} projectLocationCmekConfigName
|
988
|
+
* A fully-qualified path representing project_location_cmekConfig resource.
|
989
|
+
* @returns {string} A string representing the location.
|
990
|
+
*/
|
991
|
+
matchLocationFromProjectLocationCmekConfigName(projectLocationCmekConfigName) {
|
992
|
+
return this.pathTemplates.projectLocationCmekConfigPathTemplate.match(projectLocationCmekConfigName).location;
|
993
|
+
}
|
994
|
+
/**
|
995
|
+
* Return a fully-qualified projectLocationCmekConfigs resource name string.
|
996
|
+
*
|
997
|
+
* @param {string} project
|
998
|
+
* @param {string} location
|
999
|
+
* @param {string} cmek_config
|
1000
|
+
* @returns {string} Resource name string.
|
1001
|
+
*/
|
1002
|
+
projectLocationCmekConfigsPath(project, location, cmekConfig) {
|
1003
|
+
return this.pathTemplates.projectLocationCmekConfigsPathTemplate.render({
|
1004
|
+
project: project,
|
1005
|
+
location: location,
|
1006
|
+
cmek_config: cmekConfig,
|
1007
|
+
});
|
1008
|
+
}
|
1009
|
+
/**
|
1010
|
+
* Parse the project from ProjectLocationCmekConfigs resource.
|
1011
|
+
*
|
1012
|
+
* @param {string} projectLocationCmekConfigsName
|
1013
|
+
* A fully-qualified path representing project_location_cmekConfigs resource.
|
1014
|
+
* @returns {string} A string representing the project.
|
1015
|
+
*/
|
1016
|
+
matchProjectFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
|
1017
|
+
return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).project;
|
1018
|
+
}
|
1019
|
+
/**
|
1020
|
+
* Parse the location from ProjectLocationCmekConfigs resource.
|
1021
|
+
*
|
1022
|
+
* @param {string} projectLocationCmekConfigsName
|
1023
|
+
* A fully-qualified path representing project_location_cmekConfigs resource.
|
1024
|
+
* @returns {string} A string representing the location.
|
1025
|
+
*/
|
1026
|
+
matchLocationFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
|
1027
|
+
return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).location;
|
1028
|
+
}
|
1029
|
+
/**
|
1030
|
+
* Parse the cmek_config from ProjectLocationCmekConfigs resource.
|
1031
|
+
*
|
1032
|
+
* @param {string} projectLocationCmekConfigsName
|
1033
|
+
* A fully-qualified path representing project_location_cmekConfigs resource.
|
1034
|
+
* @returns {string} A string representing the cmek_config.
|
1035
|
+
*/
|
1036
|
+
matchCmekConfigFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
|
1037
|
+
return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).cmek_config;
|
1038
|
+
}
|
737
1039
|
/**
|
738
1040
|
* Return a fully-qualified projectLocationCollectionDataStore resource name string.
|
739
1041
|
*
|
@@ -1368,154 +1670,154 @@ class ControlServiceClient {
|
|
1368
1670
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1369
1671
|
}
|
1370
1672
|
/**
|
1371
|
-
* Return a fully-qualified
|
1673
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1372
1674
|
*
|
1373
1675
|
* @param {string} project
|
1374
1676
|
* @param {string} location
|
1375
1677
|
* @param {string} collection
|
1376
1678
|
* @param {string} data_store
|
1377
1679
|
* @param {string} session
|
1680
|
+
* @param {string} answer
|
1378
1681
|
* @returns {string} Resource name string.
|
1379
1682
|
*/
|
1380
|
-
|
1381
|
-
return this.pathTemplates.
|
1683
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1684
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1382
1685
|
project: project,
|
1383
1686
|
location: location,
|
1384
1687
|
collection: collection,
|
1385
1688
|
data_store: dataStore,
|
1386
1689
|
session: session,
|
1690
|
+
answer: answer,
|
1387
1691
|
});
|
1388
1692
|
}
|
1389
1693
|
/**
|
1390
|
-
* Parse the project from
|
1694
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1391
1695
|
*
|
1392
|
-
* @param {string}
|
1393
|
-
* A fully-qualified path representing
|
1696
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1697
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1394
1698
|
* @returns {string} A string representing the project.
|
1395
1699
|
*/
|
1396
|
-
|
1397
|
-
return this.pathTemplates.
|
1700
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1701
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1398
1702
|
}
|
1399
1703
|
/**
|
1400
|
-
* Parse the location from
|
1704
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1401
1705
|
*
|
1402
|
-
* @param {string}
|
1403
|
-
* A fully-qualified path representing
|
1706
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1707
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1404
1708
|
* @returns {string} A string representing the location.
|
1405
1709
|
*/
|
1406
|
-
|
1407
|
-
return this.pathTemplates.
|
1710
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1711
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1408
1712
|
}
|
1409
1713
|
/**
|
1410
|
-
* Parse the collection from
|
1714
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1411
1715
|
*
|
1412
|
-
* @param {string}
|
1413
|
-
* A fully-qualified path representing
|
1716
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1717
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1414
1718
|
* @returns {string} A string representing the collection.
|
1415
1719
|
*/
|
1416
|
-
|
1417
|
-
return this.pathTemplates.
|
1720
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1721
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1418
1722
|
}
|
1419
1723
|
/**
|
1420
|
-
* Parse the data_store from
|
1724
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1421
1725
|
*
|
1422
|
-
* @param {string}
|
1423
|
-
* A fully-qualified path representing
|
1726
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1727
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1424
1728
|
* @returns {string} A string representing the data_store.
|
1425
1729
|
*/
|
1426
|
-
|
1427
|
-
return this.pathTemplates.
|
1730
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1731
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1428
1732
|
}
|
1429
1733
|
/**
|
1430
|
-
* Parse the session from
|
1734
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1431
1735
|
*
|
1432
|
-
* @param {string}
|
1433
|
-
* A fully-qualified path representing
|
1736
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1737
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1434
1738
|
* @returns {string} A string representing the session.
|
1435
1739
|
*/
|
1436
|
-
|
1437
|
-
return this.pathTemplates.
|
1740
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1741
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1438
1742
|
}
|
1439
1743
|
/**
|
1440
|
-
*
|
1744
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1745
|
+
*
|
1746
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1747
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1748
|
+
* @returns {string} A string representing the answer.
|
1749
|
+
*/
|
1750
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1751
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1752
|
+
}
|
1753
|
+
/**
|
1754
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
1441
1755
|
*
|
1442
1756
|
* @param {string} project
|
1443
1757
|
* @param {string} location
|
1444
1758
|
* @param {string} collection
|
1445
1759
|
* @param {string} data_store
|
1446
1760
|
* @param {string} session
|
1447
|
-
* @param {string} answer
|
1448
1761
|
* @returns {string} Resource name string.
|
1449
1762
|
*/
|
1450
|
-
|
1451
|
-
return this.pathTemplates.
|
1763
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
1764
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
1452
1765
|
project: project,
|
1453
1766
|
location: location,
|
1454
1767
|
collection: collection,
|
1455
1768
|
data_store: dataStore,
|
1456
1769
|
session: session,
|
1457
|
-
answer: answer,
|
1458
1770
|
});
|
1459
1771
|
}
|
1460
1772
|
/**
|
1461
|
-
* Parse the project from
|
1773
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
1462
1774
|
*
|
1463
|
-
* @param {string}
|
1464
|
-
* A fully-qualified path representing
|
1775
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1776
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1465
1777
|
* @returns {string} A string representing the project.
|
1466
1778
|
*/
|
1467
|
-
|
1468
|
-
return this.pathTemplates.
|
1779
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1780
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
1469
1781
|
}
|
1470
1782
|
/**
|
1471
|
-
* Parse the location from
|
1783
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
1472
1784
|
*
|
1473
|
-
* @param {string}
|
1474
|
-
* A fully-qualified path representing
|
1785
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1786
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1475
1787
|
* @returns {string} A string representing the location.
|
1476
1788
|
*/
|
1477
|
-
|
1478
|
-
return this.pathTemplates.
|
1789
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1790
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
1479
1791
|
}
|
1480
1792
|
/**
|
1481
|
-
* Parse the collection from
|
1793
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
1482
1794
|
*
|
1483
|
-
* @param {string}
|
1484
|
-
* A fully-qualified path representing
|
1795
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1796
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1485
1797
|
* @returns {string} A string representing the collection.
|
1486
1798
|
*/
|
1487
|
-
|
1488
|
-
return this.pathTemplates.
|
1799
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1800
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
1489
1801
|
}
|
1490
1802
|
/**
|
1491
|
-
* Parse the data_store from
|
1803
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
1492
1804
|
*
|
1493
|
-
* @param {string}
|
1494
|
-
* A fully-qualified path representing
|
1805
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1806
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1495
1807
|
* @returns {string} A string representing the data_store.
|
1496
1808
|
*/
|
1497
|
-
|
1498
|
-
return this.pathTemplates.
|
1809
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1810
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
1499
1811
|
}
|
1500
1812
|
/**
|
1501
|
-
* Parse the session from
|
1813
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
1502
1814
|
*
|
1503
|
-
* @param {string}
|
1504
|
-
* A fully-qualified path representing
|
1815
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1816
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1505
1817
|
* @returns {string} A string representing the session.
|
1506
1818
|
*/
|
1507
|
-
|
1508
|
-
return this.pathTemplates.
|
1509
|
-
}
|
1510
|
-
/**
|
1511
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1512
|
-
*
|
1513
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1514
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1515
|
-
* @returns {string} A string representing the answer.
|
1516
|
-
*/
|
1517
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1518
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1819
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1820
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
1519
1821
|
}
|
1520
1822
|
/**
|
1521
1823
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -1920,154 +2222,154 @@ class ControlServiceClient {
|
|
1920
2222
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
1921
2223
|
}
|
1922
2224
|
/**
|
1923
|
-
* Return a fully-qualified
|
2225
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
1924
2226
|
*
|
1925
2227
|
* @param {string} project
|
1926
2228
|
* @param {string} location
|
1927
2229
|
* @param {string} collection
|
1928
2230
|
* @param {string} engine
|
1929
2231
|
* @param {string} session
|
2232
|
+
* @param {string} answer
|
1930
2233
|
* @returns {string} Resource name string.
|
1931
2234
|
*/
|
1932
|
-
|
1933
|
-
return this.pathTemplates.
|
2235
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
2236
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
1934
2237
|
project: project,
|
1935
2238
|
location: location,
|
1936
2239
|
collection: collection,
|
1937
2240
|
engine: engine,
|
1938
2241
|
session: session,
|
2242
|
+
answer: answer,
|
1939
2243
|
});
|
1940
2244
|
}
|
1941
2245
|
/**
|
1942
|
-
* Parse the project from
|
2246
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
1943
2247
|
*
|
1944
|
-
* @param {string}
|
1945
|
-
* A fully-qualified path representing
|
2248
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2249
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1946
2250
|
* @returns {string} A string representing the project.
|
1947
2251
|
*/
|
1948
|
-
|
1949
|
-
return this.pathTemplates.
|
2252
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2253
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
1950
2254
|
}
|
1951
2255
|
/**
|
1952
|
-
* Parse the location from
|
2256
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
1953
2257
|
*
|
1954
|
-
* @param {string}
|
1955
|
-
* A fully-qualified path representing
|
2258
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2259
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1956
2260
|
* @returns {string} A string representing the location.
|
1957
2261
|
*/
|
1958
|
-
|
1959
|
-
return this.pathTemplates.
|
2262
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2263
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
1960
2264
|
}
|
1961
2265
|
/**
|
1962
|
-
* Parse the collection from
|
2266
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
1963
2267
|
*
|
1964
|
-
* @param {string}
|
1965
|
-
* A fully-qualified path representing
|
2268
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2269
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1966
2270
|
* @returns {string} A string representing the collection.
|
1967
2271
|
*/
|
1968
|
-
|
1969
|
-
return this.pathTemplates.
|
2272
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2273
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
1970
2274
|
}
|
1971
2275
|
/**
|
1972
|
-
* Parse the engine from
|
2276
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
1973
2277
|
*
|
1974
|
-
* @param {string}
|
1975
|
-
* A fully-qualified path representing
|
2278
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2279
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1976
2280
|
* @returns {string} A string representing the engine.
|
1977
2281
|
*/
|
1978
|
-
|
1979
|
-
return this.pathTemplates.
|
2282
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2283
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
1980
2284
|
}
|
1981
2285
|
/**
|
1982
|
-
* Parse the session from
|
2286
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
1983
2287
|
*
|
1984
|
-
* @param {string}
|
1985
|
-
* A fully-qualified path representing
|
2288
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2289
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1986
2290
|
* @returns {string} A string representing the session.
|
1987
2291
|
*/
|
1988
|
-
|
1989
|
-
return this.pathTemplates.
|
2292
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2293
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
2294
|
+
}
|
2295
|
+
/**
|
2296
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2297
|
+
*
|
2298
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2299
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2300
|
+
* @returns {string} A string representing the answer.
|
2301
|
+
*/
|
2302
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2303
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
1990
2304
|
}
|
1991
2305
|
/**
|
1992
|
-
* Return a fully-qualified
|
2306
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
1993
2307
|
*
|
1994
2308
|
* @param {string} project
|
1995
2309
|
* @param {string} location
|
1996
2310
|
* @param {string} collection
|
1997
2311
|
* @param {string} engine
|
1998
2312
|
* @param {string} session
|
1999
|
-
* @param {string} answer
|
2000
2313
|
* @returns {string} Resource name string.
|
2001
2314
|
*/
|
2002
|
-
|
2003
|
-
return this.pathTemplates.
|
2315
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
2316
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
2004
2317
|
project: project,
|
2005
2318
|
location: location,
|
2006
2319
|
collection: collection,
|
2007
2320
|
engine: engine,
|
2008
2321
|
session: session,
|
2009
|
-
answer: answer,
|
2010
2322
|
});
|
2011
2323
|
}
|
2012
2324
|
/**
|
2013
|
-
* Parse the project from
|
2325
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
2014
2326
|
*
|
2015
|
-
* @param {string}
|
2016
|
-
* A fully-qualified path representing
|
2327
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2328
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2017
2329
|
* @returns {string} A string representing the project.
|
2018
2330
|
*/
|
2019
|
-
|
2020
|
-
return this.pathTemplates.
|
2331
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2332
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
2021
2333
|
}
|
2022
2334
|
/**
|
2023
|
-
* Parse the location from
|
2335
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
2024
2336
|
*
|
2025
|
-
* @param {string}
|
2026
|
-
* A fully-qualified path representing
|
2337
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2338
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2027
2339
|
* @returns {string} A string representing the location.
|
2028
2340
|
*/
|
2029
|
-
|
2030
|
-
return this.pathTemplates.
|
2341
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2342
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
2031
2343
|
}
|
2032
2344
|
/**
|
2033
|
-
* Parse the collection from
|
2345
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
2034
2346
|
*
|
2035
|
-
* @param {string}
|
2036
|
-
* A fully-qualified path representing
|
2347
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2348
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2037
2349
|
* @returns {string} A string representing the collection.
|
2038
2350
|
*/
|
2039
|
-
|
2040
|
-
return this.pathTemplates.
|
2351
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2352
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
2041
2353
|
}
|
2042
2354
|
/**
|
2043
|
-
* Parse the engine from
|
2355
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
2044
2356
|
*
|
2045
|
-
* @param {string}
|
2046
|
-
* A fully-qualified path representing
|
2357
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2358
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2047
2359
|
* @returns {string} A string representing the engine.
|
2048
2360
|
*/
|
2049
|
-
|
2050
|
-
return this.pathTemplates.
|
2361
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2362
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
2051
2363
|
}
|
2052
2364
|
/**
|
2053
|
-
* Parse the session from
|
2365
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
2054
2366
|
*
|
2055
|
-
* @param {string}
|
2056
|
-
* A fully-qualified path representing
|
2367
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2368
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2057
2369
|
* @returns {string} A string representing the session.
|
2058
2370
|
*/
|
2059
|
-
|
2060
|
-
return this.pathTemplates.
|
2061
|
-
}
|
2062
|
-
/**
|
2063
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2064
|
-
*
|
2065
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2066
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2067
|
-
* @returns {string} A string representing the answer.
|
2068
|
-
*/
|
2069
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2070
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2371
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2372
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
2071
2373
|
}
|
2072
2374
|
/**
|
2073
2375
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -2594,63 +2896,6 @@ class ControlServiceClient {
|
|
2594
2896
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2595
2897
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
2596
2898
|
}
|
2597
|
-
/**
|
2598
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
2599
|
-
*
|
2600
|
-
* @param {string} project
|
2601
|
-
* @param {string} location
|
2602
|
-
* @param {string} data_store
|
2603
|
-
* @param {string} session
|
2604
|
-
* @returns {string} Resource name string.
|
2605
|
-
*/
|
2606
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
2607
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
2608
|
-
project: project,
|
2609
|
-
location: location,
|
2610
|
-
data_store: dataStore,
|
2611
|
-
session: session,
|
2612
|
-
});
|
2613
|
-
}
|
2614
|
-
/**
|
2615
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
2616
|
-
*
|
2617
|
-
* @param {string} projectLocationDataStoreSessionName
|
2618
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2619
|
-
* @returns {string} A string representing the project.
|
2620
|
-
*/
|
2621
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2622
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
2623
|
-
}
|
2624
|
-
/**
|
2625
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
2626
|
-
*
|
2627
|
-
* @param {string} projectLocationDataStoreSessionName
|
2628
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2629
|
-
* @returns {string} A string representing the location.
|
2630
|
-
*/
|
2631
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2632
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
2633
|
-
}
|
2634
|
-
/**
|
2635
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
2636
|
-
*
|
2637
|
-
* @param {string} projectLocationDataStoreSessionName
|
2638
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2639
|
-
* @returns {string} A string representing the data_store.
|
2640
|
-
*/
|
2641
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2642
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
2643
|
-
}
|
2644
|
-
/**
|
2645
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
2646
|
-
*
|
2647
|
-
* @param {string} projectLocationDataStoreSessionName
|
2648
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2649
|
-
* @returns {string} A string representing the session.
|
2650
|
-
*/
|
2651
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2652
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
2653
|
-
}
|
2654
2899
|
/**
|
2655
2900
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
2656
2901
|
*
|
@@ -2720,6 +2965,63 @@ class ControlServiceClient {
|
|
2720
2965
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2721
2966
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
2722
2967
|
}
|
2968
|
+
/**
|
2969
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
2970
|
+
*
|
2971
|
+
* @param {string} project
|
2972
|
+
* @param {string} location
|
2973
|
+
* @param {string} data_store
|
2974
|
+
* @param {string} session
|
2975
|
+
* @returns {string} Resource name string.
|
2976
|
+
*/
|
2977
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
2978
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
2979
|
+
project: project,
|
2980
|
+
location: location,
|
2981
|
+
data_store: dataStore,
|
2982
|
+
session: session,
|
2983
|
+
});
|
2984
|
+
}
|
2985
|
+
/**
|
2986
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
2987
|
+
*
|
2988
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2989
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2990
|
+
* @returns {string} A string representing the project.
|
2991
|
+
*/
|
2992
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2993
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
2994
|
+
}
|
2995
|
+
/**
|
2996
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
2997
|
+
*
|
2998
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2999
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3000
|
+
* @returns {string} A string representing the location.
|
3001
|
+
*/
|
3002
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3003
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
3004
|
+
}
|
3005
|
+
/**
|
3006
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
3007
|
+
*
|
3008
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3009
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3010
|
+
* @returns {string} A string representing the data_store.
|
3011
|
+
*/
|
3012
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3013
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
3014
|
+
}
|
3015
|
+
/**
|
3016
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
3017
|
+
*
|
3018
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3019
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3020
|
+
* @returns {string} A string representing the session.
|
3021
|
+
*/
|
3022
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3023
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
3024
|
+
}
|
2723
3025
|
/**
|
2724
3026
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
2725
3027
|
*
|