@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
@@ -179,16 +179,16 @@ class ControlServiceClient {
|
|
179
179
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
180
180
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
181
181
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
182
|
-
projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
183
182
|
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
183
|
+
projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
184
184
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
185
185
|
projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
186
186
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
187
187
|
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
188
188
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
189
189
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
190
|
-
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
191
190
|
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
191
|
+
projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
192
192
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
193
193
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
194
194
|
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -198,8 +198,8 @@ class ControlServiceClient {
|
|
198
198
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
199
199
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
200
200
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
201
|
-
projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
202
201
|
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
202
|
+
projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
203
203
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
204
204
|
projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
205
205
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
@@ -1486,154 +1486,154 @@ class ControlServiceClient {
|
|
1486
1486
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1487
1487
|
}
|
1488
1488
|
/**
|
1489
|
-
* Return a fully-qualified
|
1489
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1490
1490
|
*
|
1491
1491
|
* @param {string} project
|
1492
1492
|
* @param {string} location
|
1493
1493
|
* @param {string} collection
|
1494
1494
|
* @param {string} data_store
|
1495
1495
|
* @param {string} session
|
1496
|
+
* @param {string} answer
|
1496
1497
|
* @returns {string} Resource name string.
|
1497
1498
|
*/
|
1498
|
-
|
1499
|
-
return this.pathTemplates.
|
1499
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1500
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1500
1501
|
project: project,
|
1501
1502
|
location: location,
|
1502
1503
|
collection: collection,
|
1503
1504
|
data_store: dataStore,
|
1504
1505
|
session: session,
|
1506
|
+
answer: answer,
|
1505
1507
|
});
|
1506
1508
|
}
|
1507
1509
|
/**
|
1508
|
-
* Parse the project from
|
1510
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1509
1511
|
*
|
1510
|
-
* @param {string}
|
1511
|
-
* A fully-qualified path representing
|
1512
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1513
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1512
1514
|
* @returns {string} A string representing the project.
|
1513
1515
|
*/
|
1514
|
-
|
1515
|
-
return this.pathTemplates.
|
1516
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1517
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1516
1518
|
}
|
1517
1519
|
/**
|
1518
|
-
* Parse the location from
|
1520
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1519
1521
|
*
|
1520
|
-
* @param {string}
|
1521
|
-
* A fully-qualified path representing
|
1522
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1523
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1522
1524
|
* @returns {string} A string representing the location.
|
1523
1525
|
*/
|
1524
|
-
|
1525
|
-
return this.pathTemplates.
|
1526
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1527
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1526
1528
|
}
|
1527
1529
|
/**
|
1528
|
-
* Parse the collection from
|
1530
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1529
1531
|
*
|
1530
|
-
* @param {string}
|
1531
|
-
* A fully-qualified path representing
|
1532
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1533
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1532
1534
|
* @returns {string} A string representing the collection.
|
1533
1535
|
*/
|
1534
|
-
|
1535
|
-
return this.pathTemplates.
|
1536
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1537
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1536
1538
|
}
|
1537
1539
|
/**
|
1538
|
-
* Parse the data_store from
|
1540
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1539
1541
|
*
|
1540
|
-
* @param {string}
|
1541
|
-
* A fully-qualified path representing
|
1542
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1543
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1542
1544
|
* @returns {string} A string representing the data_store.
|
1543
1545
|
*/
|
1544
|
-
|
1545
|
-
return this.pathTemplates.
|
1546
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1547
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1546
1548
|
}
|
1547
1549
|
/**
|
1548
|
-
* Parse the session from
|
1550
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1549
1551
|
*
|
1550
|
-
* @param {string}
|
1551
|
-
* A fully-qualified path representing
|
1552
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1553
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1552
1554
|
* @returns {string} A string representing the session.
|
1553
1555
|
*/
|
1554
|
-
|
1555
|
-
return this.pathTemplates.
|
1556
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1557
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1556
1558
|
}
|
1557
1559
|
/**
|
1558
|
-
*
|
1560
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1561
|
+
*
|
1562
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1563
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1564
|
+
* @returns {string} A string representing the answer.
|
1565
|
+
*/
|
1566
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1567
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1568
|
+
}
|
1569
|
+
/**
|
1570
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
1559
1571
|
*
|
1560
1572
|
* @param {string} project
|
1561
1573
|
* @param {string} location
|
1562
1574
|
* @param {string} collection
|
1563
1575
|
* @param {string} data_store
|
1564
1576
|
* @param {string} session
|
1565
|
-
* @param {string} answer
|
1566
1577
|
* @returns {string} Resource name string.
|
1567
1578
|
*/
|
1568
|
-
|
1569
|
-
return this.pathTemplates.
|
1579
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
1580
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
1570
1581
|
project: project,
|
1571
1582
|
location: location,
|
1572
1583
|
collection: collection,
|
1573
1584
|
data_store: dataStore,
|
1574
1585
|
session: session,
|
1575
|
-
answer: answer,
|
1576
1586
|
});
|
1577
1587
|
}
|
1578
1588
|
/**
|
1579
|
-
* Parse the project from
|
1589
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
1580
1590
|
*
|
1581
|
-
* @param {string}
|
1582
|
-
* A fully-qualified path representing
|
1591
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1592
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1583
1593
|
* @returns {string} A string representing the project.
|
1584
1594
|
*/
|
1585
|
-
|
1586
|
-
return this.pathTemplates.
|
1595
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1596
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
1587
1597
|
}
|
1588
1598
|
/**
|
1589
|
-
* Parse the location from
|
1599
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
1590
1600
|
*
|
1591
|
-
* @param {string}
|
1592
|
-
* A fully-qualified path representing
|
1601
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1602
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1593
1603
|
* @returns {string} A string representing the location.
|
1594
1604
|
*/
|
1595
|
-
|
1596
|
-
return this.pathTemplates.
|
1605
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1606
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
1597
1607
|
}
|
1598
1608
|
/**
|
1599
|
-
* Parse the collection from
|
1609
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
1600
1610
|
*
|
1601
|
-
* @param {string}
|
1602
|
-
* A fully-qualified path representing
|
1611
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1612
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1603
1613
|
* @returns {string} A string representing the collection.
|
1604
1614
|
*/
|
1605
|
-
|
1606
|
-
return this.pathTemplates.
|
1615
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1616
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
1607
1617
|
}
|
1608
1618
|
/**
|
1609
|
-
* Parse the data_store from
|
1619
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
1610
1620
|
*
|
1611
|
-
* @param {string}
|
1612
|
-
* A fully-qualified path representing
|
1621
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1622
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1613
1623
|
* @returns {string} A string representing the data_store.
|
1614
1624
|
*/
|
1615
|
-
|
1616
|
-
return this.pathTemplates.
|
1625
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1626
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
1617
1627
|
}
|
1618
1628
|
/**
|
1619
|
-
* Parse the session from
|
1629
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
1620
1630
|
*
|
1621
|
-
* @param {string}
|
1622
|
-
* A fully-qualified path representing
|
1631
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1632
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1623
1633
|
* @returns {string} A string representing the session.
|
1624
1634
|
*/
|
1625
|
-
|
1626
|
-
return this.pathTemplates.
|
1627
|
-
}
|
1628
|
-
/**
|
1629
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1630
|
-
*
|
1631
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1632
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1633
|
-
* @returns {string} A string representing the answer.
|
1634
|
-
*/
|
1635
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1636
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1635
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1636
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
1637
1637
|
}
|
1638
1638
|
/**
|
1639
1639
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -2038,154 +2038,154 @@ class ControlServiceClient {
|
|
2038
2038
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
2039
2039
|
}
|
2040
2040
|
/**
|
2041
|
-
* Return a fully-qualified
|
2041
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
2042
2042
|
*
|
2043
2043
|
* @param {string} project
|
2044
2044
|
* @param {string} location
|
2045
2045
|
* @param {string} collection
|
2046
2046
|
* @param {string} engine
|
2047
2047
|
* @param {string} session
|
2048
|
+
* @param {string} answer
|
2048
2049
|
* @returns {string} Resource name string.
|
2049
2050
|
*/
|
2050
|
-
|
2051
|
-
return this.pathTemplates.
|
2051
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
2052
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
2052
2053
|
project: project,
|
2053
2054
|
location: location,
|
2054
2055
|
collection: collection,
|
2055
2056
|
engine: engine,
|
2056
2057
|
session: session,
|
2058
|
+
answer: answer,
|
2057
2059
|
});
|
2058
2060
|
}
|
2059
2061
|
/**
|
2060
|
-
* Parse the project from
|
2062
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
2061
2063
|
*
|
2062
|
-
* @param {string}
|
2063
|
-
* A fully-qualified path representing
|
2064
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2065
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2064
2066
|
* @returns {string} A string representing the project.
|
2065
2067
|
*/
|
2066
|
-
|
2067
|
-
return this.pathTemplates.
|
2068
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2069
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
2068
2070
|
}
|
2069
2071
|
/**
|
2070
|
-
* Parse the location from
|
2072
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
2071
2073
|
*
|
2072
|
-
* @param {string}
|
2073
|
-
* A fully-qualified path representing
|
2074
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2075
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2074
2076
|
* @returns {string} A string representing the location.
|
2075
2077
|
*/
|
2076
|
-
|
2077
|
-
return this.pathTemplates.
|
2078
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2079
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
2078
2080
|
}
|
2079
2081
|
/**
|
2080
|
-
* Parse the collection from
|
2082
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
2081
2083
|
*
|
2082
|
-
* @param {string}
|
2083
|
-
* A fully-qualified path representing
|
2084
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2085
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2084
2086
|
* @returns {string} A string representing the collection.
|
2085
2087
|
*/
|
2086
|
-
|
2087
|
-
return this.pathTemplates.
|
2088
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2089
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
2088
2090
|
}
|
2089
2091
|
/**
|
2090
|
-
* Parse the engine from
|
2092
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
2091
2093
|
*
|
2092
|
-
* @param {string}
|
2093
|
-
* A fully-qualified path representing
|
2094
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2095
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2094
2096
|
* @returns {string} A string representing the engine.
|
2095
2097
|
*/
|
2096
|
-
|
2097
|
-
return this.pathTemplates.
|
2098
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2099
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
2098
2100
|
}
|
2099
2101
|
/**
|
2100
|
-
* Parse the session from
|
2102
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
2101
2103
|
*
|
2102
|
-
* @param {string}
|
2103
|
-
* A fully-qualified path representing
|
2104
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2105
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2104
2106
|
* @returns {string} A string representing the session.
|
2105
2107
|
*/
|
2106
|
-
|
2107
|
-
return this.pathTemplates.
|
2108
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2109
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
2108
2110
|
}
|
2109
2111
|
/**
|
2110
|
-
*
|
2112
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2113
|
+
*
|
2114
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2115
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2116
|
+
* @returns {string} A string representing the answer.
|
2117
|
+
*/
|
2118
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2119
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2120
|
+
}
|
2121
|
+
/**
|
2122
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
2111
2123
|
*
|
2112
2124
|
* @param {string} project
|
2113
2125
|
* @param {string} location
|
2114
2126
|
* @param {string} collection
|
2115
2127
|
* @param {string} engine
|
2116
2128
|
* @param {string} session
|
2117
|
-
* @param {string} answer
|
2118
2129
|
* @returns {string} Resource name string.
|
2119
2130
|
*/
|
2120
|
-
|
2121
|
-
return this.pathTemplates.
|
2131
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
2132
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
2122
2133
|
project: project,
|
2123
2134
|
location: location,
|
2124
2135
|
collection: collection,
|
2125
2136
|
engine: engine,
|
2126
2137
|
session: session,
|
2127
|
-
answer: answer,
|
2128
2138
|
});
|
2129
2139
|
}
|
2130
2140
|
/**
|
2131
|
-
* Parse the project from
|
2141
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
2132
2142
|
*
|
2133
|
-
* @param {string}
|
2134
|
-
* A fully-qualified path representing
|
2143
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2144
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2135
2145
|
* @returns {string} A string representing the project.
|
2136
2146
|
*/
|
2137
|
-
|
2138
|
-
return this.pathTemplates.
|
2147
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2148
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
2139
2149
|
}
|
2140
2150
|
/**
|
2141
|
-
* Parse the location from
|
2151
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
2142
2152
|
*
|
2143
|
-
* @param {string}
|
2144
|
-
* A fully-qualified path representing
|
2153
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2154
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2145
2155
|
* @returns {string} A string representing the location.
|
2146
2156
|
*/
|
2147
|
-
|
2148
|
-
return this.pathTemplates.
|
2157
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2158
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
2149
2159
|
}
|
2150
2160
|
/**
|
2151
|
-
* Parse the collection from
|
2161
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
2152
2162
|
*
|
2153
|
-
* @param {string}
|
2154
|
-
* A fully-qualified path representing
|
2163
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2164
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2155
2165
|
* @returns {string} A string representing the collection.
|
2156
2166
|
*/
|
2157
|
-
|
2158
|
-
return this.pathTemplates.
|
2167
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2168
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
2159
2169
|
}
|
2160
2170
|
/**
|
2161
|
-
* Parse the engine from
|
2171
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
2162
2172
|
*
|
2163
|
-
* @param {string}
|
2164
|
-
* A fully-qualified path representing
|
2173
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2174
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2165
2175
|
* @returns {string} A string representing the engine.
|
2166
2176
|
*/
|
2167
|
-
|
2168
|
-
return this.pathTemplates.
|
2177
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2178
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
2169
2179
|
}
|
2170
2180
|
/**
|
2171
|
-
* Parse the session from
|
2181
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
2172
2182
|
*
|
2173
|
-
* @param {string}
|
2174
|
-
* A fully-qualified path representing
|
2183
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2184
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2175
2185
|
* @returns {string} A string representing the session.
|
2176
2186
|
*/
|
2177
|
-
|
2178
|
-
return this.pathTemplates.
|
2179
|
-
}
|
2180
|
-
/**
|
2181
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2182
|
-
*
|
2183
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2184
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2185
|
-
* @returns {string} A string representing the answer.
|
2186
|
-
*/
|
2187
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2188
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2187
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2188
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
2189
2189
|
}
|
2190
2190
|
/**
|
2191
2191
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -2712,63 +2712,6 @@ class ControlServiceClient {
|
|
2712
2712
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2713
2713
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
2714
2714
|
}
|
2715
|
-
/**
|
2716
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
2717
|
-
*
|
2718
|
-
* @param {string} project
|
2719
|
-
* @param {string} location
|
2720
|
-
* @param {string} data_store
|
2721
|
-
* @param {string} session
|
2722
|
-
* @returns {string} Resource name string.
|
2723
|
-
*/
|
2724
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
2725
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
2726
|
-
project: project,
|
2727
|
-
location: location,
|
2728
|
-
data_store: dataStore,
|
2729
|
-
session: session,
|
2730
|
-
});
|
2731
|
-
}
|
2732
|
-
/**
|
2733
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
2734
|
-
*
|
2735
|
-
* @param {string} projectLocationDataStoreSessionName
|
2736
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2737
|
-
* @returns {string} A string representing the project.
|
2738
|
-
*/
|
2739
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2740
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
2741
|
-
}
|
2742
|
-
/**
|
2743
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
2744
|
-
*
|
2745
|
-
* @param {string} projectLocationDataStoreSessionName
|
2746
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2747
|
-
* @returns {string} A string representing the location.
|
2748
|
-
*/
|
2749
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2750
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
2751
|
-
}
|
2752
|
-
/**
|
2753
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
2754
|
-
*
|
2755
|
-
* @param {string} projectLocationDataStoreSessionName
|
2756
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2757
|
-
* @returns {string} A string representing the data_store.
|
2758
|
-
*/
|
2759
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2760
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
2761
|
-
}
|
2762
|
-
/**
|
2763
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
2764
|
-
*
|
2765
|
-
* @param {string} projectLocationDataStoreSessionName
|
2766
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2767
|
-
* @returns {string} A string representing the session.
|
2768
|
-
*/
|
2769
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2770
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
2771
|
-
}
|
2772
2715
|
/**
|
2773
2716
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
2774
2717
|
*
|
@@ -2838,6 +2781,63 @@ class ControlServiceClient {
|
|
2838
2781
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2839
2782
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
2840
2783
|
}
|
2784
|
+
/**
|
2785
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
2786
|
+
*
|
2787
|
+
* @param {string} project
|
2788
|
+
* @param {string} location
|
2789
|
+
* @param {string} data_store
|
2790
|
+
* @param {string} session
|
2791
|
+
* @returns {string} Resource name string.
|
2792
|
+
*/
|
2793
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
2794
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
2795
|
+
project: project,
|
2796
|
+
location: location,
|
2797
|
+
data_store: dataStore,
|
2798
|
+
session: session,
|
2799
|
+
});
|
2800
|
+
}
|
2801
|
+
/**
|
2802
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
2803
|
+
*
|
2804
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2805
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2806
|
+
* @returns {string} A string representing the project.
|
2807
|
+
*/
|
2808
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2809
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
2810
|
+
}
|
2811
|
+
/**
|
2812
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
2813
|
+
*
|
2814
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2815
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2816
|
+
* @returns {string} A string representing the location.
|
2817
|
+
*/
|
2818
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2819
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
2820
|
+
}
|
2821
|
+
/**
|
2822
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
2823
|
+
*
|
2824
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2825
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2826
|
+
* @returns {string} A string representing the data_store.
|
2827
|
+
*/
|
2828
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2829
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
2830
|
+
}
|
2831
|
+
/**
|
2832
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
2833
|
+
*
|
2834
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2835
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2836
|
+
* @returns {string} A string representing the session.
|
2837
|
+
*/
|
2838
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2839
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
2840
|
+
}
|
2841
2841
|
/**
|
2842
2842
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
2843
2843
|
*
|
@@ -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",
|