@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 SampleQuerySetServiceClient {
|
|
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 SampleQuerySetServiceClient {
|
|
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}'),
|
@@ -1502,154 +1502,154 @@ class SampleQuerySetServiceClient {
|
|
1502
1502
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1503
1503
|
}
|
1504
1504
|
/**
|
1505
|
-
* Return a fully-qualified
|
1505
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1506
1506
|
*
|
1507
1507
|
* @param {string} project
|
1508
1508
|
* @param {string} location
|
1509
1509
|
* @param {string} collection
|
1510
1510
|
* @param {string} data_store
|
1511
1511
|
* @param {string} session
|
1512
|
+
* @param {string} answer
|
1512
1513
|
* @returns {string} Resource name string.
|
1513
1514
|
*/
|
1514
|
-
|
1515
|
-
return this.pathTemplates.
|
1515
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1516
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1516
1517
|
project: project,
|
1517
1518
|
location: location,
|
1518
1519
|
collection: collection,
|
1519
1520
|
data_store: dataStore,
|
1520
1521
|
session: session,
|
1522
|
+
answer: answer,
|
1521
1523
|
});
|
1522
1524
|
}
|
1523
1525
|
/**
|
1524
|
-
* Parse the project from
|
1526
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1525
1527
|
*
|
1526
|
-
* @param {string}
|
1527
|
-
* A fully-qualified path representing
|
1528
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1529
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1528
1530
|
* @returns {string} A string representing the project.
|
1529
1531
|
*/
|
1530
|
-
|
1531
|
-
return this.pathTemplates.
|
1532
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1533
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1532
1534
|
}
|
1533
1535
|
/**
|
1534
|
-
* Parse the location from
|
1536
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1535
1537
|
*
|
1536
|
-
* @param {string}
|
1537
|
-
* A fully-qualified path representing
|
1538
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1539
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1538
1540
|
* @returns {string} A string representing the location.
|
1539
1541
|
*/
|
1540
|
-
|
1541
|
-
return this.pathTemplates.
|
1542
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1543
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1542
1544
|
}
|
1543
1545
|
/**
|
1544
|
-
* Parse the collection from
|
1546
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1545
1547
|
*
|
1546
|
-
* @param {string}
|
1547
|
-
* A fully-qualified path representing
|
1548
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1549
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1548
1550
|
* @returns {string} A string representing the collection.
|
1549
1551
|
*/
|
1550
|
-
|
1551
|
-
return this.pathTemplates.
|
1552
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1553
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1552
1554
|
}
|
1553
1555
|
/**
|
1554
|
-
* Parse the data_store from
|
1556
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1555
1557
|
*
|
1556
|
-
* @param {string}
|
1557
|
-
* A fully-qualified path representing
|
1558
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1559
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1558
1560
|
* @returns {string} A string representing the data_store.
|
1559
1561
|
*/
|
1560
|
-
|
1561
|
-
return this.pathTemplates.
|
1562
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1563
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1562
1564
|
}
|
1563
1565
|
/**
|
1564
|
-
* Parse the session from
|
1566
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1565
1567
|
*
|
1566
|
-
* @param {string}
|
1567
|
-
* A fully-qualified path representing
|
1568
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1569
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1568
1570
|
* @returns {string} A string representing the session.
|
1569
1571
|
*/
|
1570
|
-
|
1571
|
-
return this.pathTemplates.
|
1572
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1573
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1572
1574
|
}
|
1573
1575
|
/**
|
1574
|
-
*
|
1576
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1577
|
+
*
|
1578
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1579
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1580
|
+
* @returns {string} A string representing the answer.
|
1581
|
+
*/
|
1582
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1583
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1584
|
+
}
|
1585
|
+
/**
|
1586
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
1575
1587
|
*
|
1576
1588
|
* @param {string} project
|
1577
1589
|
* @param {string} location
|
1578
1590
|
* @param {string} collection
|
1579
1591
|
* @param {string} data_store
|
1580
1592
|
* @param {string} session
|
1581
|
-
* @param {string} answer
|
1582
1593
|
* @returns {string} Resource name string.
|
1583
1594
|
*/
|
1584
|
-
|
1585
|
-
return this.pathTemplates.
|
1595
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
1596
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
1586
1597
|
project: project,
|
1587
1598
|
location: location,
|
1588
1599
|
collection: collection,
|
1589
1600
|
data_store: dataStore,
|
1590
1601
|
session: session,
|
1591
|
-
answer: answer,
|
1592
1602
|
});
|
1593
1603
|
}
|
1594
1604
|
/**
|
1595
|
-
* Parse the project from
|
1605
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
1596
1606
|
*
|
1597
|
-
* @param {string}
|
1598
|
-
* A fully-qualified path representing
|
1607
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1608
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1599
1609
|
* @returns {string} A string representing the project.
|
1600
1610
|
*/
|
1601
|
-
|
1602
|
-
return this.pathTemplates.
|
1611
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1612
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
1603
1613
|
}
|
1604
1614
|
/**
|
1605
|
-
* Parse the location from
|
1615
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
1606
1616
|
*
|
1607
|
-
* @param {string}
|
1608
|
-
* A fully-qualified path representing
|
1617
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1618
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1609
1619
|
* @returns {string} A string representing the location.
|
1610
1620
|
*/
|
1611
|
-
|
1612
|
-
return this.pathTemplates.
|
1621
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1622
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
1613
1623
|
}
|
1614
1624
|
/**
|
1615
|
-
* Parse the collection from
|
1625
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
1616
1626
|
*
|
1617
|
-
* @param {string}
|
1618
|
-
* A fully-qualified path representing
|
1627
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1628
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1619
1629
|
* @returns {string} A string representing the collection.
|
1620
1630
|
*/
|
1621
|
-
|
1622
|
-
return this.pathTemplates.
|
1631
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1632
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
1623
1633
|
}
|
1624
1634
|
/**
|
1625
|
-
* Parse the data_store from
|
1635
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
1626
1636
|
*
|
1627
|
-
* @param {string}
|
1628
|
-
* A fully-qualified path representing
|
1637
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1638
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1629
1639
|
* @returns {string} A string representing the data_store.
|
1630
1640
|
*/
|
1631
|
-
|
1632
|
-
return this.pathTemplates.
|
1641
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1642
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
1633
1643
|
}
|
1634
1644
|
/**
|
1635
|
-
* Parse the session from
|
1645
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
1636
1646
|
*
|
1637
|
-
* @param {string}
|
1638
|
-
* A fully-qualified path representing
|
1647
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1648
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1639
1649
|
* @returns {string} A string representing the session.
|
1640
1650
|
*/
|
1641
|
-
|
1642
|
-
return this.pathTemplates.
|
1643
|
-
}
|
1644
|
-
/**
|
1645
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1646
|
-
*
|
1647
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1648
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1649
|
-
* @returns {string} A string representing the answer.
|
1650
|
-
*/
|
1651
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1652
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1651
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1652
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
1653
1653
|
}
|
1654
1654
|
/**
|
1655
1655
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -2054,154 +2054,154 @@ class SampleQuerySetServiceClient {
|
|
2054
2054
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
2055
2055
|
}
|
2056
2056
|
/**
|
2057
|
-
* Return a fully-qualified
|
2057
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
2058
2058
|
*
|
2059
2059
|
* @param {string} project
|
2060
2060
|
* @param {string} location
|
2061
2061
|
* @param {string} collection
|
2062
2062
|
* @param {string} engine
|
2063
2063
|
* @param {string} session
|
2064
|
+
* @param {string} answer
|
2064
2065
|
* @returns {string} Resource name string.
|
2065
2066
|
*/
|
2066
|
-
|
2067
|
-
return this.pathTemplates.
|
2067
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
2068
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
2068
2069
|
project: project,
|
2069
2070
|
location: location,
|
2070
2071
|
collection: collection,
|
2071
2072
|
engine: engine,
|
2072
2073
|
session: session,
|
2074
|
+
answer: answer,
|
2073
2075
|
});
|
2074
2076
|
}
|
2075
2077
|
/**
|
2076
|
-
* Parse the project from
|
2078
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
2077
2079
|
*
|
2078
|
-
* @param {string}
|
2079
|
-
* A fully-qualified path representing
|
2080
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2081
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2080
2082
|
* @returns {string} A string representing the project.
|
2081
2083
|
*/
|
2082
|
-
|
2083
|
-
return this.pathTemplates.
|
2084
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2085
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
2084
2086
|
}
|
2085
2087
|
/**
|
2086
|
-
* Parse the location from
|
2088
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
2087
2089
|
*
|
2088
|
-
* @param {string}
|
2089
|
-
* A fully-qualified path representing
|
2090
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2091
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2090
2092
|
* @returns {string} A string representing the location.
|
2091
2093
|
*/
|
2092
|
-
|
2093
|
-
return this.pathTemplates.
|
2094
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2095
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
2094
2096
|
}
|
2095
2097
|
/**
|
2096
|
-
* Parse the collection from
|
2098
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
2097
2099
|
*
|
2098
|
-
* @param {string}
|
2099
|
-
* A fully-qualified path representing
|
2100
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2101
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2100
2102
|
* @returns {string} A string representing the collection.
|
2101
2103
|
*/
|
2102
|
-
|
2103
|
-
return this.pathTemplates.
|
2104
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2105
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
2104
2106
|
}
|
2105
2107
|
/**
|
2106
|
-
* Parse the engine from
|
2108
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
2107
2109
|
*
|
2108
|
-
* @param {string}
|
2109
|
-
* A fully-qualified path representing
|
2110
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2111
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2110
2112
|
* @returns {string} A string representing the engine.
|
2111
2113
|
*/
|
2112
|
-
|
2113
|
-
return this.pathTemplates.
|
2114
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2115
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
2114
2116
|
}
|
2115
2117
|
/**
|
2116
|
-
* Parse the session from
|
2118
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
2117
2119
|
*
|
2118
|
-
* @param {string}
|
2119
|
-
* A fully-qualified path representing
|
2120
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2121
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2120
2122
|
* @returns {string} A string representing the session.
|
2121
2123
|
*/
|
2122
|
-
|
2123
|
-
return this.pathTemplates.
|
2124
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2125
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
2124
2126
|
}
|
2125
2127
|
/**
|
2126
|
-
*
|
2128
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2129
|
+
*
|
2130
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2131
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2132
|
+
* @returns {string} A string representing the answer.
|
2133
|
+
*/
|
2134
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2135
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2136
|
+
}
|
2137
|
+
/**
|
2138
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
2127
2139
|
*
|
2128
2140
|
* @param {string} project
|
2129
2141
|
* @param {string} location
|
2130
2142
|
* @param {string} collection
|
2131
2143
|
* @param {string} engine
|
2132
2144
|
* @param {string} session
|
2133
|
-
* @param {string} answer
|
2134
2145
|
* @returns {string} Resource name string.
|
2135
2146
|
*/
|
2136
|
-
|
2137
|
-
return this.pathTemplates.
|
2147
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
2148
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
2138
2149
|
project: project,
|
2139
2150
|
location: location,
|
2140
2151
|
collection: collection,
|
2141
2152
|
engine: engine,
|
2142
2153
|
session: session,
|
2143
|
-
answer: answer,
|
2144
2154
|
});
|
2145
2155
|
}
|
2146
2156
|
/**
|
2147
|
-
* Parse the project from
|
2157
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
2148
2158
|
*
|
2149
|
-
* @param {string}
|
2150
|
-
* A fully-qualified path representing
|
2159
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2160
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2151
2161
|
* @returns {string} A string representing the project.
|
2152
2162
|
*/
|
2153
|
-
|
2154
|
-
return this.pathTemplates.
|
2163
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2164
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
2155
2165
|
}
|
2156
2166
|
/**
|
2157
|
-
* Parse the location from
|
2167
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
2158
2168
|
*
|
2159
|
-
* @param {string}
|
2160
|
-
* A fully-qualified path representing
|
2169
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2170
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2161
2171
|
* @returns {string} A string representing the location.
|
2162
2172
|
*/
|
2163
|
-
|
2164
|
-
return this.pathTemplates.
|
2173
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2174
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
2165
2175
|
}
|
2166
2176
|
/**
|
2167
|
-
* Parse the collection from
|
2177
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
2168
2178
|
*
|
2169
|
-
* @param {string}
|
2170
|
-
* A fully-qualified path representing
|
2179
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2180
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2171
2181
|
* @returns {string} A string representing the collection.
|
2172
2182
|
*/
|
2173
|
-
|
2174
|
-
return this.pathTemplates.
|
2183
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2184
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
2175
2185
|
}
|
2176
2186
|
/**
|
2177
|
-
* Parse the engine from
|
2187
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
2178
2188
|
*
|
2179
|
-
* @param {string}
|
2180
|
-
* A fully-qualified path representing
|
2189
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2190
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2181
2191
|
* @returns {string} A string representing the engine.
|
2182
2192
|
*/
|
2183
|
-
|
2184
|
-
return this.pathTemplates.
|
2193
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2194
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
2185
2195
|
}
|
2186
2196
|
/**
|
2187
|
-
* Parse the session from
|
2197
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
2188
2198
|
*
|
2189
|
-
* @param {string}
|
2190
|
-
* A fully-qualified path representing
|
2199
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2200
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2191
2201
|
* @returns {string} A string representing the session.
|
2192
2202
|
*/
|
2193
|
-
|
2194
|
-
return this.pathTemplates.
|
2195
|
-
}
|
2196
|
-
/**
|
2197
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2198
|
-
*
|
2199
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2200
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2201
|
-
* @returns {string} A string representing the answer.
|
2202
|
-
*/
|
2203
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2204
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2203
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2204
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
2205
2205
|
}
|
2206
2206
|
/**
|
2207
2207
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -2728,63 +2728,6 @@ class SampleQuerySetServiceClient {
|
|
2728
2728
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2729
2729
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
2730
2730
|
}
|
2731
|
-
/**
|
2732
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
2733
|
-
*
|
2734
|
-
* @param {string} project
|
2735
|
-
* @param {string} location
|
2736
|
-
* @param {string} data_store
|
2737
|
-
* @param {string} session
|
2738
|
-
* @returns {string} Resource name string.
|
2739
|
-
*/
|
2740
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
2741
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
2742
|
-
project: project,
|
2743
|
-
location: location,
|
2744
|
-
data_store: dataStore,
|
2745
|
-
session: session,
|
2746
|
-
});
|
2747
|
-
}
|
2748
|
-
/**
|
2749
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
2750
|
-
*
|
2751
|
-
* @param {string} projectLocationDataStoreSessionName
|
2752
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2753
|
-
* @returns {string} A string representing the project.
|
2754
|
-
*/
|
2755
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2756
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
2757
|
-
}
|
2758
|
-
/**
|
2759
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
2760
|
-
*
|
2761
|
-
* @param {string} projectLocationDataStoreSessionName
|
2762
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2763
|
-
* @returns {string} A string representing the location.
|
2764
|
-
*/
|
2765
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2766
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
2767
|
-
}
|
2768
|
-
/**
|
2769
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
2770
|
-
*
|
2771
|
-
* @param {string} projectLocationDataStoreSessionName
|
2772
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2773
|
-
* @returns {string} A string representing the data_store.
|
2774
|
-
*/
|
2775
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2776
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
2777
|
-
}
|
2778
|
-
/**
|
2779
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
2780
|
-
*
|
2781
|
-
* @param {string} projectLocationDataStoreSessionName
|
2782
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2783
|
-
* @returns {string} A string representing the session.
|
2784
|
-
*/
|
2785
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2786
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
2787
|
-
}
|
2788
2731
|
/**
|
2789
2732
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
2790
2733
|
*
|
@@ -2854,6 +2797,63 @@ class SampleQuerySetServiceClient {
|
|
2854
2797
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2855
2798
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
2856
2799
|
}
|
2800
|
+
/**
|
2801
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
2802
|
+
*
|
2803
|
+
* @param {string} project
|
2804
|
+
* @param {string} location
|
2805
|
+
* @param {string} data_store
|
2806
|
+
* @param {string} session
|
2807
|
+
* @returns {string} Resource name string.
|
2808
|
+
*/
|
2809
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
2810
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
2811
|
+
project: project,
|
2812
|
+
location: location,
|
2813
|
+
data_store: dataStore,
|
2814
|
+
session: session,
|
2815
|
+
});
|
2816
|
+
}
|
2817
|
+
/**
|
2818
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
2819
|
+
*
|
2820
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2821
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2822
|
+
* @returns {string} A string representing the project.
|
2823
|
+
*/
|
2824
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2825
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
2826
|
+
}
|
2827
|
+
/**
|
2828
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
2829
|
+
*
|
2830
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2831
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2832
|
+
* @returns {string} A string representing the location.
|
2833
|
+
*/
|
2834
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2835
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
2836
|
+
}
|
2837
|
+
/**
|
2838
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
2839
|
+
*
|
2840
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2841
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2842
|
+
* @returns {string} A string representing the data_store.
|
2843
|
+
*/
|
2844
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2845
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
2846
|
+
}
|
2847
|
+
/**
|
2848
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
2849
|
+
*
|
2850
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2851
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2852
|
+
* @returns {string} A string representing the session.
|
2853
|
+
*/
|
2854
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2855
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
2856
|
+
}
|
2857
2857
|
/**
|
2858
2858
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
2859
2859
|
*
|
@@ -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",
|