@google-cloud/discoveryengine 2.3.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 +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/conversational_search_service.proto +15 -3
- package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +8 -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/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 +15057 -10636
- package/build/protos/protos.js +45523 -34174
- package/build/protos/protos.json +4835 -3203
- package/build/src/index.d.ts +7 -1
- package/build/src/index.js +6 -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 +255 -144
- package/build/src/v1/cmek_config_service_client.js +348 -196
- package/build/src/v1/cmek_config_service_proto_list.json +4 -0
- package/build/src/v1/completion_service_client.d.ts +255 -144
- package/build/src/v1/completion_service_client.js +348 -196
- package/build/src/v1/completion_service_proto_list.json +4 -0
- package/build/src/v1/control_service_client.d.ts +255 -144
- package/build/src/v1/control_service_client.js +348 -196
- package/build/src/v1/control_service_proto_list.json +4 -0
- package/build/src/v1/conversational_search_service_client.d.ts +302 -155
- package/build/src/v1/conversational_search_service_client.js +380 -204
- package/build/src/v1/conversational_search_service_proto_list.json +4 -0
- package/build/src/v1/data_store_service_client.d.ts +255 -144
- package/build/src/v1/data_store_service_client.js +348 -196
- package/build/src/v1/data_store_service_proto_list.json +4 -0
- package/build/src/v1/document_service_client.d.ts +255 -144
- package/build/src/v1/document_service_client.js +348 -196
- package/build/src/v1/document_service_proto_list.json +4 -0
- package/build/src/v1/engine_service_client.d.ts +255 -144
- package/build/src/v1/engine_service_client.js +348 -196
- package/build/src/v1/engine_service_proto_list.json +4 -0
- package/build/src/v1/gapic_metadata.json +86 -0
- package/build/src/v1/grounded_generation_service_client.d.ts +255 -144
- package/build/src/v1/grounded_generation_service_client.js +348 -196
- package/build/src/v1/grounded_generation_service_proto_list.json +4 -0
- package/build/src/v1/identity_mapping_store_service_client.d.ts +255 -144
- package/build/src/v1/identity_mapping_store_service_client.js +348 -196
- package/build/src/v1/identity_mapping_store_service_proto_list.json +4 -0
- package/build/src/v1/index.d.ts +2 -0
- package/build/src/v1/index.js +5 -1
- package/build/src/v1/project_service_client.d.ts +255 -144
- package/build/src/v1/project_service_client.js +348 -196
- package/build/src/v1/project_service_proto_list.json +4 -0
- package/build/src/v1/rank_service_client.d.ts +255 -144
- package/build/src/v1/rank_service_client.js +348 -196
- package/build/src/v1/rank_service_proto_list.json +4 -0
- package/build/src/v1/recommendation_service_client.d.ts +255 -144
- package/build/src/v1/recommendation_service_client.js +348 -196
- package/build/src/v1/recommendation_service_proto_list.json +4 -0
- package/build/src/v1/schema_service_client.d.ts +255 -144
- package/build/src/v1/schema_service_client.js +348 -196
- package/build/src/v1/schema_service_proto_list.json +4 -0
- package/build/src/v1/search_service_client.d.ts +303 -228
- package/build/src/v1/search_service_client.js +380 -252
- package/build/src/v1/search_service_proto_list.json +4 -0
- package/build/src/v1/search_tuning_service_client.d.ts +255 -144
- package/build/src/v1/search_tuning_service_client.js +348 -196
- package/build/src/v1/search_tuning_service_proto_list.json +4 -0
- package/build/src/v1/serving_config_service_client.d.ts +255 -144
- package/build/src/v1/serving_config_service_client.js +348 -196
- package/build/src/v1/serving_config_service_proto_list.json +4 -0
- 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 +255 -144
- package/build/src/v1/site_search_engine_service_client.js +348 -196
- package/build/src/v1/site_search_engine_service_proto_list.json +4 -0
- package/build/src/v1/user_event_service_client.d.ts +255 -144
- package/build/src/v1/user_event_service_client.js +348 -196
- package/build/src/v1/user_event_service_proto_list.json +4 -0
- package/build/src/v1/user_license_service_client.d.ts +255 -144
- package/build/src/v1/user_license_service_client.js +348 -196
- package/build/src/v1/user_license_service_proto_list.json +4 -0
- package/build/src/v1alpha/acl_config_service_client.d.ts +144 -144
- package/build/src/v1alpha/acl_config_service_client.js +196 -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 +196 -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 +196 -196
- 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 +196 -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 +244 -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 +196 -196
- 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 +196 -196
- 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 +196 -196
- 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 +196 -196
- 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 +196 -196
- 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 +196 -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 +196 -196
- 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 +196 -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 +196 -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 +196 -196
- 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 +196 -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 +196 -196
- 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 +196 -196
- 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 +196 -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 +196 -196
- 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 +196 -196
- 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 +196 -196
- 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 +196 -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 +242 -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 +196 -196
- 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 +196 -196
- 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 +196 -196
- 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 +196 -196
- 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 +196 -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 +196 -196
- 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 +196 -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 +196 -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 +196 -196
- 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 +196 -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 +196 -196
- 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 +196 -196
- 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 +196 -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 +196 -196
- 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 +196 -196
- package/build/src/v1beta/user_event_service_proto_list.json +1 -0
- package/package.json +1 -1
@@ -175,16 +175,16 @@ 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
|
projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
182
182
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
183
183
|
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
184
184
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
185
185
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
186
|
-
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
187
186
|
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
187
|
+
projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
188
188
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
189
189
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
190
190
|
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -194,8 +194,8 @@ class RecommendationServiceClient {
|
|
194
194
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
195
195
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
196
196
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
197
|
-
projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
198
197
|
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
198
|
+
projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
199
199
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
200
200
|
projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
201
201
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
@@ -1208,154 +1208,154 @@ class RecommendationServiceClient {
|
|
1208
1208
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1209
1209
|
}
|
1210
1210
|
/**
|
1211
|
-
* Return a fully-qualified
|
1211
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1212
1212
|
*
|
1213
1213
|
* @param {string} project
|
1214
1214
|
* @param {string} location
|
1215
1215
|
* @param {string} collection
|
1216
1216
|
* @param {string} data_store
|
1217
1217
|
* @param {string} session
|
1218
|
+
* @param {string} answer
|
1218
1219
|
* @returns {string} Resource name string.
|
1219
1220
|
*/
|
1220
|
-
|
1221
|
-
return this.pathTemplates.
|
1221
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1222
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1222
1223
|
project: project,
|
1223
1224
|
location: location,
|
1224
1225
|
collection: collection,
|
1225
1226
|
data_store: dataStore,
|
1226
1227
|
session: session,
|
1228
|
+
answer: answer,
|
1227
1229
|
});
|
1228
1230
|
}
|
1229
1231
|
/**
|
1230
|
-
* Parse the project from
|
1232
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1231
1233
|
*
|
1232
|
-
* @param {string}
|
1233
|
-
* A fully-qualified path representing
|
1234
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1235
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1234
1236
|
* @returns {string} A string representing the project.
|
1235
1237
|
*/
|
1236
|
-
|
1237
|
-
return this.pathTemplates.
|
1238
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1239
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1238
1240
|
}
|
1239
1241
|
/**
|
1240
|
-
* Parse the location from
|
1242
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1241
1243
|
*
|
1242
|
-
* @param {string}
|
1243
|
-
* A fully-qualified path representing
|
1244
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1245
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1244
1246
|
* @returns {string} A string representing the location.
|
1245
1247
|
*/
|
1246
|
-
|
1247
|
-
return this.pathTemplates.
|
1248
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1249
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1248
1250
|
}
|
1249
1251
|
/**
|
1250
|
-
* Parse the collection from
|
1252
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1251
1253
|
*
|
1252
|
-
* @param {string}
|
1253
|
-
* A fully-qualified path representing
|
1254
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1255
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1254
1256
|
* @returns {string} A string representing the collection.
|
1255
1257
|
*/
|
1256
|
-
|
1257
|
-
return this.pathTemplates.
|
1258
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1259
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1258
1260
|
}
|
1259
1261
|
/**
|
1260
|
-
* Parse the data_store from
|
1262
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1261
1263
|
*
|
1262
|
-
* @param {string}
|
1263
|
-
* A fully-qualified path representing
|
1264
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1265
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1264
1266
|
* @returns {string} A string representing the data_store.
|
1265
1267
|
*/
|
1266
|
-
|
1267
|
-
return this.pathTemplates.
|
1268
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1269
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1268
1270
|
}
|
1269
1271
|
/**
|
1270
|
-
* Parse the session from
|
1272
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1271
1273
|
*
|
1272
|
-
* @param {string}
|
1273
|
-
* A fully-qualified path representing
|
1274
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1275
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1274
1276
|
* @returns {string} A string representing the session.
|
1275
1277
|
*/
|
1276
|
-
|
1277
|
-
return this.pathTemplates.
|
1278
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1279
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1278
1280
|
}
|
1279
1281
|
/**
|
1280
|
-
*
|
1282
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1283
|
+
*
|
1284
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1285
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1286
|
+
* @returns {string} A string representing the answer.
|
1287
|
+
*/
|
1288
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1289
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1290
|
+
}
|
1291
|
+
/**
|
1292
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
1281
1293
|
*
|
1282
1294
|
* @param {string} project
|
1283
1295
|
* @param {string} location
|
1284
1296
|
* @param {string} collection
|
1285
1297
|
* @param {string} data_store
|
1286
1298
|
* @param {string} session
|
1287
|
-
* @param {string} answer
|
1288
1299
|
* @returns {string} Resource name string.
|
1289
1300
|
*/
|
1290
|
-
|
1291
|
-
return this.pathTemplates.
|
1301
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
1302
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
1292
1303
|
project: project,
|
1293
1304
|
location: location,
|
1294
1305
|
collection: collection,
|
1295
1306
|
data_store: dataStore,
|
1296
1307
|
session: session,
|
1297
|
-
answer: answer,
|
1298
1308
|
});
|
1299
1309
|
}
|
1300
1310
|
/**
|
1301
|
-
* Parse the project from
|
1311
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
1302
1312
|
*
|
1303
|
-
* @param {string}
|
1304
|
-
* A fully-qualified path representing
|
1313
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1314
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1305
1315
|
* @returns {string} A string representing the project.
|
1306
1316
|
*/
|
1307
|
-
|
1308
|
-
return this.pathTemplates.
|
1317
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1318
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
1309
1319
|
}
|
1310
1320
|
/**
|
1311
|
-
* Parse the location from
|
1321
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
1312
1322
|
*
|
1313
|
-
* @param {string}
|
1314
|
-
* A fully-qualified path representing
|
1323
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1324
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1315
1325
|
* @returns {string} A string representing the location.
|
1316
1326
|
*/
|
1317
|
-
|
1318
|
-
return this.pathTemplates.
|
1327
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1328
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
1319
1329
|
}
|
1320
1330
|
/**
|
1321
|
-
* Parse the collection from
|
1331
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
1322
1332
|
*
|
1323
|
-
* @param {string}
|
1324
|
-
* A fully-qualified path representing
|
1333
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1334
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1325
1335
|
* @returns {string} A string representing the collection.
|
1326
1336
|
*/
|
1327
|
-
|
1328
|
-
return this.pathTemplates.
|
1337
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1338
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
1329
1339
|
}
|
1330
1340
|
/**
|
1331
|
-
* Parse the data_store from
|
1341
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
1332
1342
|
*
|
1333
|
-
* @param {string}
|
1334
|
-
* A fully-qualified path representing
|
1343
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1344
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1335
1345
|
* @returns {string} A string representing the data_store.
|
1336
1346
|
*/
|
1337
|
-
|
1338
|
-
return this.pathTemplates.
|
1347
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1348
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
1339
1349
|
}
|
1340
1350
|
/**
|
1341
|
-
* Parse the session from
|
1351
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
1342
1352
|
*
|
1343
|
-
* @param {string}
|
1344
|
-
* A fully-qualified path representing
|
1353
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1354
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1345
1355
|
* @returns {string} A string representing the session.
|
1346
1356
|
*/
|
1347
|
-
|
1348
|
-
return this.pathTemplates.
|
1349
|
-
}
|
1350
|
-
/**
|
1351
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1352
|
-
*
|
1353
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1354
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1355
|
-
* @returns {string} A string representing the answer.
|
1356
|
-
*/
|
1357
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1358
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1357
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1358
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
1359
1359
|
}
|
1360
1360
|
/**
|
1361
1361
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -1760,154 +1760,154 @@ class RecommendationServiceClient {
|
|
1760
1760
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
1761
1761
|
}
|
1762
1762
|
/**
|
1763
|
-
* Return a fully-qualified
|
1763
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
1764
1764
|
*
|
1765
1765
|
* @param {string} project
|
1766
1766
|
* @param {string} location
|
1767
1767
|
* @param {string} collection
|
1768
1768
|
* @param {string} engine
|
1769
1769
|
* @param {string} session
|
1770
|
+
* @param {string} answer
|
1770
1771
|
* @returns {string} Resource name string.
|
1771
1772
|
*/
|
1772
|
-
|
1773
|
-
return this.pathTemplates.
|
1773
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
1774
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
1774
1775
|
project: project,
|
1775
1776
|
location: location,
|
1776
1777
|
collection: collection,
|
1777
1778
|
engine: engine,
|
1778
1779
|
session: session,
|
1780
|
+
answer: answer,
|
1779
1781
|
});
|
1780
1782
|
}
|
1781
1783
|
/**
|
1782
|
-
* Parse the project from
|
1784
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
1783
1785
|
*
|
1784
|
-
* @param {string}
|
1785
|
-
* A fully-qualified path representing
|
1786
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1787
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1786
1788
|
* @returns {string} A string representing the project.
|
1787
1789
|
*/
|
1788
|
-
|
1789
|
-
return this.pathTemplates.
|
1790
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1791
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
1790
1792
|
}
|
1791
1793
|
/**
|
1792
|
-
* Parse the location from
|
1794
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
1793
1795
|
*
|
1794
|
-
* @param {string}
|
1795
|
-
* A fully-qualified path representing
|
1796
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1797
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1796
1798
|
* @returns {string} A string representing the location.
|
1797
1799
|
*/
|
1798
|
-
|
1799
|
-
return this.pathTemplates.
|
1800
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1801
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
1800
1802
|
}
|
1801
1803
|
/**
|
1802
|
-
* Parse the collection from
|
1804
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
1803
1805
|
*
|
1804
|
-
* @param {string}
|
1805
|
-
* A fully-qualified path representing
|
1806
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1807
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1806
1808
|
* @returns {string} A string representing the collection.
|
1807
1809
|
*/
|
1808
|
-
|
1809
|
-
return this.pathTemplates.
|
1810
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1811
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
1810
1812
|
}
|
1811
1813
|
/**
|
1812
|
-
* Parse the engine from
|
1814
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
1813
1815
|
*
|
1814
|
-
* @param {string}
|
1815
|
-
* A fully-qualified path representing
|
1816
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1817
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1816
1818
|
* @returns {string} A string representing the engine.
|
1817
1819
|
*/
|
1818
|
-
|
1819
|
-
return this.pathTemplates.
|
1820
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1821
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
1820
1822
|
}
|
1821
1823
|
/**
|
1822
|
-
* Parse the session from
|
1824
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
1823
1825
|
*
|
1824
|
-
* @param {string}
|
1825
|
-
* A fully-qualified path representing
|
1826
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1827
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1826
1828
|
* @returns {string} A string representing the session.
|
1827
1829
|
*/
|
1828
|
-
|
1829
|
-
return this.pathTemplates.
|
1830
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1831
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
1830
1832
|
}
|
1831
1833
|
/**
|
1832
|
-
*
|
1834
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
1835
|
+
*
|
1836
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1837
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1838
|
+
* @returns {string} A string representing the answer.
|
1839
|
+
*/
|
1840
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1841
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
1842
|
+
}
|
1843
|
+
/**
|
1844
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
1833
1845
|
*
|
1834
1846
|
* @param {string} project
|
1835
1847
|
* @param {string} location
|
1836
1848
|
* @param {string} collection
|
1837
1849
|
* @param {string} engine
|
1838
1850
|
* @param {string} session
|
1839
|
-
* @param {string} answer
|
1840
1851
|
* @returns {string} Resource name string.
|
1841
1852
|
*/
|
1842
|
-
|
1843
|
-
return this.pathTemplates.
|
1853
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
1854
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
1844
1855
|
project: project,
|
1845
1856
|
location: location,
|
1846
1857
|
collection: collection,
|
1847
1858
|
engine: engine,
|
1848
1859
|
session: session,
|
1849
|
-
answer: answer,
|
1850
1860
|
});
|
1851
1861
|
}
|
1852
1862
|
/**
|
1853
|
-
* Parse the project from
|
1863
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
1854
1864
|
*
|
1855
|
-
* @param {string}
|
1856
|
-
* A fully-qualified path representing
|
1865
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
1866
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1857
1867
|
* @returns {string} A string representing the project.
|
1858
1868
|
*/
|
1859
|
-
|
1860
|
-
return this.pathTemplates.
|
1869
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
1870
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
1861
1871
|
}
|
1862
1872
|
/**
|
1863
|
-
* Parse the location from
|
1873
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
1864
1874
|
*
|
1865
|
-
* @param {string}
|
1866
|
-
* A fully-qualified path representing
|
1875
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
1876
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1867
1877
|
* @returns {string} A string representing the location.
|
1868
1878
|
*/
|
1869
|
-
|
1870
|
-
return this.pathTemplates.
|
1879
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
1880
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
1871
1881
|
}
|
1872
1882
|
/**
|
1873
|
-
* Parse the collection from
|
1883
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
1874
1884
|
*
|
1875
|
-
* @param {string}
|
1876
|
-
* A fully-qualified path representing
|
1885
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
1886
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1877
1887
|
* @returns {string} A string representing the collection.
|
1878
1888
|
*/
|
1879
|
-
|
1880
|
-
return this.pathTemplates.
|
1889
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
1890
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
1881
1891
|
}
|
1882
1892
|
/**
|
1883
|
-
* Parse the engine from
|
1893
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
1884
1894
|
*
|
1885
|
-
* @param {string}
|
1886
|
-
* A fully-qualified path representing
|
1895
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
1896
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1887
1897
|
* @returns {string} A string representing the engine.
|
1888
1898
|
*/
|
1889
|
-
|
1890
|
-
return this.pathTemplates.
|
1899
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
1900
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
1891
1901
|
}
|
1892
1902
|
/**
|
1893
|
-
* Parse the session from
|
1903
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
1894
1904
|
*
|
1895
|
-
* @param {string}
|
1896
|
-
* A fully-qualified path representing
|
1905
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
1906
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1897
1907
|
* @returns {string} A string representing the session.
|
1898
1908
|
*/
|
1899
|
-
|
1900
|
-
return this.pathTemplates.
|
1901
|
-
}
|
1902
|
-
/**
|
1903
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
1904
|
-
*
|
1905
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1906
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1907
|
-
* @returns {string} A string representing the answer.
|
1908
|
-
*/
|
1909
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1910
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
1909
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
1910
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
1911
1911
|
}
|
1912
1912
|
/**
|
1913
1913
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -2434,63 +2434,6 @@ class RecommendationServiceClient {
|
|
2434
2434
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2435
2435
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
2436
2436
|
}
|
2437
|
-
/**
|
2438
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
2439
|
-
*
|
2440
|
-
* @param {string} project
|
2441
|
-
* @param {string} location
|
2442
|
-
* @param {string} data_store
|
2443
|
-
* @param {string} session
|
2444
|
-
* @returns {string} Resource name string.
|
2445
|
-
*/
|
2446
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
2447
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
2448
|
-
project: project,
|
2449
|
-
location: location,
|
2450
|
-
data_store: dataStore,
|
2451
|
-
session: session,
|
2452
|
-
});
|
2453
|
-
}
|
2454
|
-
/**
|
2455
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
2456
|
-
*
|
2457
|
-
* @param {string} projectLocationDataStoreSessionName
|
2458
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2459
|
-
* @returns {string} A string representing the project.
|
2460
|
-
*/
|
2461
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2462
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
2463
|
-
}
|
2464
|
-
/**
|
2465
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
2466
|
-
*
|
2467
|
-
* @param {string} projectLocationDataStoreSessionName
|
2468
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2469
|
-
* @returns {string} A string representing the location.
|
2470
|
-
*/
|
2471
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2472
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
2473
|
-
}
|
2474
|
-
/**
|
2475
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
2476
|
-
*
|
2477
|
-
* @param {string} projectLocationDataStoreSessionName
|
2478
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2479
|
-
* @returns {string} A string representing the data_store.
|
2480
|
-
*/
|
2481
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2482
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
2483
|
-
}
|
2484
|
-
/**
|
2485
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
2486
|
-
*
|
2487
|
-
* @param {string} projectLocationDataStoreSessionName
|
2488
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2489
|
-
* @returns {string} A string representing the session.
|
2490
|
-
*/
|
2491
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2492
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
2493
|
-
}
|
2494
2437
|
/**
|
2495
2438
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
2496
2439
|
*
|
@@ -2560,6 +2503,63 @@ class RecommendationServiceClient {
|
|
2560
2503
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2561
2504
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
2562
2505
|
}
|
2506
|
+
/**
|
2507
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
2508
|
+
*
|
2509
|
+
* @param {string} project
|
2510
|
+
* @param {string} location
|
2511
|
+
* @param {string} data_store
|
2512
|
+
* @param {string} session
|
2513
|
+
* @returns {string} Resource name string.
|
2514
|
+
*/
|
2515
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
2516
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
2517
|
+
project: project,
|
2518
|
+
location: location,
|
2519
|
+
data_store: dataStore,
|
2520
|
+
session: session,
|
2521
|
+
});
|
2522
|
+
}
|
2523
|
+
/**
|
2524
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
2525
|
+
*
|
2526
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2527
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2528
|
+
* @returns {string} A string representing the project.
|
2529
|
+
*/
|
2530
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2531
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
2532
|
+
}
|
2533
|
+
/**
|
2534
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
2535
|
+
*
|
2536
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2537
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2538
|
+
* @returns {string} A string representing the location.
|
2539
|
+
*/
|
2540
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2541
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
2542
|
+
}
|
2543
|
+
/**
|
2544
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
2545
|
+
*
|
2546
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2547
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2548
|
+
* @returns {string} A string representing the data_store.
|
2549
|
+
*/
|
2550
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2551
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
2552
|
+
}
|
2553
|
+
/**
|
2554
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
2555
|
+
*
|
2556
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2557
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2558
|
+
* @returns {string} A string representing the session.
|
2559
|
+
*/
|
2560
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2561
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
2562
|
+
}
|
2563
2563
|
/**
|
2564
2564
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
2565
2565
|
*
|
@@ -37,6 +37,7 @@
|
|
37
37
|
"../../protos/google/cloud/discoveryengine/v1beta/serving_config.proto",
|
38
38
|
"../../protos/google/cloud/discoveryengine/v1beta/serving_config_service.proto",
|
39
39
|
"../../protos/google/cloud/discoveryengine/v1beta/session.proto",
|
40
|
+
"../../protos/google/cloud/discoveryengine/v1beta/session_service.proto",
|
40
41
|
"../../protos/google/cloud/discoveryengine/v1beta/site_search_engine.proto",
|
41
42
|
"../../protos/google/cloud/discoveryengine/v1beta/site_search_engine_service.proto",
|
42
43
|
"../../protos/google/cloud/discoveryengine/v1beta/user_event.proto",
|