@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
@@ -177,16 +177,16 @@ class ServingConfigServiceClient {
|
|
177
177
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
178
178
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
179
179
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
180
|
-
projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
181
180
|
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
181
|
+
projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
182
182
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
183
183
|
projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
184
184
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
185
185
|
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
186
186
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
187
187
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
188
|
-
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
189
188
|
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
189
|
+
projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
190
190
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
191
191
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
192
192
|
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -196,8 +196,8 @@ class ServingConfigServiceClient {
|
|
196
196
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
197
197
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
198
198
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
199
|
-
projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
200
199
|
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
200
|
+
projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
201
201
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
202
202
|
projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
203
203
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
@@ -1398,154 +1398,154 @@ class ServingConfigServiceClient {
|
|
1398
1398
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1399
1399
|
}
|
1400
1400
|
/**
|
1401
|
-
* Return a fully-qualified
|
1401
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1402
1402
|
*
|
1403
1403
|
* @param {string} project
|
1404
1404
|
* @param {string} location
|
1405
1405
|
* @param {string} collection
|
1406
1406
|
* @param {string} data_store
|
1407
1407
|
* @param {string} session
|
1408
|
+
* @param {string} answer
|
1408
1409
|
* @returns {string} Resource name string.
|
1409
1410
|
*/
|
1410
|
-
|
1411
|
-
return this.pathTemplates.
|
1411
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1412
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1412
1413
|
project: project,
|
1413
1414
|
location: location,
|
1414
1415
|
collection: collection,
|
1415
1416
|
data_store: dataStore,
|
1416
1417
|
session: session,
|
1418
|
+
answer: answer,
|
1417
1419
|
});
|
1418
1420
|
}
|
1419
1421
|
/**
|
1420
|
-
* Parse the project from
|
1422
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1421
1423
|
*
|
1422
|
-
* @param {string}
|
1423
|
-
* A fully-qualified path representing
|
1424
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1425
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1424
1426
|
* @returns {string} A string representing the project.
|
1425
1427
|
*/
|
1426
|
-
|
1427
|
-
return this.pathTemplates.
|
1428
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1429
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1428
1430
|
}
|
1429
1431
|
/**
|
1430
|
-
* Parse the location from
|
1432
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1431
1433
|
*
|
1432
|
-
* @param {string}
|
1433
|
-
* A fully-qualified path representing
|
1434
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1435
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1434
1436
|
* @returns {string} A string representing the location.
|
1435
1437
|
*/
|
1436
|
-
|
1437
|
-
return this.pathTemplates.
|
1438
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1439
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1438
1440
|
}
|
1439
1441
|
/**
|
1440
|
-
* Parse the collection from
|
1442
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1441
1443
|
*
|
1442
|
-
* @param {string}
|
1443
|
-
* A fully-qualified path representing
|
1444
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1445
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1444
1446
|
* @returns {string} A string representing the collection.
|
1445
1447
|
*/
|
1446
|
-
|
1447
|
-
return this.pathTemplates.
|
1448
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1449
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1448
1450
|
}
|
1449
1451
|
/**
|
1450
|
-
* Parse the data_store from
|
1452
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1451
1453
|
*
|
1452
|
-
* @param {string}
|
1453
|
-
* A fully-qualified path representing
|
1454
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1455
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1454
1456
|
* @returns {string} A string representing the data_store.
|
1455
1457
|
*/
|
1456
|
-
|
1457
|
-
return this.pathTemplates.
|
1458
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1459
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1458
1460
|
}
|
1459
1461
|
/**
|
1460
|
-
* Parse the session from
|
1462
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1461
1463
|
*
|
1462
|
-
* @param {string}
|
1463
|
-
* A fully-qualified path representing
|
1464
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1465
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1464
1466
|
* @returns {string} A string representing the session.
|
1465
1467
|
*/
|
1466
|
-
|
1467
|
-
return this.pathTemplates.
|
1468
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1469
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1468
1470
|
}
|
1469
1471
|
/**
|
1470
|
-
*
|
1472
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1473
|
+
*
|
1474
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1475
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1476
|
+
* @returns {string} A string representing the answer.
|
1477
|
+
*/
|
1478
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1479
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1480
|
+
}
|
1481
|
+
/**
|
1482
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
1471
1483
|
*
|
1472
1484
|
* @param {string} project
|
1473
1485
|
* @param {string} location
|
1474
1486
|
* @param {string} collection
|
1475
1487
|
* @param {string} data_store
|
1476
1488
|
* @param {string} session
|
1477
|
-
* @param {string} answer
|
1478
1489
|
* @returns {string} Resource name string.
|
1479
1490
|
*/
|
1480
|
-
|
1481
|
-
return this.pathTemplates.
|
1491
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
1492
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
1482
1493
|
project: project,
|
1483
1494
|
location: location,
|
1484
1495
|
collection: collection,
|
1485
1496
|
data_store: dataStore,
|
1486
1497
|
session: session,
|
1487
|
-
answer: answer,
|
1488
1498
|
});
|
1489
1499
|
}
|
1490
1500
|
/**
|
1491
|
-
* Parse the project from
|
1501
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
1492
1502
|
*
|
1493
|
-
* @param {string}
|
1494
|
-
* A fully-qualified path representing
|
1503
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1504
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1495
1505
|
* @returns {string} A string representing the project.
|
1496
1506
|
*/
|
1497
|
-
|
1498
|
-
return this.pathTemplates.
|
1507
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1508
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
1499
1509
|
}
|
1500
1510
|
/**
|
1501
|
-
* Parse the location from
|
1511
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
1502
1512
|
*
|
1503
|
-
* @param {string}
|
1504
|
-
* A fully-qualified path representing
|
1513
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1514
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1505
1515
|
* @returns {string} A string representing the location.
|
1506
1516
|
*/
|
1507
|
-
|
1508
|
-
return this.pathTemplates.
|
1517
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1518
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
1509
1519
|
}
|
1510
1520
|
/**
|
1511
|
-
* Parse the collection from
|
1521
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
1512
1522
|
*
|
1513
|
-
* @param {string}
|
1514
|
-
* A fully-qualified path representing
|
1523
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1524
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1515
1525
|
* @returns {string} A string representing the collection.
|
1516
1526
|
*/
|
1517
|
-
|
1518
|
-
return this.pathTemplates.
|
1527
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1528
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
1519
1529
|
}
|
1520
1530
|
/**
|
1521
|
-
* Parse the data_store from
|
1531
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
1522
1532
|
*
|
1523
|
-
* @param {string}
|
1524
|
-
* A fully-qualified path representing
|
1533
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1534
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1525
1535
|
* @returns {string} A string representing the data_store.
|
1526
1536
|
*/
|
1527
|
-
|
1528
|
-
return this.pathTemplates.
|
1537
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1538
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
1529
1539
|
}
|
1530
1540
|
/**
|
1531
|
-
* Parse the session from
|
1541
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
1532
1542
|
*
|
1533
|
-
* @param {string}
|
1534
|
-
* A fully-qualified path representing
|
1543
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1544
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1535
1545
|
* @returns {string} A string representing the session.
|
1536
1546
|
*/
|
1537
|
-
|
1538
|
-
return this.pathTemplates.
|
1539
|
-
}
|
1540
|
-
/**
|
1541
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1542
|
-
*
|
1543
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1544
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1545
|
-
* @returns {string} A string representing the answer.
|
1546
|
-
*/
|
1547
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1548
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1547
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1548
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
1549
1549
|
}
|
1550
1550
|
/**
|
1551
1551
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -1950,154 +1950,154 @@ class ServingConfigServiceClient {
|
|
1950
1950
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
1951
1951
|
}
|
1952
1952
|
/**
|
1953
|
-
* Return a fully-qualified
|
1953
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
1954
1954
|
*
|
1955
1955
|
* @param {string} project
|
1956
1956
|
* @param {string} location
|
1957
1957
|
* @param {string} collection
|
1958
1958
|
* @param {string} engine
|
1959
1959
|
* @param {string} session
|
1960
|
+
* @param {string} answer
|
1960
1961
|
* @returns {string} Resource name string.
|
1961
1962
|
*/
|
1962
|
-
|
1963
|
-
return this.pathTemplates.
|
1963
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
1964
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
1964
1965
|
project: project,
|
1965
1966
|
location: location,
|
1966
1967
|
collection: collection,
|
1967
1968
|
engine: engine,
|
1968
1969
|
session: session,
|
1970
|
+
answer: answer,
|
1969
1971
|
});
|
1970
1972
|
}
|
1971
1973
|
/**
|
1972
|
-
* Parse the project from
|
1974
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
1973
1975
|
*
|
1974
|
-
* @param {string}
|
1975
|
-
* A fully-qualified path representing
|
1976
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1977
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1976
1978
|
* @returns {string} A string representing the project.
|
1977
1979
|
*/
|
1978
|
-
|
1979
|
-
return this.pathTemplates.
|
1980
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1981
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
1980
1982
|
}
|
1981
1983
|
/**
|
1982
|
-
* Parse the location from
|
1984
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
1983
1985
|
*
|
1984
|
-
* @param {string}
|
1985
|
-
* A fully-qualified path representing
|
1986
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1987
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1986
1988
|
* @returns {string} A string representing the location.
|
1987
1989
|
*/
|
1988
|
-
|
1989
|
-
return this.pathTemplates.
|
1990
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1991
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
1990
1992
|
}
|
1991
1993
|
/**
|
1992
|
-
* Parse the collection from
|
1994
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
1993
1995
|
*
|
1994
|
-
* @param {string}
|
1995
|
-
* A fully-qualified path representing
|
1996
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1997
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1996
1998
|
* @returns {string} A string representing the collection.
|
1997
1999
|
*/
|
1998
|
-
|
1999
|
-
return this.pathTemplates.
|
2000
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2001
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
2000
2002
|
}
|
2001
2003
|
/**
|
2002
|
-
* Parse the engine from
|
2004
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
2003
2005
|
*
|
2004
|
-
* @param {string}
|
2005
|
-
* A fully-qualified path representing
|
2006
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2007
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2006
2008
|
* @returns {string} A string representing the engine.
|
2007
2009
|
*/
|
2008
|
-
|
2009
|
-
return this.pathTemplates.
|
2010
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2011
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
2010
2012
|
}
|
2011
2013
|
/**
|
2012
|
-
* Parse the session from
|
2014
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
2013
2015
|
*
|
2014
|
-
* @param {string}
|
2015
|
-
* A fully-qualified path representing
|
2016
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2017
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2016
2018
|
* @returns {string} A string representing the session.
|
2017
2019
|
*/
|
2018
|
-
|
2019
|
-
return this.pathTemplates.
|
2020
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2021
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
2020
2022
|
}
|
2021
2023
|
/**
|
2022
|
-
*
|
2024
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2025
|
+
*
|
2026
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2027
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2028
|
+
* @returns {string} A string representing the answer.
|
2029
|
+
*/
|
2030
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2031
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2032
|
+
}
|
2033
|
+
/**
|
2034
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
2023
2035
|
*
|
2024
2036
|
* @param {string} project
|
2025
2037
|
* @param {string} location
|
2026
2038
|
* @param {string} collection
|
2027
2039
|
* @param {string} engine
|
2028
2040
|
* @param {string} session
|
2029
|
-
* @param {string} answer
|
2030
2041
|
* @returns {string} Resource name string.
|
2031
2042
|
*/
|
2032
|
-
|
2033
|
-
return this.pathTemplates.
|
2043
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
2044
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
2034
2045
|
project: project,
|
2035
2046
|
location: location,
|
2036
2047
|
collection: collection,
|
2037
2048
|
engine: engine,
|
2038
2049
|
session: session,
|
2039
|
-
answer: answer,
|
2040
2050
|
});
|
2041
2051
|
}
|
2042
2052
|
/**
|
2043
|
-
* Parse the project from
|
2053
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
2044
2054
|
*
|
2045
|
-
* @param {string}
|
2046
|
-
* A fully-qualified path representing
|
2055
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2056
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2047
2057
|
* @returns {string} A string representing the project.
|
2048
2058
|
*/
|
2049
|
-
|
2050
|
-
return this.pathTemplates.
|
2059
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2060
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
2051
2061
|
}
|
2052
2062
|
/**
|
2053
|
-
* Parse the location from
|
2063
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
2054
2064
|
*
|
2055
|
-
* @param {string}
|
2056
|
-
* A fully-qualified path representing
|
2065
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2066
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2057
2067
|
* @returns {string} A string representing the location.
|
2058
2068
|
*/
|
2059
|
-
|
2060
|
-
return this.pathTemplates.
|
2069
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2070
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
2061
2071
|
}
|
2062
2072
|
/**
|
2063
|
-
* Parse the collection from
|
2073
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
2064
2074
|
*
|
2065
|
-
* @param {string}
|
2066
|
-
* A fully-qualified path representing
|
2075
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2076
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2067
2077
|
* @returns {string} A string representing the collection.
|
2068
2078
|
*/
|
2069
|
-
|
2070
|
-
return this.pathTemplates.
|
2079
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2080
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
2071
2081
|
}
|
2072
2082
|
/**
|
2073
|
-
* Parse the engine from
|
2083
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
2074
2084
|
*
|
2075
|
-
* @param {string}
|
2076
|
-
* A fully-qualified path representing
|
2085
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2086
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2077
2087
|
* @returns {string} A string representing the engine.
|
2078
2088
|
*/
|
2079
|
-
|
2080
|
-
return this.pathTemplates.
|
2089
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2090
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
2081
2091
|
}
|
2082
2092
|
/**
|
2083
|
-
* Parse the session from
|
2093
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
2084
2094
|
*
|
2085
|
-
* @param {string}
|
2086
|
-
* A fully-qualified path representing
|
2095
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2096
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2087
2097
|
* @returns {string} A string representing the session.
|
2088
2098
|
*/
|
2089
|
-
|
2090
|
-
return this.pathTemplates.
|
2091
|
-
}
|
2092
|
-
/**
|
2093
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2094
|
-
*
|
2095
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2096
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2097
|
-
* @returns {string} A string representing the answer.
|
2098
|
-
*/
|
2099
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2100
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2099
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2100
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
2101
2101
|
}
|
2102
2102
|
/**
|
2103
2103
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -2624,63 +2624,6 @@ class ServingConfigServiceClient {
|
|
2624
2624
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2625
2625
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
2626
2626
|
}
|
2627
|
-
/**
|
2628
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
2629
|
-
*
|
2630
|
-
* @param {string} project
|
2631
|
-
* @param {string} location
|
2632
|
-
* @param {string} data_store
|
2633
|
-
* @param {string} session
|
2634
|
-
* @returns {string} Resource name string.
|
2635
|
-
*/
|
2636
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
2637
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
2638
|
-
project: project,
|
2639
|
-
location: location,
|
2640
|
-
data_store: dataStore,
|
2641
|
-
session: session,
|
2642
|
-
});
|
2643
|
-
}
|
2644
|
-
/**
|
2645
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
2646
|
-
*
|
2647
|
-
* @param {string} projectLocationDataStoreSessionName
|
2648
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2649
|
-
* @returns {string} A string representing the project.
|
2650
|
-
*/
|
2651
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2652
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
2653
|
-
}
|
2654
|
-
/**
|
2655
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
2656
|
-
*
|
2657
|
-
* @param {string} projectLocationDataStoreSessionName
|
2658
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2659
|
-
* @returns {string} A string representing the location.
|
2660
|
-
*/
|
2661
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2662
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
2663
|
-
}
|
2664
|
-
/**
|
2665
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
2666
|
-
*
|
2667
|
-
* @param {string} projectLocationDataStoreSessionName
|
2668
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2669
|
-
* @returns {string} A string representing the data_store.
|
2670
|
-
*/
|
2671
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2672
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
2673
|
-
}
|
2674
|
-
/**
|
2675
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
2676
|
-
*
|
2677
|
-
* @param {string} projectLocationDataStoreSessionName
|
2678
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2679
|
-
* @returns {string} A string representing the session.
|
2680
|
-
*/
|
2681
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2682
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
2683
|
-
}
|
2684
2627
|
/**
|
2685
2628
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
2686
2629
|
*
|
@@ -2750,6 +2693,63 @@ class ServingConfigServiceClient {
|
|
2750
2693
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2751
2694
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
2752
2695
|
}
|
2696
|
+
/**
|
2697
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
2698
|
+
*
|
2699
|
+
* @param {string} project
|
2700
|
+
* @param {string} location
|
2701
|
+
* @param {string} data_store
|
2702
|
+
* @param {string} session
|
2703
|
+
* @returns {string} Resource name string.
|
2704
|
+
*/
|
2705
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
2706
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
2707
|
+
project: project,
|
2708
|
+
location: location,
|
2709
|
+
data_store: dataStore,
|
2710
|
+
session: session,
|
2711
|
+
});
|
2712
|
+
}
|
2713
|
+
/**
|
2714
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
2715
|
+
*
|
2716
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2717
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2718
|
+
* @returns {string} A string representing the project.
|
2719
|
+
*/
|
2720
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2721
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
2722
|
+
}
|
2723
|
+
/**
|
2724
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
2725
|
+
*
|
2726
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2727
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2728
|
+
* @returns {string} A string representing the location.
|
2729
|
+
*/
|
2730
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2731
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
2732
|
+
}
|
2733
|
+
/**
|
2734
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
2735
|
+
*
|
2736
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2737
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2738
|
+
* @returns {string} A string representing the data_store.
|
2739
|
+
*/
|
2740
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2741
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
2742
|
+
}
|
2743
|
+
/**
|
2744
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
2745
|
+
*
|
2746
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2747
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2748
|
+
* @returns {string} A string representing the session.
|
2749
|
+
*/
|
2750
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2751
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
2752
|
+
}
|
2753
2753
|
/**
|
2754
2754
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
2755
2755
|
*
|
@@ -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",
|