@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
@@ -162,8 +162,13 @@ class RecommendationServiceClient {
|
|
162
162
|
// identifiers to uniquely identify resources within the API.
|
163
163
|
// Create useful helper objects for these.
|
164
164
|
this.pathTemplates = {
|
165
|
+
assistAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/assistAnswers/{assist_answer}'),
|
166
|
+
assistantPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}'),
|
165
167
|
enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
|
168
|
+
identityMappingStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}'),
|
166
169
|
projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
|
170
|
+
projectLocationCmekConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/cmekConfig'),
|
171
|
+
projectLocationCmekConfigsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/cmekConfigs/{cmek_config}'),
|
167
172
|
projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
|
168
173
|
projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
169
174
|
projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -173,16 +178,16 @@ class RecommendationServiceClient {
|
|
173
178
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
174
179
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
175
180
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
176
|
-
projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
177
181
|
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
182
|
+
projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
178
183
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
179
184
|
projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
180
185
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
181
186
|
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
182
187
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
183
188
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
184
|
-
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
185
189
|
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
190
|
+
projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
186
191
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
187
192
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
188
193
|
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -192,8 +197,8 @@ class RecommendationServiceClient {
|
|
192
197
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
193
198
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
194
199
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
195
|
-
projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
196
200
|
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
201
|
+
projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
197
202
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
198
203
|
projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
199
204
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
@@ -336,6 +341,12 @@ class RecommendationServiceClient {
|
|
336
341
|
?.then(([response, options, rawResponse]) => {
|
337
342
|
this._log.info('recommend response %j', response);
|
338
343
|
return [response, options, rawResponse];
|
344
|
+
}).catch((error) => {
|
345
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
346
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
347
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
348
|
+
}
|
349
|
+
throw error;
|
339
350
|
});
|
340
351
|
}
|
341
352
|
/**
|
@@ -396,6 +407,156 @@ class RecommendationServiceClient {
|
|
396
407
|
// --------------------
|
397
408
|
// -- Path templates --
|
398
409
|
// --------------------
|
410
|
+
/**
|
411
|
+
* Return a fully-qualified assistAnswer resource name string.
|
412
|
+
*
|
413
|
+
* @param {string} project
|
414
|
+
* @param {string} location
|
415
|
+
* @param {string} collection
|
416
|
+
* @param {string} engine
|
417
|
+
* @param {string} session
|
418
|
+
* @param {string} assist_answer
|
419
|
+
* @returns {string} Resource name string.
|
420
|
+
*/
|
421
|
+
assistAnswerPath(project, location, collection, engine, session, assistAnswer) {
|
422
|
+
return this.pathTemplates.assistAnswerPathTemplate.render({
|
423
|
+
project: project,
|
424
|
+
location: location,
|
425
|
+
collection: collection,
|
426
|
+
engine: engine,
|
427
|
+
session: session,
|
428
|
+
assist_answer: assistAnswer,
|
429
|
+
});
|
430
|
+
}
|
431
|
+
/**
|
432
|
+
* Parse the project from AssistAnswer resource.
|
433
|
+
*
|
434
|
+
* @param {string} assistAnswerName
|
435
|
+
* A fully-qualified path representing AssistAnswer resource.
|
436
|
+
* @returns {string} A string representing the project.
|
437
|
+
*/
|
438
|
+
matchProjectFromAssistAnswerName(assistAnswerName) {
|
439
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).project;
|
440
|
+
}
|
441
|
+
/**
|
442
|
+
* Parse the location from AssistAnswer resource.
|
443
|
+
*
|
444
|
+
* @param {string} assistAnswerName
|
445
|
+
* A fully-qualified path representing AssistAnswer resource.
|
446
|
+
* @returns {string} A string representing the location.
|
447
|
+
*/
|
448
|
+
matchLocationFromAssistAnswerName(assistAnswerName) {
|
449
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).location;
|
450
|
+
}
|
451
|
+
/**
|
452
|
+
* Parse the collection from AssistAnswer resource.
|
453
|
+
*
|
454
|
+
* @param {string} assistAnswerName
|
455
|
+
* A fully-qualified path representing AssistAnswer resource.
|
456
|
+
* @returns {string} A string representing the collection.
|
457
|
+
*/
|
458
|
+
matchCollectionFromAssistAnswerName(assistAnswerName) {
|
459
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).collection;
|
460
|
+
}
|
461
|
+
/**
|
462
|
+
* Parse the engine from AssistAnswer resource.
|
463
|
+
*
|
464
|
+
* @param {string} assistAnswerName
|
465
|
+
* A fully-qualified path representing AssistAnswer resource.
|
466
|
+
* @returns {string} A string representing the engine.
|
467
|
+
*/
|
468
|
+
matchEngineFromAssistAnswerName(assistAnswerName) {
|
469
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).engine;
|
470
|
+
}
|
471
|
+
/**
|
472
|
+
* Parse the session from AssistAnswer resource.
|
473
|
+
*
|
474
|
+
* @param {string} assistAnswerName
|
475
|
+
* A fully-qualified path representing AssistAnswer resource.
|
476
|
+
* @returns {string} A string representing the session.
|
477
|
+
*/
|
478
|
+
matchSessionFromAssistAnswerName(assistAnswerName) {
|
479
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).session;
|
480
|
+
}
|
481
|
+
/**
|
482
|
+
* Parse the assist_answer from AssistAnswer resource.
|
483
|
+
*
|
484
|
+
* @param {string} assistAnswerName
|
485
|
+
* A fully-qualified path representing AssistAnswer resource.
|
486
|
+
* @returns {string} A string representing the assist_answer.
|
487
|
+
*/
|
488
|
+
matchAssistAnswerFromAssistAnswerName(assistAnswerName) {
|
489
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).assist_answer;
|
490
|
+
}
|
491
|
+
/**
|
492
|
+
* Return a fully-qualified assistant resource name string.
|
493
|
+
*
|
494
|
+
* @param {string} project
|
495
|
+
* @param {string} location
|
496
|
+
* @param {string} collection
|
497
|
+
* @param {string} engine
|
498
|
+
* @param {string} assistant
|
499
|
+
* @returns {string} Resource name string.
|
500
|
+
*/
|
501
|
+
assistantPath(project, location, collection, engine, assistant) {
|
502
|
+
return this.pathTemplates.assistantPathTemplate.render({
|
503
|
+
project: project,
|
504
|
+
location: location,
|
505
|
+
collection: collection,
|
506
|
+
engine: engine,
|
507
|
+
assistant: assistant,
|
508
|
+
});
|
509
|
+
}
|
510
|
+
/**
|
511
|
+
* Parse the project from Assistant resource.
|
512
|
+
*
|
513
|
+
* @param {string} assistantName
|
514
|
+
* A fully-qualified path representing Assistant resource.
|
515
|
+
* @returns {string} A string representing the project.
|
516
|
+
*/
|
517
|
+
matchProjectFromAssistantName(assistantName) {
|
518
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).project;
|
519
|
+
}
|
520
|
+
/**
|
521
|
+
* Parse the location from Assistant resource.
|
522
|
+
*
|
523
|
+
* @param {string} assistantName
|
524
|
+
* A fully-qualified path representing Assistant resource.
|
525
|
+
* @returns {string} A string representing the location.
|
526
|
+
*/
|
527
|
+
matchLocationFromAssistantName(assistantName) {
|
528
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).location;
|
529
|
+
}
|
530
|
+
/**
|
531
|
+
* Parse the collection from Assistant resource.
|
532
|
+
*
|
533
|
+
* @param {string} assistantName
|
534
|
+
* A fully-qualified path representing Assistant resource.
|
535
|
+
* @returns {string} A string representing the collection.
|
536
|
+
*/
|
537
|
+
matchCollectionFromAssistantName(assistantName) {
|
538
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).collection;
|
539
|
+
}
|
540
|
+
/**
|
541
|
+
* Parse the engine from Assistant resource.
|
542
|
+
*
|
543
|
+
* @param {string} assistantName
|
544
|
+
* A fully-qualified path representing Assistant resource.
|
545
|
+
* @returns {string} A string representing the engine.
|
546
|
+
*/
|
547
|
+
matchEngineFromAssistantName(assistantName) {
|
548
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).engine;
|
549
|
+
}
|
550
|
+
/**
|
551
|
+
* Parse the assistant from Assistant resource.
|
552
|
+
*
|
553
|
+
* @param {string} assistantName
|
554
|
+
* A fully-qualified path representing Assistant resource.
|
555
|
+
* @returns {string} A string representing the assistant.
|
556
|
+
*/
|
557
|
+
matchAssistantFromAssistantName(assistantName) {
|
558
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).assistant;
|
559
|
+
}
|
399
560
|
/**
|
400
561
|
* Return a fully-qualified engine resource name string.
|
401
562
|
*
|
@@ -453,6 +614,51 @@ class RecommendationServiceClient {
|
|
453
614
|
matchEngineFromEngineName(engineName) {
|
454
615
|
return this.pathTemplates.enginePathTemplate.match(engineName).engine;
|
455
616
|
}
|
617
|
+
/**
|
618
|
+
* Return a fully-qualified identityMappingStore resource name string.
|
619
|
+
*
|
620
|
+
* @param {string} project
|
621
|
+
* @param {string} location
|
622
|
+
* @param {string} identity_mapping_store
|
623
|
+
* @returns {string} Resource name string.
|
624
|
+
*/
|
625
|
+
identityMappingStorePath(project, location, identityMappingStore) {
|
626
|
+
return this.pathTemplates.identityMappingStorePathTemplate.render({
|
627
|
+
project: project,
|
628
|
+
location: location,
|
629
|
+
identity_mapping_store: identityMappingStore,
|
630
|
+
});
|
631
|
+
}
|
632
|
+
/**
|
633
|
+
* Parse the project from IdentityMappingStore resource.
|
634
|
+
*
|
635
|
+
* @param {string} identityMappingStoreName
|
636
|
+
* A fully-qualified path representing IdentityMappingStore resource.
|
637
|
+
* @returns {string} A string representing the project.
|
638
|
+
*/
|
639
|
+
matchProjectFromIdentityMappingStoreName(identityMappingStoreName) {
|
640
|
+
return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).project;
|
641
|
+
}
|
642
|
+
/**
|
643
|
+
* Parse the location from IdentityMappingStore resource.
|
644
|
+
*
|
645
|
+
* @param {string} identityMappingStoreName
|
646
|
+
* A fully-qualified path representing IdentityMappingStore resource.
|
647
|
+
* @returns {string} A string representing the location.
|
648
|
+
*/
|
649
|
+
matchLocationFromIdentityMappingStoreName(identityMappingStoreName) {
|
650
|
+
return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).location;
|
651
|
+
}
|
652
|
+
/**
|
653
|
+
* Parse the identity_mapping_store from IdentityMappingStore resource.
|
654
|
+
*
|
655
|
+
* @param {string} identityMappingStoreName
|
656
|
+
* A fully-qualified path representing IdentityMappingStore resource.
|
657
|
+
* @returns {string} A string representing the identity_mapping_store.
|
658
|
+
*/
|
659
|
+
matchIdentityMappingStoreFromIdentityMappingStoreName(identityMappingStoreName) {
|
660
|
+
return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).identity_mapping_store;
|
661
|
+
}
|
456
662
|
/**
|
457
663
|
* Return a fully-qualified project resource name string.
|
458
664
|
*
|
@@ -474,6 +680,84 @@ class RecommendationServiceClient {
|
|
474
680
|
matchProjectFromProjectName(projectName) {
|
475
681
|
return this.pathTemplates.projectPathTemplate.match(projectName).project;
|
476
682
|
}
|
683
|
+
/**
|
684
|
+
* Return a fully-qualified projectLocationCmekConfig resource name string.
|
685
|
+
*
|
686
|
+
* @param {string} project
|
687
|
+
* @param {string} location
|
688
|
+
* @returns {string} Resource name string.
|
689
|
+
*/
|
690
|
+
projectLocationCmekConfigPath(project, location) {
|
691
|
+
return this.pathTemplates.projectLocationCmekConfigPathTemplate.render({
|
692
|
+
project: project,
|
693
|
+
location: location,
|
694
|
+
});
|
695
|
+
}
|
696
|
+
/**
|
697
|
+
* Parse the project from ProjectLocationCmekConfig resource.
|
698
|
+
*
|
699
|
+
* @param {string} projectLocationCmekConfigName
|
700
|
+
* A fully-qualified path representing project_location_cmekConfig resource.
|
701
|
+
* @returns {string} A string representing the project.
|
702
|
+
*/
|
703
|
+
matchProjectFromProjectLocationCmekConfigName(projectLocationCmekConfigName) {
|
704
|
+
return this.pathTemplates.projectLocationCmekConfigPathTemplate.match(projectLocationCmekConfigName).project;
|
705
|
+
}
|
706
|
+
/**
|
707
|
+
* Parse the location from ProjectLocationCmekConfig resource.
|
708
|
+
*
|
709
|
+
* @param {string} projectLocationCmekConfigName
|
710
|
+
* A fully-qualified path representing project_location_cmekConfig resource.
|
711
|
+
* @returns {string} A string representing the location.
|
712
|
+
*/
|
713
|
+
matchLocationFromProjectLocationCmekConfigName(projectLocationCmekConfigName) {
|
714
|
+
return this.pathTemplates.projectLocationCmekConfigPathTemplate.match(projectLocationCmekConfigName).location;
|
715
|
+
}
|
716
|
+
/**
|
717
|
+
* Return a fully-qualified projectLocationCmekConfigs resource name string.
|
718
|
+
*
|
719
|
+
* @param {string} project
|
720
|
+
* @param {string} location
|
721
|
+
* @param {string} cmek_config
|
722
|
+
* @returns {string} Resource name string.
|
723
|
+
*/
|
724
|
+
projectLocationCmekConfigsPath(project, location, cmekConfig) {
|
725
|
+
return this.pathTemplates.projectLocationCmekConfigsPathTemplate.render({
|
726
|
+
project: project,
|
727
|
+
location: location,
|
728
|
+
cmek_config: cmekConfig,
|
729
|
+
});
|
730
|
+
}
|
731
|
+
/**
|
732
|
+
* Parse the project from ProjectLocationCmekConfigs resource.
|
733
|
+
*
|
734
|
+
* @param {string} projectLocationCmekConfigsName
|
735
|
+
* A fully-qualified path representing project_location_cmekConfigs resource.
|
736
|
+
* @returns {string} A string representing the project.
|
737
|
+
*/
|
738
|
+
matchProjectFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
|
739
|
+
return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).project;
|
740
|
+
}
|
741
|
+
/**
|
742
|
+
* Parse the location from ProjectLocationCmekConfigs resource.
|
743
|
+
*
|
744
|
+
* @param {string} projectLocationCmekConfigsName
|
745
|
+
* A fully-qualified path representing project_location_cmekConfigs resource.
|
746
|
+
* @returns {string} A string representing the location.
|
747
|
+
*/
|
748
|
+
matchLocationFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
|
749
|
+
return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).location;
|
750
|
+
}
|
751
|
+
/**
|
752
|
+
* Parse the cmek_config from ProjectLocationCmekConfigs resource.
|
753
|
+
*
|
754
|
+
* @param {string} projectLocationCmekConfigsName
|
755
|
+
* A fully-qualified path representing project_location_cmekConfigs resource.
|
756
|
+
* @returns {string} A string representing the cmek_config.
|
757
|
+
*/
|
758
|
+
matchCmekConfigFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
|
759
|
+
return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).cmek_config;
|
760
|
+
}
|
477
761
|
/**
|
478
762
|
* Return a fully-qualified projectLocationCollectionDataStore resource name string.
|
479
763
|
*
|
@@ -1108,154 +1392,154 @@ class RecommendationServiceClient {
|
|
1108
1392
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1109
1393
|
}
|
1110
1394
|
/**
|
1111
|
-
* Return a fully-qualified
|
1395
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1112
1396
|
*
|
1113
1397
|
* @param {string} project
|
1114
1398
|
* @param {string} location
|
1115
1399
|
* @param {string} collection
|
1116
1400
|
* @param {string} data_store
|
1117
1401
|
* @param {string} session
|
1402
|
+
* @param {string} answer
|
1118
1403
|
* @returns {string} Resource name string.
|
1119
1404
|
*/
|
1120
|
-
|
1121
|
-
return this.pathTemplates.
|
1405
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1406
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1122
1407
|
project: project,
|
1123
1408
|
location: location,
|
1124
1409
|
collection: collection,
|
1125
1410
|
data_store: dataStore,
|
1126
1411
|
session: session,
|
1412
|
+
answer: answer,
|
1127
1413
|
});
|
1128
1414
|
}
|
1129
1415
|
/**
|
1130
|
-
* Parse the project from
|
1416
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1131
1417
|
*
|
1132
|
-
* @param {string}
|
1133
|
-
* A fully-qualified path representing
|
1418
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1419
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1134
1420
|
* @returns {string} A string representing the project.
|
1135
1421
|
*/
|
1136
|
-
|
1137
|
-
return this.pathTemplates.
|
1422
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1423
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1138
1424
|
}
|
1139
1425
|
/**
|
1140
|
-
* Parse the location from
|
1426
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1141
1427
|
*
|
1142
|
-
* @param {string}
|
1143
|
-
* A fully-qualified path representing
|
1428
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1429
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1144
1430
|
* @returns {string} A string representing the location.
|
1145
1431
|
*/
|
1146
|
-
|
1147
|
-
return this.pathTemplates.
|
1432
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1433
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1148
1434
|
}
|
1149
1435
|
/**
|
1150
|
-
* Parse the collection from
|
1436
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1151
1437
|
*
|
1152
|
-
* @param {string}
|
1153
|
-
* A fully-qualified path representing
|
1438
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1439
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1154
1440
|
* @returns {string} A string representing the collection.
|
1155
1441
|
*/
|
1156
|
-
|
1157
|
-
return this.pathTemplates.
|
1442
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1443
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1158
1444
|
}
|
1159
1445
|
/**
|
1160
|
-
* Parse the data_store from
|
1446
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1161
1447
|
*
|
1162
|
-
* @param {string}
|
1163
|
-
* A fully-qualified path representing
|
1448
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1449
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1164
1450
|
* @returns {string} A string representing the data_store.
|
1165
1451
|
*/
|
1166
|
-
|
1167
|
-
return this.pathTemplates.
|
1452
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1453
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1168
1454
|
}
|
1169
1455
|
/**
|
1170
|
-
* Parse the session from
|
1456
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1171
1457
|
*
|
1172
|
-
* @param {string}
|
1173
|
-
* A fully-qualified path representing
|
1458
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1459
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1174
1460
|
* @returns {string} A string representing the session.
|
1175
1461
|
*/
|
1176
|
-
|
1177
|
-
return this.pathTemplates.
|
1462
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1463
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1178
1464
|
}
|
1179
1465
|
/**
|
1180
|
-
*
|
1466
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1467
|
+
*
|
1468
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1469
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1470
|
+
* @returns {string} A string representing the answer.
|
1471
|
+
*/
|
1472
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1473
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1474
|
+
}
|
1475
|
+
/**
|
1476
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
1181
1477
|
*
|
1182
1478
|
* @param {string} project
|
1183
1479
|
* @param {string} location
|
1184
1480
|
* @param {string} collection
|
1185
1481
|
* @param {string} data_store
|
1186
1482
|
* @param {string} session
|
1187
|
-
* @param {string} answer
|
1188
1483
|
* @returns {string} Resource name string.
|
1189
1484
|
*/
|
1190
|
-
|
1191
|
-
return this.pathTemplates.
|
1485
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
1486
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
1192
1487
|
project: project,
|
1193
1488
|
location: location,
|
1194
1489
|
collection: collection,
|
1195
1490
|
data_store: dataStore,
|
1196
1491
|
session: session,
|
1197
|
-
answer: answer,
|
1198
1492
|
});
|
1199
1493
|
}
|
1200
1494
|
/**
|
1201
|
-
* Parse the project from
|
1495
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
1202
1496
|
*
|
1203
|
-
* @param {string}
|
1204
|
-
* A fully-qualified path representing
|
1497
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1498
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1205
1499
|
* @returns {string} A string representing the project.
|
1206
1500
|
*/
|
1207
|
-
|
1208
|
-
return this.pathTemplates.
|
1501
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1502
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
1209
1503
|
}
|
1210
1504
|
/**
|
1211
|
-
* Parse the location from
|
1505
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
1212
1506
|
*
|
1213
|
-
* @param {string}
|
1214
|
-
* A fully-qualified path representing
|
1507
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1508
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1215
1509
|
* @returns {string} A string representing the location.
|
1216
1510
|
*/
|
1217
|
-
|
1218
|
-
return this.pathTemplates.
|
1511
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1512
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
1219
1513
|
}
|
1220
1514
|
/**
|
1221
|
-
* Parse the collection from
|
1515
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
1222
1516
|
*
|
1223
|
-
* @param {string}
|
1224
|
-
* A fully-qualified path representing
|
1517
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1518
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1225
1519
|
* @returns {string} A string representing the collection.
|
1226
1520
|
*/
|
1227
|
-
|
1228
|
-
return this.pathTemplates.
|
1521
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1522
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
1229
1523
|
}
|
1230
1524
|
/**
|
1231
|
-
* Parse the data_store from
|
1525
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
1232
1526
|
*
|
1233
|
-
* @param {string}
|
1234
|
-
* A fully-qualified path representing
|
1527
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1528
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1235
1529
|
* @returns {string} A string representing the data_store.
|
1236
1530
|
*/
|
1237
|
-
|
1238
|
-
return this.pathTemplates.
|
1531
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1532
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
1239
1533
|
}
|
1240
1534
|
/**
|
1241
|
-
* Parse the session from
|
1535
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
1242
1536
|
*
|
1243
|
-
* @param {string}
|
1244
|
-
* A fully-qualified path representing
|
1537
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1538
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1245
1539
|
* @returns {string} A string representing the session.
|
1246
1540
|
*/
|
1247
|
-
|
1248
|
-
return this.pathTemplates.
|
1249
|
-
}
|
1250
|
-
/**
|
1251
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1252
|
-
*
|
1253
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1254
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1255
|
-
* @returns {string} A string representing the answer.
|
1256
|
-
*/
|
1257
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1258
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1541
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1542
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
1259
1543
|
}
|
1260
1544
|
/**
|
1261
1545
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -1660,154 +1944,154 @@ class RecommendationServiceClient {
|
|
1660
1944
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
1661
1945
|
}
|
1662
1946
|
/**
|
1663
|
-
* Return a fully-qualified
|
1947
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
1664
1948
|
*
|
1665
1949
|
* @param {string} project
|
1666
1950
|
* @param {string} location
|
1667
1951
|
* @param {string} collection
|
1668
1952
|
* @param {string} engine
|
1669
1953
|
* @param {string} session
|
1954
|
+
* @param {string} answer
|
1670
1955
|
* @returns {string} Resource name string.
|
1671
1956
|
*/
|
1672
|
-
|
1673
|
-
return this.pathTemplates.
|
1957
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
1958
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
1674
1959
|
project: project,
|
1675
1960
|
location: location,
|
1676
1961
|
collection: collection,
|
1677
1962
|
engine: engine,
|
1678
1963
|
session: session,
|
1964
|
+
answer: answer,
|
1679
1965
|
});
|
1680
1966
|
}
|
1681
1967
|
/**
|
1682
|
-
* Parse the project from
|
1968
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
1683
1969
|
*
|
1684
|
-
* @param {string}
|
1685
|
-
* A fully-qualified path representing
|
1970
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1971
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1686
1972
|
* @returns {string} A string representing the project.
|
1687
1973
|
*/
|
1688
|
-
|
1689
|
-
return this.pathTemplates.
|
1974
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1975
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
1690
1976
|
}
|
1691
1977
|
/**
|
1692
|
-
* Parse the location from
|
1978
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
1693
1979
|
*
|
1694
|
-
* @param {string}
|
1695
|
-
* A fully-qualified path representing
|
1980
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1981
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1696
1982
|
* @returns {string} A string representing the location.
|
1697
1983
|
*/
|
1698
|
-
|
1699
|
-
return this.pathTemplates.
|
1984
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1985
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
1700
1986
|
}
|
1701
1987
|
/**
|
1702
|
-
* Parse the collection from
|
1988
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
1703
1989
|
*
|
1704
|
-
* @param {string}
|
1705
|
-
* A fully-qualified path representing
|
1990
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1991
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1706
1992
|
* @returns {string} A string representing the collection.
|
1707
1993
|
*/
|
1708
|
-
|
1709
|
-
return this.pathTemplates.
|
1994
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1995
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
1710
1996
|
}
|
1711
1997
|
/**
|
1712
|
-
* Parse the engine from
|
1998
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
1713
1999
|
*
|
1714
|
-
* @param {string}
|
1715
|
-
* A fully-qualified path representing
|
2000
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2001
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1716
2002
|
* @returns {string} A string representing the engine.
|
1717
2003
|
*/
|
1718
|
-
|
1719
|
-
return this.pathTemplates.
|
2004
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2005
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
1720
2006
|
}
|
1721
2007
|
/**
|
1722
|
-
* Parse the session from
|
2008
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
1723
2009
|
*
|
1724
|
-
* @param {string}
|
1725
|
-
* A fully-qualified path representing
|
2010
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2011
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1726
2012
|
* @returns {string} A string representing the session.
|
1727
2013
|
*/
|
1728
|
-
|
1729
|
-
return this.pathTemplates.
|
2014
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2015
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
1730
2016
|
}
|
1731
2017
|
/**
|
1732
|
-
*
|
2018
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2019
|
+
*
|
2020
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2021
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2022
|
+
* @returns {string} A string representing the answer.
|
2023
|
+
*/
|
2024
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2025
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2026
|
+
}
|
2027
|
+
/**
|
2028
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
1733
2029
|
*
|
1734
2030
|
* @param {string} project
|
1735
2031
|
* @param {string} location
|
1736
2032
|
* @param {string} collection
|
1737
2033
|
* @param {string} engine
|
1738
2034
|
* @param {string} session
|
1739
|
-
* @param {string} answer
|
1740
2035
|
* @returns {string} Resource name string.
|
1741
2036
|
*/
|
1742
|
-
|
1743
|
-
return this.pathTemplates.
|
2037
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
2038
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
1744
2039
|
project: project,
|
1745
2040
|
location: location,
|
1746
2041
|
collection: collection,
|
1747
2042
|
engine: engine,
|
1748
2043
|
session: session,
|
1749
|
-
answer: answer,
|
1750
2044
|
});
|
1751
2045
|
}
|
1752
2046
|
/**
|
1753
|
-
* Parse the project from
|
2047
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
1754
2048
|
*
|
1755
|
-
* @param {string}
|
1756
|
-
* A fully-qualified path representing
|
2049
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2050
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1757
2051
|
* @returns {string} A string representing the project.
|
1758
2052
|
*/
|
1759
|
-
|
1760
|
-
return this.pathTemplates.
|
2053
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2054
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
1761
2055
|
}
|
1762
2056
|
/**
|
1763
|
-
* Parse the location from
|
2057
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
1764
2058
|
*
|
1765
|
-
* @param {string}
|
1766
|
-
* A fully-qualified path representing
|
2059
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2060
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1767
2061
|
* @returns {string} A string representing the location.
|
1768
2062
|
*/
|
1769
|
-
|
1770
|
-
return this.pathTemplates.
|
2063
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2064
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
1771
2065
|
}
|
1772
2066
|
/**
|
1773
|
-
* Parse the collection from
|
2067
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
1774
2068
|
*
|
1775
|
-
* @param {string}
|
1776
|
-
* A fully-qualified path representing
|
2069
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2070
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1777
2071
|
* @returns {string} A string representing the collection.
|
1778
2072
|
*/
|
1779
|
-
|
1780
|
-
return this.pathTemplates.
|
2073
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2074
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
1781
2075
|
}
|
1782
2076
|
/**
|
1783
|
-
* Parse the engine from
|
2077
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
1784
2078
|
*
|
1785
|
-
* @param {string}
|
1786
|
-
* A fully-qualified path representing
|
2079
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2080
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1787
2081
|
* @returns {string} A string representing the engine.
|
1788
2082
|
*/
|
1789
|
-
|
1790
|
-
return this.pathTemplates.
|
2083
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2084
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
1791
2085
|
}
|
1792
2086
|
/**
|
1793
|
-
* Parse the session from
|
2087
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
1794
2088
|
*
|
1795
|
-
* @param {string}
|
1796
|
-
* A fully-qualified path representing
|
2089
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2090
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1797
2091
|
* @returns {string} A string representing the session.
|
1798
2092
|
*/
|
1799
|
-
|
1800
|
-
return this.pathTemplates.
|
1801
|
-
}
|
1802
|
-
/**
|
1803
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
1804
|
-
*
|
1805
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1806
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1807
|
-
* @returns {string} A string representing the answer.
|
1808
|
-
*/
|
1809
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1810
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2093
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2094
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
1811
2095
|
}
|
1812
2096
|
/**
|
1813
2097
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -2334,63 +2618,6 @@ class RecommendationServiceClient {
|
|
2334
2618
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2335
2619
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
2336
2620
|
}
|
2337
|
-
/**
|
2338
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
2339
|
-
*
|
2340
|
-
* @param {string} project
|
2341
|
-
* @param {string} location
|
2342
|
-
* @param {string} data_store
|
2343
|
-
* @param {string} session
|
2344
|
-
* @returns {string} Resource name string.
|
2345
|
-
*/
|
2346
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
2347
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
2348
|
-
project: project,
|
2349
|
-
location: location,
|
2350
|
-
data_store: dataStore,
|
2351
|
-
session: session,
|
2352
|
-
});
|
2353
|
-
}
|
2354
|
-
/**
|
2355
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
2356
|
-
*
|
2357
|
-
* @param {string} projectLocationDataStoreSessionName
|
2358
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2359
|
-
* @returns {string} A string representing the project.
|
2360
|
-
*/
|
2361
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2362
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
2363
|
-
}
|
2364
|
-
/**
|
2365
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
2366
|
-
*
|
2367
|
-
* @param {string} projectLocationDataStoreSessionName
|
2368
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2369
|
-
* @returns {string} A string representing the location.
|
2370
|
-
*/
|
2371
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2372
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
2373
|
-
}
|
2374
|
-
/**
|
2375
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
2376
|
-
*
|
2377
|
-
* @param {string} projectLocationDataStoreSessionName
|
2378
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2379
|
-
* @returns {string} A string representing the data_store.
|
2380
|
-
*/
|
2381
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2382
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
2383
|
-
}
|
2384
|
-
/**
|
2385
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
2386
|
-
*
|
2387
|
-
* @param {string} projectLocationDataStoreSessionName
|
2388
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2389
|
-
* @returns {string} A string representing the session.
|
2390
|
-
*/
|
2391
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2392
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
2393
|
-
}
|
2394
2621
|
/**
|
2395
2622
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
2396
2623
|
*
|
@@ -2460,6 +2687,63 @@ class RecommendationServiceClient {
|
|
2460
2687
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2461
2688
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
2462
2689
|
}
|
2690
|
+
/**
|
2691
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
2692
|
+
*
|
2693
|
+
* @param {string} project
|
2694
|
+
* @param {string} location
|
2695
|
+
* @param {string} data_store
|
2696
|
+
* @param {string} session
|
2697
|
+
* @returns {string} Resource name string.
|
2698
|
+
*/
|
2699
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
2700
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
2701
|
+
project: project,
|
2702
|
+
location: location,
|
2703
|
+
data_store: dataStore,
|
2704
|
+
session: session,
|
2705
|
+
});
|
2706
|
+
}
|
2707
|
+
/**
|
2708
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
2709
|
+
*
|
2710
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2711
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2712
|
+
* @returns {string} A string representing the project.
|
2713
|
+
*/
|
2714
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2715
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
2716
|
+
}
|
2717
|
+
/**
|
2718
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
2719
|
+
*
|
2720
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2721
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2722
|
+
* @returns {string} A string representing the location.
|
2723
|
+
*/
|
2724
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2725
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
2726
|
+
}
|
2727
|
+
/**
|
2728
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
2729
|
+
*
|
2730
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2731
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2732
|
+
* @returns {string} A string representing the data_store.
|
2733
|
+
*/
|
2734
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2735
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
2736
|
+
}
|
2737
|
+
/**
|
2738
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
2739
|
+
*
|
2740
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2741
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2742
|
+
* @returns {string} A string representing the session.
|
2743
|
+
*/
|
2744
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2745
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
2746
|
+
}
|
2463
2747
|
/**
|
2464
2748
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
2465
2749
|
*
|