@google-cloud/discoveryengine 2.2.0 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +30 -0
- package/build/protos/google/cloud/discoveryengine/v1/answer.proto +17 -0
- package/build/protos/google/cloud/discoveryengine/v1/assist_answer.proto +251 -0
- package/build/protos/google/cloud/discoveryengine/v1/assistant.proto +44 -0
- package/build/protos/google/cloud/discoveryengine/v1/assistant_service.proto +217 -0
- package/build/protos/google/cloud/discoveryengine/v1/chunk.proto +52 -0
- package/build/protos/google/cloud/discoveryengine/v1/cmek_config_service.proto +300 -0
- package/build/protos/google/cloud/discoveryengine/v1/common.proto +67 -0
- package/build/protos/google/cloud/discoveryengine/v1/control.proto +1 -3
- package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +18 -3
- package/build/protos/google/cloud/discoveryengine/v1/data_store.proto +54 -2
- package/build/protos/google/cloud/discoveryengine/v1/data_store_service.proto +14 -0
- package/build/protos/google/cloud/discoveryengine/v1/document.proto +95 -4
- package/build/protos/google/cloud/discoveryengine/v1/document_processing_config.proto +28 -1
- package/build/protos/google/cloud/discoveryengine/v1/engine.proto +131 -6
- package/build/protos/google/cloud/discoveryengine/v1/grounded_generation_service.proto +8 -0
- package/build/protos/google/cloud/discoveryengine/v1/grounding.proto +9 -0
- package/build/protos/google/cloud/discoveryengine/v1/identity_mapping_store.proto +84 -0
- package/build/protos/google/cloud/discoveryengine/v1/identity_mapping_store_service.proto +375 -0
- package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +14 -14
- package/build/protos/google/cloud/discoveryengine/v1/session.proto +21 -8
- package/build/protos/google/cloud/discoveryengine/v1/session_service.proto +128 -0
- package/build/protos/google/cloud/discoveryengine/v1/site_search_engine.proto +6 -0
- package/build/protos/google/cloud/discoveryengine/v1/user_license.proto +98 -0
- package/build/protos/google/cloud/discoveryengine/v1/user_license_service.proto +191 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +15 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +30 -9
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +8 -14
- package/build/protos/google/cloud/discoveryengine/v1alpha/session.proto +238 -8
- package/build/protos/google/cloud/discoveryengine/v1alpha/session_service.proto +201 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +26 -5
- package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +8 -14
- package/build/protos/google/cloud/discoveryengine/v1beta/session.proto +40 -8
- package/build/protos/google/cloud/discoveryengine/v1beta/session_service.proto +128 -0
- package/build/protos/protos.d.ts +21218 -11675
- package/build/protos/protos.js +92642 -66407
- package/build/protos/protos.json +5854 -2801
- package/build/src/index.d.ts +16 -1
- package/build/src/index.js +12 -2
- package/build/src/v1/assistant_service_client.d.ts +2058 -0
- package/build/src/v1/assistant_service_client.js +2957 -0
- package/build/src/v1/assistant_service_client_config.json +43 -0
- package/build/src/v1/assistant_service_proto_list.json +48 -0
- package/build/src/v1/cmek_config_service_client.d.ts +2398 -0
- package/build/src/v1/cmek_config_service_client.js +3426 -0
- package/build/src/v1/cmek_config_service_client_config.json +42 -0
- package/build/src/v1/cmek_config_service_proto_list.json +48 -0
- package/build/src/v1/completion_service_client.d.ts +345 -144
- package/build/src/v1/completion_service_client.js +482 -198
- package/build/src/v1/completion_service_proto_list.json +10 -1
- package/build/src/v1/control_service_client.d.ts +345 -144
- package/build/src/v1/control_service_client.js +498 -196
- package/build/src/v1/control_service_proto_list.json +10 -1
- package/build/src/v1/conversational_search_service_client.d.ts +392 -155
- package/build/src/v1/conversational_search_service_client.js +572 -204
- package/build/src/v1/conversational_search_service_proto_list.json +10 -1
- package/build/src/v1/data_store_service_client.d.ts +351 -144
- package/build/src/v1/data_store_service_client.js +488 -198
- package/build/src/v1/data_store_service_proto_list.json +10 -1
- package/build/src/v1/document_service_client.d.ts +345 -144
- package/build/src/v1/document_service_client.js +506 -198
- package/build/src/v1/document_service_proto_list.json +10 -1
- package/build/src/v1/engine_service_client.d.ts +345 -144
- package/build/src/v1/engine_service_client.js +488 -198
- package/build/src/v1/engine_service_proto_list.json +10 -1
- package/build/src/v1/gapic_metadata.json +270 -0
- package/build/src/v1/grounded_generation_service_client.d.ts +345 -144
- package/build/src/v1/grounded_generation_service_client.js +486 -196
- package/build/src/v1/grounded_generation_service_proto_list.json +10 -1
- package/build/src/v1/identity_mapping_store_service_client.d.ts +2581 -0
- package/build/src/v1/identity_mapping_store_service_client.js +3601 -0
- package/build/src/v1/identity_mapping_store_service_client_config.json +54 -0
- package/build/src/v1/identity_mapping_store_service_proto_list.json +48 -0
- package/build/src/v1/index.d.ts +5 -0
- package/build/src/v1/index.js +11 -1
- package/build/src/v1/project_service_client.d.ts +345 -144
- package/build/src/v1/project_service_client.js +476 -198
- package/build/src/v1/project_service_proto_list.json +10 -1
- package/build/src/v1/rank_service_client.d.ts +345 -144
- package/build/src/v1/rank_service_client.js +480 -196
- package/build/src/v1/rank_service_proto_list.json +10 -1
- package/build/src/v1/recommendation_service_client.d.ts +345 -144
- package/build/src/v1/recommendation_service_client.js +480 -196
- package/build/src/v1/recommendation_service_proto_list.json +10 -1
- package/build/src/v1/schema_service_client.d.ts +345 -144
- package/build/src/v1/schema_service_client.js +482 -198
- package/build/src/v1/schema_service_proto_list.json +10 -1
- package/build/src/v1/search_service_client.d.ts +393 -228
- package/build/src/v1/search_service_client.js +506 -252
- package/build/src/v1/search_service_proto_list.json +10 -1
- package/build/src/v1/search_tuning_service_client.d.ts +345 -144
- package/build/src/v1/search_tuning_service_client.js +482 -198
- package/build/src/v1/search_tuning_service_proto_list.json +10 -1
- package/build/src/v1/serving_config_service_client.d.ts +345 -144
- package/build/src/v1/serving_config_service_client.js +480 -196
- package/build/src/v1/serving_config_service_proto_list.json +10 -1
- package/build/src/v1/session_service_client.d.ts +2326 -0
- package/build/src/v1/session_service_client.js +3218 -0
- package/build/src/v1/session_service_client_config.json +63 -0
- package/build/src/v1/session_service_proto_list.json +48 -0
- package/build/src/v1/site_search_engine_service_client.d.ts +345 -144
- package/build/src/v1/site_search_engine_service_client.js +494 -198
- package/build/src/v1/site_search_engine_service_proto_list.json +10 -1
- package/build/src/v1/user_event_service_client.d.ts +345 -144
- package/build/src/v1/user_event_service_client.js +488 -198
- package/build/src/v1/user_event_service_proto_list.json +10 -1
- package/build/src/v1/user_license_service_client.d.ts +2367 -0
- package/build/src/v1/user_license_service_client.js +3346 -0
- package/build/src/v1/user_license_service_client_config.json +34 -0
- package/build/src/v1/user_license_service_proto_list.json +48 -0
- package/build/src/v1alpha/acl_config_service_client.d.ts +144 -144
- package/build/src/v1alpha/acl_config_service_client.js +208 -196
- package/build/src/v1alpha/acl_config_service_proto_list.json +1 -0
- package/build/src/v1alpha/chunk_service_client.d.ts +144 -144
- package/build/src/v1alpha/chunk_service_client.js +202 -196
- package/build/src/v1alpha/chunk_service_proto_list.json +1 -0
- package/build/src/v1alpha/completion_service_client.d.ts +144 -144
- package/build/src/v1alpha/completion_service_client.js +203 -197
- package/build/src/v1alpha/completion_service_proto_list.json +1 -0
- package/build/src/v1alpha/control_service_client.d.ts +144 -144
- package/build/src/v1alpha/control_service_client.js +220 -196
- package/build/src/v1alpha/control_service_proto_list.json +1 -0
- package/build/src/v1alpha/conversational_search_service_client.d.ts +221 -167
- package/build/src/v1alpha/conversational_search_service_client.js +310 -210
- package/build/src/v1alpha/conversational_search_service_proto_list.json +1 -0
- package/build/src/v1alpha/data_store_service_client.d.ts +144 -144
- package/build/src/v1alpha/data_store_service_client.js +221 -197
- package/build/src/v1alpha/data_store_service_proto_list.json +1 -0
- package/build/src/v1alpha/document_service_client.d.ts +144 -144
- package/build/src/v1alpha/document_service_client.js +233 -197
- package/build/src/v1alpha/document_service_proto_list.json +1 -0
- package/build/src/v1alpha/engine_service_client.d.ts +144 -144
- package/build/src/v1alpha/engine_service_client.js +221 -197
- package/build/src/v1alpha/engine_service_proto_list.json +1 -0
- package/build/src/v1alpha/estimate_billing_service_client.d.ts +144 -144
- package/build/src/v1alpha/estimate_billing_service_client.js +197 -197
- package/build/src/v1alpha/estimate_billing_service_proto_list.json +1 -0
- package/build/src/v1alpha/evaluation_service_client.d.ts +144 -144
- package/build/src/v1alpha/evaluation_service_client.js +203 -197
- package/build/src/v1alpha/evaluation_service_proto_list.json +1 -0
- package/build/src/v1alpha/gapic_metadata.json +82 -0
- package/build/src/v1alpha/grounded_generation_service_client.d.ts +144 -144
- package/build/src/v1alpha/grounded_generation_service_client.js +202 -196
- package/build/src/v1alpha/grounded_generation_service_proto_list.json +1 -0
- package/build/src/v1alpha/index.d.ts +1 -0
- package/build/src/v1alpha/index.js +3 -1
- package/build/src/v1alpha/project_service_client.d.ts +144 -144
- package/build/src/v1alpha/project_service_client.js +209 -197
- package/build/src/v1alpha/project_service_proto_list.json +1 -0
- package/build/src/v1alpha/rank_service_client.d.ts +144 -144
- package/build/src/v1alpha/rank_service_client.js +202 -196
- package/build/src/v1alpha/rank_service_proto_list.json +1 -0
- package/build/src/v1alpha/recommendation_service_client.d.ts +144 -144
- package/build/src/v1alpha/recommendation_service_client.js +202 -196
- package/build/src/v1alpha/recommendation_service_proto_list.json +1 -0
- package/build/src/v1alpha/sample_query_service_client.d.ts +144 -144
- package/build/src/v1alpha/sample_query_service_client.js +221 -197
- package/build/src/v1alpha/sample_query_service_proto_list.json +1 -0
- package/build/src/v1alpha/sample_query_set_service_client.d.ts +144 -144
- package/build/src/v1alpha/sample_query_set_service_client.js +220 -196
- package/build/src/v1alpha/sample_query_set_service_proto_list.json +1 -0
- package/build/src/v1alpha/schema_service_client.d.ts +144 -144
- package/build/src/v1alpha/schema_service_client.js +203 -197
- package/build/src/v1alpha/schema_service_proto_list.json +1 -0
- package/build/src/v1alpha/search_service_client.d.ts +168 -186
- package/build/src/v1alpha/search_service_client.js +212 -224
- package/build/src/v1alpha/search_service_proto_list.json +1 -0
- package/build/src/v1alpha/search_tuning_service_client.d.ts +144 -144
- package/build/src/v1alpha/search_tuning_service_client.js +203 -197
- package/build/src/v1alpha/search_tuning_service_proto_list.json +1 -0
- package/build/src/v1alpha/serving_config_service_client.d.ts +144 -144
- package/build/src/v1alpha/serving_config_service_client.js +208 -196
- package/build/src/v1alpha/serving_config_service_proto_list.json +1 -0
- package/build/src/v1alpha/session_service_client.d.ts +2331 -0
- package/build/src/v1alpha/session_service_client.js +3161 -0
- package/build/src/v1alpha/session_service_client_config.json +68 -0
- package/build/src/v1alpha/session_service_proto_list.json +49 -0
- package/build/src/v1alpha/site_search_engine_service_client.d.ts +144 -144
- package/build/src/v1alpha/site_search_engine_service_client.js +215 -197
- package/build/src/v1alpha/site_search_engine_service_proto_list.json +1 -0
- package/build/src/v1alpha/user_event_service_client.d.ts +144 -144
- package/build/src/v1alpha/user_event_service_client.js +209 -197
- package/build/src/v1alpha/user_event_service_proto_list.json +1 -0
- package/build/src/v1beta/completion_service_client.d.ts +144 -144
- package/build/src/v1beta/completion_service_client.js +209 -197
- package/build/src/v1beta/completion_service_proto_list.json +1 -0
- package/build/src/v1beta/control_service_client.d.ts +144 -144
- package/build/src/v1beta/control_service_client.js +220 -196
- package/build/src/v1beta/control_service_proto_list.json +1 -0
- package/build/src/v1beta/conversational_search_service_client.d.ts +215 -161
- package/build/src/v1beta/conversational_search_service_client.js +308 -208
- package/build/src/v1beta/conversational_search_service_proto_list.json +1 -0
- package/build/src/v1beta/data_store_service_client.d.ts +144 -144
- package/build/src/v1beta/data_store_service_client.js +209 -197
- package/build/src/v1beta/data_store_service_proto_list.json +1 -0
- package/build/src/v1beta/document_service_client.d.ts +144 -144
- package/build/src/v1beta/document_service_client.js +227 -197
- package/build/src/v1beta/document_service_proto_list.json +1 -0
- package/build/src/v1beta/engine_service_client.d.ts +144 -144
- package/build/src/v1beta/engine_service_client.js +221 -197
- package/build/src/v1beta/engine_service_proto_list.json +1 -0
- package/build/src/v1beta/evaluation_service_client.d.ts +144 -144
- package/build/src/v1beta/evaluation_service_client.js +203 -197
- package/build/src/v1beta/evaluation_service_proto_list.json +1 -0
- package/build/src/v1beta/gapic_metadata.json +68 -0
- package/build/src/v1beta/grounded_generation_service_client.d.ts +144 -144
- package/build/src/v1beta/grounded_generation_service_client.js +208 -196
- package/build/src/v1beta/grounded_generation_service_proto_list.json +1 -0
- package/build/src/v1beta/index.d.ts +1 -0
- package/build/src/v1beta/index.js +3 -1
- package/build/src/v1beta/project_service_client.d.ts +144 -144
- package/build/src/v1beta/project_service_client.js +197 -197
- package/build/src/v1beta/project_service_proto_list.json +1 -0
- package/build/src/v1beta/rank_service_client.d.ts +144 -144
- package/build/src/v1beta/rank_service_client.js +202 -196
- package/build/src/v1beta/rank_service_proto_list.json +1 -0
- package/build/src/v1beta/recommendation_service_client.d.ts +144 -144
- package/build/src/v1beta/recommendation_service_client.js +202 -196
- package/build/src/v1beta/recommendation_service_proto_list.json +1 -0
- package/build/src/v1beta/sample_query_service_client.d.ts +144 -144
- package/build/src/v1beta/sample_query_service_client.js +221 -197
- package/build/src/v1beta/sample_query_service_proto_list.json +1 -0
- package/build/src/v1beta/sample_query_set_service_client.d.ts +144 -144
- package/build/src/v1beta/sample_query_set_service_client.js +220 -196
- package/build/src/v1beta/sample_query_set_service_proto_list.json +1 -0
- package/build/src/v1beta/schema_service_client.d.ts +144 -144
- package/build/src/v1beta/schema_service_client.js +203 -197
- package/build/src/v1beta/schema_service_proto_list.json +1 -0
- package/build/src/v1beta/search_service_client.d.ts +192 -228
- package/build/src/v1beta/search_service_client.js +228 -252
- package/build/src/v1beta/search_service_proto_list.json +1 -0
- package/build/src/v1beta/search_tuning_service_client.d.ts +144 -144
- package/build/src/v1beta/search_tuning_service_client.js +203 -197
- package/build/src/v1beta/search_tuning_service_proto_list.json +1 -0
- package/build/src/v1beta/serving_config_service_client.d.ts +144 -144
- package/build/src/v1beta/serving_config_service_client.js +208 -196
- package/build/src/v1beta/serving_config_service_proto_list.json +1 -0
- package/build/src/v1beta/session_service_client.d.ts +2266 -0
- package/build/src/v1beta/session_service_client.js +3136 -0
- package/build/src/v1beta/session_service_client_config.json +63 -0
- package/build/src/v1beta/session_service_proto_list.json +45 -0
- package/build/src/v1beta/site_search_engine_service_client.d.ts +144 -144
- package/build/src/v1beta/site_search_engine_service_client.js +215 -197
- package/build/src/v1beta/site_search_engine_service_proto_list.json +1 -0
- package/build/src/v1beta/user_event_service_client.d.ts +144 -144
- package/build/src/v1beta/user_event_service_client.js +209 -197
- package/build/src/v1beta/user_event_service_proto_list.json +1 -0
- package/package.json +7 -7
- package/CHANGELOG.md +0 -274
@@ -175,15 +175,15 @@ class RecommendationServiceClient {
|
|
175
175
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
176
176
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
177
177
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
178
|
-
projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
179
178
|
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
179
|
+
projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
180
180
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
181
181
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
182
182
|
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
183
183
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
184
184
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
185
|
-
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
186
185
|
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
186
|
+
projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
187
187
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
188
188
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
189
189
|
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -193,8 +193,8 @@ class RecommendationServiceClient {
|
|
193
193
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
194
194
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
195
195
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
196
|
-
projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
197
196
|
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
197
|
+
projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
198
198
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
199
199
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
200
200
|
sampleQueryPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}'),
|
@@ -338,6 +338,12 @@ class RecommendationServiceClient {
|
|
338
338
|
?.then(([response, options, rawResponse]) => {
|
339
339
|
this._log.info('recommend response %j', response);
|
340
340
|
return [response, options, rawResponse];
|
341
|
+
}).catch((error) => {
|
342
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
343
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
344
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
345
|
+
}
|
346
|
+
throw error;
|
341
347
|
});
|
342
348
|
}
|
343
349
|
/**
|
@@ -1188,154 +1194,154 @@ class RecommendationServiceClient {
|
|
1188
1194
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1189
1195
|
}
|
1190
1196
|
/**
|
1191
|
-
* Return a fully-qualified
|
1197
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1192
1198
|
*
|
1193
1199
|
* @param {string} project
|
1194
1200
|
* @param {string} location
|
1195
1201
|
* @param {string} collection
|
1196
1202
|
* @param {string} data_store
|
1197
1203
|
* @param {string} session
|
1204
|
+
* @param {string} answer
|
1198
1205
|
* @returns {string} Resource name string.
|
1199
1206
|
*/
|
1200
|
-
|
1201
|
-
return this.pathTemplates.
|
1207
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1208
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1202
1209
|
project: project,
|
1203
1210
|
location: location,
|
1204
1211
|
collection: collection,
|
1205
1212
|
data_store: dataStore,
|
1206
1213
|
session: session,
|
1214
|
+
answer: answer,
|
1207
1215
|
});
|
1208
1216
|
}
|
1209
1217
|
/**
|
1210
|
-
* Parse the project from
|
1218
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1211
1219
|
*
|
1212
|
-
* @param {string}
|
1213
|
-
* A fully-qualified path representing
|
1220
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1221
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1214
1222
|
* @returns {string} A string representing the project.
|
1215
1223
|
*/
|
1216
|
-
|
1217
|
-
return this.pathTemplates.
|
1224
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1225
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1218
1226
|
}
|
1219
1227
|
/**
|
1220
|
-
* Parse the location from
|
1228
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1221
1229
|
*
|
1222
|
-
* @param {string}
|
1223
|
-
* A fully-qualified path representing
|
1230
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1231
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1224
1232
|
* @returns {string} A string representing the location.
|
1225
1233
|
*/
|
1226
|
-
|
1227
|
-
return this.pathTemplates.
|
1234
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1235
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1228
1236
|
}
|
1229
1237
|
/**
|
1230
|
-
* Parse the collection from
|
1238
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1231
1239
|
*
|
1232
|
-
* @param {string}
|
1233
|
-
* A fully-qualified path representing
|
1240
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1241
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1234
1242
|
* @returns {string} A string representing the collection.
|
1235
1243
|
*/
|
1236
|
-
|
1237
|
-
return this.pathTemplates.
|
1244
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1245
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1238
1246
|
}
|
1239
1247
|
/**
|
1240
|
-
* Parse the data_store from
|
1248
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1241
1249
|
*
|
1242
|
-
* @param {string}
|
1243
|
-
* A fully-qualified path representing
|
1250
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1251
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1244
1252
|
* @returns {string} A string representing the data_store.
|
1245
1253
|
*/
|
1246
|
-
|
1247
|
-
return this.pathTemplates.
|
1254
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1255
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1248
1256
|
}
|
1249
1257
|
/**
|
1250
|
-
* Parse the session from
|
1258
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1251
1259
|
*
|
1252
|
-
* @param {string}
|
1253
|
-
* A fully-qualified path representing
|
1260
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1261
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1254
1262
|
* @returns {string} A string representing the session.
|
1255
1263
|
*/
|
1256
|
-
|
1257
|
-
return this.pathTemplates.
|
1264
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1265
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1258
1266
|
}
|
1259
1267
|
/**
|
1260
|
-
*
|
1268
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1269
|
+
*
|
1270
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1271
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1272
|
+
* @returns {string} A string representing the answer.
|
1273
|
+
*/
|
1274
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1275
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1276
|
+
}
|
1277
|
+
/**
|
1278
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
1261
1279
|
*
|
1262
1280
|
* @param {string} project
|
1263
1281
|
* @param {string} location
|
1264
1282
|
* @param {string} collection
|
1265
1283
|
* @param {string} data_store
|
1266
1284
|
* @param {string} session
|
1267
|
-
* @param {string} answer
|
1268
1285
|
* @returns {string} Resource name string.
|
1269
1286
|
*/
|
1270
|
-
|
1271
|
-
return this.pathTemplates.
|
1287
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
1288
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
1272
1289
|
project: project,
|
1273
1290
|
location: location,
|
1274
1291
|
collection: collection,
|
1275
1292
|
data_store: dataStore,
|
1276
1293
|
session: session,
|
1277
|
-
answer: answer,
|
1278
1294
|
});
|
1279
1295
|
}
|
1280
1296
|
/**
|
1281
|
-
* Parse the project from
|
1297
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
1282
1298
|
*
|
1283
|
-
* @param {string}
|
1284
|
-
* A fully-qualified path representing
|
1299
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1300
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1285
1301
|
* @returns {string} A string representing the project.
|
1286
1302
|
*/
|
1287
|
-
|
1288
|
-
return this.pathTemplates.
|
1303
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1304
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
1289
1305
|
}
|
1290
1306
|
/**
|
1291
|
-
* Parse the location from
|
1307
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
1292
1308
|
*
|
1293
|
-
* @param {string}
|
1294
|
-
* A fully-qualified path representing
|
1309
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1310
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1295
1311
|
* @returns {string} A string representing the location.
|
1296
1312
|
*/
|
1297
|
-
|
1298
|
-
return this.pathTemplates.
|
1313
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1314
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
1299
1315
|
}
|
1300
1316
|
/**
|
1301
|
-
* Parse the collection from
|
1317
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
1302
1318
|
*
|
1303
|
-
* @param {string}
|
1304
|
-
* A fully-qualified path representing
|
1319
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1320
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1305
1321
|
* @returns {string} A string representing the collection.
|
1306
1322
|
*/
|
1307
|
-
|
1308
|
-
return this.pathTemplates.
|
1323
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1324
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
1309
1325
|
}
|
1310
1326
|
/**
|
1311
|
-
* Parse the data_store from
|
1327
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
1312
1328
|
*
|
1313
|
-
* @param {string}
|
1314
|
-
* A fully-qualified path representing
|
1329
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1330
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1315
1331
|
* @returns {string} A string representing the data_store.
|
1316
1332
|
*/
|
1317
|
-
|
1318
|
-
return this.pathTemplates.
|
1333
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1334
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
1319
1335
|
}
|
1320
1336
|
/**
|
1321
|
-
* Parse the session from
|
1337
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
1322
1338
|
*
|
1323
|
-
* @param {string}
|
1324
|
-
* A fully-qualified path representing
|
1339
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1340
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1325
1341
|
* @returns {string} A string representing the session.
|
1326
1342
|
*/
|
1327
|
-
|
1328
|
-
return this.pathTemplates.
|
1329
|
-
}
|
1330
|
-
/**
|
1331
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1332
|
-
*
|
1333
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1334
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1335
|
-
* @returns {string} A string representing the answer.
|
1336
|
-
*/
|
1337
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1338
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1343
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1344
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
1339
1345
|
}
|
1340
1346
|
/**
|
1341
1347
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -1671,154 +1677,154 @@ class RecommendationServiceClient {
|
|
1671
1677
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
1672
1678
|
}
|
1673
1679
|
/**
|
1674
|
-
* Return a fully-qualified
|
1680
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
1675
1681
|
*
|
1676
1682
|
* @param {string} project
|
1677
1683
|
* @param {string} location
|
1678
1684
|
* @param {string} collection
|
1679
1685
|
* @param {string} engine
|
1680
1686
|
* @param {string} session
|
1687
|
+
* @param {string} answer
|
1681
1688
|
* @returns {string} Resource name string.
|
1682
1689
|
*/
|
1683
|
-
|
1684
|
-
return this.pathTemplates.
|
1690
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
1691
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
1685
1692
|
project: project,
|
1686
1693
|
location: location,
|
1687
1694
|
collection: collection,
|
1688
1695
|
engine: engine,
|
1689
1696
|
session: session,
|
1697
|
+
answer: answer,
|
1690
1698
|
});
|
1691
1699
|
}
|
1692
1700
|
/**
|
1693
|
-
* Parse the project from
|
1701
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
1694
1702
|
*
|
1695
|
-
* @param {string}
|
1696
|
-
* A fully-qualified path representing
|
1703
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1704
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1697
1705
|
* @returns {string} A string representing the project.
|
1698
1706
|
*/
|
1699
|
-
|
1700
|
-
return this.pathTemplates.
|
1707
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1708
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
1701
1709
|
}
|
1702
1710
|
/**
|
1703
|
-
* Parse the location from
|
1711
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
1704
1712
|
*
|
1705
|
-
* @param {string}
|
1706
|
-
* A fully-qualified path representing
|
1713
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1714
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1707
1715
|
* @returns {string} A string representing the location.
|
1708
1716
|
*/
|
1709
|
-
|
1710
|
-
return this.pathTemplates.
|
1717
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1718
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
1711
1719
|
}
|
1712
1720
|
/**
|
1713
|
-
* Parse the collection from
|
1721
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
1714
1722
|
*
|
1715
|
-
* @param {string}
|
1716
|
-
* A fully-qualified path representing
|
1723
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1724
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1717
1725
|
* @returns {string} A string representing the collection.
|
1718
1726
|
*/
|
1719
|
-
|
1720
|
-
return this.pathTemplates.
|
1727
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1728
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
1721
1729
|
}
|
1722
1730
|
/**
|
1723
|
-
* Parse the engine from
|
1731
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
1724
1732
|
*
|
1725
|
-
* @param {string}
|
1726
|
-
* A fully-qualified path representing
|
1733
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1734
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1727
1735
|
* @returns {string} A string representing the engine.
|
1728
1736
|
*/
|
1729
|
-
|
1730
|
-
return this.pathTemplates.
|
1737
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1738
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
1731
1739
|
}
|
1732
1740
|
/**
|
1733
|
-
* Parse the session from
|
1741
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
1734
1742
|
*
|
1735
|
-
* @param {string}
|
1736
|
-
* A fully-qualified path representing
|
1743
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1744
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1737
1745
|
* @returns {string} A string representing the session.
|
1738
1746
|
*/
|
1739
|
-
|
1740
|
-
return this.pathTemplates.
|
1747
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1748
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
1741
1749
|
}
|
1742
1750
|
/**
|
1743
|
-
*
|
1751
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
1752
|
+
*
|
1753
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1754
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1755
|
+
* @returns {string} A string representing the answer.
|
1756
|
+
*/
|
1757
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1758
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
1759
|
+
}
|
1760
|
+
/**
|
1761
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
1744
1762
|
*
|
1745
1763
|
* @param {string} project
|
1746
1764
|
* @param {string} location
|
1747
1765
|
* @param {string} collection
|
1748
1766
|
* @param {string} engine
|
1749
1767
|
* @param {string} session
|
1750
|
-
* @param {string} answer
|
1751
1768
|
* @returns {string} Resource name string.
|
1752
1769
|
*/
|
1753
|
-
|
1754
|
-
return this.pathTemplates.
|
1770
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
1771
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
1755
1772
|
project: project,
|
1756
1773
|
location: location,
|
1757
1774
|
collection: collection,
|
1758
1775
|
engine: engine,
|
1759
1776
|
session: session,
|
1760
|
-
answer: answer,
|
1761
1777
|
});
|
1762
1778
|
}
|
1763
1779
|
/**
|
1764
|
-
* Parse the project from
|
1780
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
1765
1781
|
*
|
1766
|
-
* @param {string}
|
1767
|
-
* A fully-qualified path representing
|
1782
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
1783
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1768
1784
|
* @returns {string} A string representing the project.
|
1769
1785
|
*/
|
1770
|
-
|
1771
|
-
return this.pathTemplates.
|
1786
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
1787
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
1772
1788
|
}
|
1773
1789
|
/**
|
1774
|
-
* Parse the location from
|
1790
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
1775
1791
|
*
|
1776
|
-
* @param {string}
|
1777
|
-
* A fully-qualified path representing
|
1792
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
1793
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1778
1794
|
* @returns {string} A string representing the location.
|
1779
1795
|
*/
|
1780
|
-
|
1781
|
-
return this.pathTemplates.
|
1796
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
1797
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
1782
1798
|
}
|
1783
1799
|
/**
|
1784
|
-
* Parse the collection from
|
1800
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
1785
1801
|
*
|
1786
|
-
* @param {string}
|
1787
|
-
* A fully-qualified path representing
|
1802
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
1803
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1788
1804
|
* @returns {string} A string representing the collection.
|
1789
1805
|
*/
|
1790
|
-
|
1791
|
-
return this.pathTemplates.
|
1806
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
1807
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
1792
1808
|
}
|
1793
1809
|
/**
|
1794
|
-
* Parse the engine from
|
1810
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
1795
1811
|
*
|
1796
|
-
* @param {string}
|
1797
|
-
* A fully-qualified path representing
|
1812
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
1813
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1798
1814
|
* @returns {string} A string representing the engine.
|
1799
1815
|
*/
|
1800
|
-
|
1801
|
-
return this.pathTemplates.
|
1816
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
1817
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
1802
1818
|
}
|
1803
1819
|
/**
|
1804
|
-
* Parse the session from
|
1820
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
1805
1821
|
*
|
1806
|
-
* @param {string}
|
1807
|
-
* A fully-qualified path representing
|
1822
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
1823
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1808
1824
|
* @returns {string} A string representing the session.
|
1809
1825
|
*/
|
1810
|
-
|
1811
|
-
return this.pathTemplates.
|
1812
|
-
}
|
1813
|
-
/**
|
1814
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
1815
|
-
*
|
1816
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1817
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1818
|
-
* @returns {string} A string representing the answer.
|
1819
|
-
*/
|
1820
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1821
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
1826
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
1827
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
1822
1828
|
}
|
1823
1829
|
/**
|
1824
1830
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -2345,63 +2351,6 @@ class RecommendationServiceClient {
|
|
2345
2351
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2346
2352
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
2347
2353
|
}
|
2348
|
-
/**
|
2349
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
2350
|
-
*
|
2351
|
-
* @param {string} project
|
2352
|
-
* @param {string} location
|
2353
|
-
* @param {string} data_store
|
2354
|
-
* @param {string} session
|
2355
|
-
* @returns {string} Resource name string.
|
2356
|
-
*/
|
2357
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
2358
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
2359
|
-
project: project,
|
2360
|
-
location: location,
|
2361
|
-
data_store: dataStore,
|
2362
|
-
session: session,
|
2363
|
-
});
|
2364
|
-
}
|
2365
|
-
/**
|
2366
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
2367
|
-
*
|
2368
|
-
* @param {string} projectLocationDataStoreSessionName
|
2369
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2370
|
-
* @returns {string} A string representing the project.
|
2371
|
-
*/
|
2372
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2373
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
2374
|
-
}
|
2375
|
-
/**
|
2376
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
2377
|
-
*
|
2378
|
-
* @param {string} projectLocationDataStoreSessionName
|
2379
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2380
|
-
* @returns {string} A string representing the location.
|
2381
|
-
*/
|
2382
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2383
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
2384
|
-
}
|
2385
|
-
/**
|
2386
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
2387
|
-
*
|
2388
|
-
* @param {string} projectLocationDataStoreSessionName
|
2389
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2390
|
-
* @returns {string} A string representing the data_store.
|
2391
|
-
*/
|
2392
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2393
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
2394
|
-
}
|
2395
|
-
/**
|
2396
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
2397
|
-
*
|
2398
|
-
* @param {string} projectLocationDataStoreSessionName
|
2399
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2400
|
-
* @returns {string} A string representing the session.
|
2401
|
-
*/
|
2402
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2403
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
2404
|
-
}
|
2405
2354
|
/**
|
2406
2355
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
2407
2356
|
*
|
@@ -2471,6 +2420,63 @@ class RecommendationServiceClient {
|
|
2471
2420
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2472
2421
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
2473
2422
|
}
|
2423
|
+
/**
|
2424
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
2425
|
+
*
|
2426
|
+
* @param {string} project
|
2427
|
+
* @param {string} location
|
2428
|
+
* @param {string} data_store
|
2429
|
+
* @param {string} session
|
2430
|
+
* @returns {string} Resource name string.
|
2431
|
+
*/
|
2432
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
2433
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
2434
|
+
project: project,
|
2435
|
+
location: location,
|
2436
|
+
data_store: dataStore,
|
2437
|
+
session: session,
|
2438
|
+
});
|
2439
|
+
}
|
2440
|
+
/**
|
2441
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
2442
|
+
*
|
2443
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2444
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2445
|
+
* @returns {string} A string representing the project.
|
2446
|
+
*/
|
2447
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2448
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
2449
|
+
}
|
2450
|
+
/**
|
2451
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
2452
|
+
*
|
2453
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2454
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2455
|
+
* @returns {string} A string representing the location.
|
2456
|
+
*/
|
2457
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2458
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
2459
|
+
}
|
2460
|
+
/**
|
2461
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
2462
|
+
*
|
2463
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2464
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2465
|
+
* @returns {string} A string representing the data_store.
|
2466
|
+
*/
|
2467
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2468
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
2469
|
+
}
|
2470
|
+
/**
|
2471
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
2472
|
+
*
|
2473
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2474
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2475
|
+
* @returns {string} A string representing the session.
|
2476
|
+
*/
|
2477
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2478
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
2479
|
+
}
|
2474
2480
|
/**
|
2475
2481
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
2476
2482
|
*
|
@@ -41,6 +41,7 @@
|
|
41
41
|
"../../protos/google/cloud/discoveryengine/v1alpha/serving_config.proto",
|
42
42
|
"../../protos/google/cloud/discoveryengine/v1alpha/serving_config_service.proto",
|
43
43
|
"../../protos/google/cloud/discoveryengine/v1alpha/session.proto",
|
44
|
+
"../../protos/google/cloud/discoveryengine/v1alpha/session_service.proto",
|
44
45
|
"../../protos/google/cloud/discoveryengine/v1alpha/site_search_engine.proto",
|
45
46
|
"../../protos/google/cloud/discoveryengine/v1alpha/site_search_engine_service.proto",
|
46
47
|
"../../protos/google/cloud/discoveryengine/v1alpha/user_event.proto",
|