@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 GroundedGenerationServiceClient {
|
|
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 GroundedGenerationServiceClient {
|
|
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}'),
|
@@ -1311,154 +1311,154 @@ class GroundedGenerationServiceClient {
|
|
1311
1311
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1312
1312
|
}
|
1313
1313
|
/**
|
1314
|
-
* Return a fully-qualified
|
1314
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1315
1315
|
*
|
1316
1316
|
* @param {string} project
|
1317
1317
|
* @param {string} location
|
1318
1318
|
* @param {string} collection
|
1319
1319
|
* @param {string} data_store
|
1320
1320
|
* @param {string} session
|
1321
|
+
* @param {string} answer
|
1321
1322
|
* @returns {string} Resource name string.
|
1322
1323
|
*/
|
1323
|
-
|
1324
|
-
return this.pathTemplates.
|
1324
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1325
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1325
1326
|
project: project,
|
1326
1327
|
location: location,
|
1327
1328
|
collection: collection,
|
1328
1329
|
data_store: dataStore,
|
1329
1330
|
session: session,
|
1331
|
+
answer: answer,
|
1330
1332
|
});
|
1331
1333
|
}
|
1332
1334
|
/**
|
1333
|
-
* Parse the project from
|
1335
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1334
1336
|
*
|
1335
|
-
* @param {string}
|
1336
|
-
* A fully-qualified path representing
|
1337
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1338
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1337
1339
|
* @returns {string} A string representing the project.
|
1338
1340
|
*/
|
1339
|
-
|
1340
|
-
return this.pathTemplates.
|
1341
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1342
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1341
1343
|
}
|
1342
1344
|
/**
|
1343
|
-
* Parse the location from
|
1345
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1344
1346
|
*
|
1345
|
-
* @param {string}
|
1346
|
-
* A fully-qualified path representing
|
1347
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1348
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1347
1349
|
* @returns {string} A string representing the location.
|
1348
1350
|
*/
|
1349
|
-
|
1350
|
-
return this.pathTemplates.
|
1351
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1352
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1351
1353
|
}
|
1352
1354
|
/**
|
1353
|
-
* Parse the collection from
|
1355
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1354
1356
|
*
|
1355
|
-
* @param {string}
|
1356
|
-
* A fully-qualified path representing
|
1357
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1358
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1357
1359
|
* @returns {string} A string representing the collection.
|
1358
1360
|
*/
|
1359
|
-
|
1360
|
-
return this.pathTemplates.
|
1361
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1362
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1361
1363
|
}
|
1362
1364
|
/**
|
1363
|
-
* Parse the data_store from
|
1365
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1364
1366
|
*
|
1365
|
-
* @param {string}
|
1366
|
-
* A fully-qualified path representing
|
1367
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1368
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1367
1369
|
* @returns {string} A string representing the data_store.
|
1368
1370
|
*/
|
1369
|
-
|
1370
|
-
return this.pathTemplates.
|
1371
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1372
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1371
1373
|
}
|
1372
1374
|
/**
|
1373
|
-
* Parse the session from
|
1375
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1374
1376
|
*
|
1375
|
-
* @param {string}
|
1376
|
-
* A fully-qualified path representing
|
1377
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1378
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1377
1379
|
* @returns {string} A string representing the session.
|
1378
1380
|
*/
|
1379
|
-
|
1380
|
-
return this.pathTemplates.
|
1381
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1382
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1381
1383
|
}
|
1382
1384
|
/**
|
1383
|
-
*
|
1385
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1386
|
+
*
|
1387
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1388
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1389
|
+
* @returns {string} A string representing the answer.
|
1390
|
+
*/
|
1391
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1392
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1393
|
+
}
|
1394
|
+
/**
|
1395
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
1384
1396
|
*
|
1385
1397
|
* @param {string} project
|
1386
1398
|
* @param {string} location
|
1387
1399
|
* @param {string} collection
|
1388
1400
|
* @param {string} data_store
|
1389
1401
|
* @param {string} session
|
1390
|
-
* @param {string} answer
|
1391
1402
|
* @returns {string} Resource name string.
|
1392
1403
|
*/
|
1393
|
-
|
1394
|
-
return this.pathTemplates.
|
1404
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
1405
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
1395
1406
|
project: project,
|
1396
1407
|
location: location,
|
1397
1408
|
collection: collection,
|
1398
1409
|
data_store: dataStore,
|
1399
1410
|
session: session,
|
1400
|
-
answer: answer,
|
1401
1411
|
});
|
1402
1412
|
}
|
1403
1413
|
/**
|
1404
|
-
* Parse the project from
|
1414
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
1405
1415
|
*
|
1406
|
-
* @param {string}
|
1407
|
-
* A fully-qualified path representing
|
1416
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1417
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1408
1418
|
* @returns {string} A string representing the project.
|
1409
1419
|
*/
|
1410
|
-
|
1411
|
-
return this.pathTemplates.
|
1420
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1421
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
1412
1422
|
}
|
1413
1423
|
/**
|
1414
|
-
* Parse the location from
|
1424
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
1415
1425
|
*
|
1416
|
-
* @param {string}
|
1417
|
-
* A fully-qualified path representing
|
1426
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1427
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1418
1428
|
* @returns {string} A string representing the location.
|
1419
1429
|
*/
|
1420
|
-
|
1421
|
-
return this.pathTemplates.
|
1430
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1431
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
1422
1432
|
}
|
1423
1433
|
/**
|
1424
|
-
* Parse the collection from
|
1434
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
1425
1435
|
*
|
1426
|
-
* @param {string}
|
1427
|
-
* A fully-qualified path representing
|
1436
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1437
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1428
1438
|
* @returns {string} A string representing the collection.
|
1429
1439
|
*/
|
1430
|
-
|
1431
|
-
return this.pathTemplates.
|
1440
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1441
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
1432
1442
|
}
|
1433
1443
|
/**
|
1434
|
-
* Parse the data_store from
|
1444
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
1435
1445
|
*
|
1436
|
-
* @param {string}
|
1437
|
-
* A fully-qualified path representing
|
1446
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1447
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1438
1448
|
* @returns {string} A string representing the data_store.
|
1439
1449
|
*/
|
1440
|
-
|
1441
|
-
return this.pathTemplates.
|
1450
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1451
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
1442
1452
|
}
|
1443
1453
|
/**
|
1444
|
-
* Parse the session from
|
1454
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
1445
1455
|
*
|
1446
|
-
* @param {string}
|
1447
|
-
* A fully-qualified path representing
|
1456
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1457
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1448
1458
|
* @returns {string} A string representing the session.
|
1449
1459
|
*/
|
1450
|
-
|
1451
|
-
return this.pathTemplates.
|
1452
|
-
}
|
1453
|
-
/**
|
1454
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1455
|
-
*
|
1456
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1457
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1458
|
-
* @returns {string} A string representing the answer.
|
1459
|
-
*/
|
1460
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1461
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1460
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1461
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
1462
1462
|
}
|
1463
1463
|
/**
|
1464
1464
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -1863,154 +1863,154 @@ class GroundedGenerationServiceClient {
|
|
1863
1863
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
1864
1864
|
}
|
1865
1865
|
/**
|
1866
|
-
* Return a fully-qualified
|
1866
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
1867
1867
|
*
|
1868
1868
|
* @param {string} project
|
1869
1869
|
* @param {string} location
|
1870
1870
|
* @param {string} collection
|
1871
1871
|
* @param {string} engine
|
1872
1872
|
* @param {string} session
|
1873
|
+
* @param {string} answer
|
1873
1874
|
* @returns {string} Resource name string.
|
1874
1875
|
*/
|
1875
|
-
|
1876
|
-
return this.pathTemplates.
|
1876
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
1877
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
1877
1878
|
project: project,
|
1878
1879
|
location: location,
|
1879
1880
|
collection: collection,
|
1880
1881
|
engine: engine,
|
1881
1882
|
session: session,
|
1883
|
+
answer: answer,
|
1882
1884
|
});
|
1883
1885
|
}
|
1884
1886
|
/**
|
1885
|
-
* Parse the project from
|
1887
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
1886
1888
|
*
|
1887
|
-
* @param {string}
|
1888
|
-
* A fully-qualified path representing
|
1889
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1890
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1889
1891
|
* @returns {string} A string representing the project.
|
1890
1892
|
*/
|
1891
|
-
|
1892
|
-
return this.pathTemplates.
|
1893
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1894
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
1893
1895
|
}
|
1894
1896
|
/**
|
1895
|
-
* Parse the location from
|
1897
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
1896
1898
|
*
|
1897
|
-
* @param {string}
|
1898
|
-
* A fully-qualified path representing
|
1899
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1900
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1899
1901
|
* @returns {string} A string representing the location.
|
1900
1902
|
*/
|
1901
|
-
|
1902
|
-
return this.pathTemplates.
|
1903
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1904
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
1903
1905
|
}
|
1904
1906
|
/**
|
1905
|
-
* Parse the collection from
|
1907
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
1906
1908
|
*
|
1907
|
-
* @param {string}
|
1908
|
-
* A fully-qualified path representing
|
1909
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1910
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1909
1911
|
* @returns {string} A string representing the collection.
|
1910
1912
|
*/
|
1911
|
-
|
1912
|
-
return this.pathTemplates.
|
1913
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1914
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
1913
1915
|
}
|
1914
1916
|
/**
|
1915
|
-
* Parse the engine from
|
1917
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
1916
1918
|
*
|
1917
|
-
* @param {string}
|
1918
|
-
* A fully-qualified path representing
|
1919
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1920
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1919
1921
|
* @returns {string} A string representing the engine.
|
1920
1922
|
*/
|
1921
|
-
|
1922
|
-
return this.pathTemplates.
|
1923
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1924
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
1923
1925
|
}
|
1924
1926
|
/**
|
1925
|
-
* Parse the session from
|
1927
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
1926
1928
|
*
|
1927
|
-
* @param {string}
|
1928
|
-
* A fully-qualified path representing
|
1929
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1930
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1929
1931
|
* @returns {string} A string representing the session.
|
1930
1932
|
*/
|
1931
|
-
|
1932
|
-
return this.pathTemplates.
|
1933
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1934
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
1933
1935
|
}
|
1934
1936
|
/**
|
1935
|
-
*
|
1937
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
1938
|
+
*
|
1939
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1940
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1941
|
+
* @returns {string} A string representing the answer.
|
1942
|
+
*/
|
1943
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1944
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
1945
|
+
}
|
1946
|
+
/**
|
1947
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
1936
1948
|
*
|
1937
1949
|
* @param {string} project
|
1938
1950
|
* @param {string} location
|
1939
1951
|
* @param {string} collection
|
1940
1952
|
* @param {string} engine
|
1941
1953
|
* @param {string} session
|
1942
|
-
* @param {string} answer
|
1943
1954
|
* @returns {string} Resource name string.
|
1944
1955
|
*/
|
1945
|
-
|
1946
|
-
return this.pathTemplates.
|
1956
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
1957
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
1947
1958
|
project: project,
|
1948
1959
|
location: location,
|
1949
1960
|
collection: collection,
|
1950
1961
|
engine: engine,
|
1951
1962
|
session: session,
|
1952
|
-
answer: answer,
|
1953
1963
|
});
|
1954
1964
|
}
|
1955
1965
|
/**
|
1956
|
-
* Parse the project from
|
1966
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
1957
1967
|
*
|
1958
|
-
* @param {string}
|
1959
|
-
* A fully-qualified path representing
|
1968
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
1969
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1960
1970
|
* @returns {string} A string representing the project.
|
1961
1971
|
*/
|
1962
|
-
|
1963
|
-
return this.pathTemplates.
|
1972
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
1973
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
1964
1974
|
}
|
1965
1975
|
/**
|
1966
|
-
* Parse the location from
|
1976
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
1967
1977
|
*
|
1968
|
-
* @param {string}
|
1969
|
-
* A fully-qualified path representing
|
1978
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
1979
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1970
1980
|
* @returns {string} A string representing the location.
|
1971
1981
|
*/
|
1972
|
-
|
1973
|
-
return this.pathTemplates.
|
1982
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
1983
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
1974
1984
|
}
|
1975
1985
|
/**
|
1976
|
-
* Parse the collection from
|
1986
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
1977
1987
|
*
|
1978
|
-
* @param {string}
|
1979
|
-
* A fully-qualified path representing
|
1988
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
1989
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1980
1990
|
* @returns {string} A string representing the collection.
|
1981
1991
|
*/
|
1982
|
-
|
1983
|
-
return this.pathTemplates.
|
1992
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
1993
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
1984
1994
|
}
|
1985
1995
|
/**
|
1986
|
-
* Parse the engine from
|
1996
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
1987
1997
|
*
|
1988
|
-
* @param {string}
|
1989
|
-
* A fully-qualified path representing
|
1998
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
1999
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1990
2000
|
* @returns {string} A string representing the engine.
|
1991
2001
|
*/
|
1992
|
-
|
1993
|
-
return this.pathTemplates.
|
2002
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2003
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
1994
2004
|
}
|
1995
2005
|
/**
|
1996
|
-
* Parse the session from
|
2006
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
1997
2007
|
*
|
1998
|
-
* @param {string}
|
1999
|
-
* A fully-qualified path representing
|
2008
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2009
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2000
2010
|
* @returns {string} A string representing the session.
|
2001
2011
|
*/
|
2002
|
-
|
2003
|
-
return this.pathTemplates.
|
2004
|
-
}
|
2005
|
-
/**
|
2006
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2007
|
-
*
|
2008
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2009
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2010
|
-
* @returns {string} A string representing the answer.
|
2011
|
-
*/
|
2012
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2013
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2012
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2013
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
2014
2014
|
}
|
2015
2015
|
/**
|
2016
2016
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -2537,63 +2537,6 @@ class GroundedGenerationServiceClient {
|
|
2537
2537
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2538
2538
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
2539
2539
|
}
|
2540
|
-
/**
|
2541
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
2542
|
-
*
|
2543
|
-
* @param {string} project
|
2544
|
-
* @param {string} location
|
2545
|
-
* @param {string} data_store
|
2546
|
-
* @param {string} session
|
2547
|
-
* @returns {string} Resource name string.
|
2548
|
-
*/
|
2549
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
2550
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
2551
|
-
project: project,
|
2552
|
-
location: location,
|
2553
|
-
data_store: dataStore,
|
2554
|
-
session: session,
|
2555
|
-
});
|
2556
|
-
}
|
2557
|
-
/**
|
2558
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
2559
|
-
*
|
2560
|
-
* @param {string} projectLocationDataStoreSessionName
|
2561
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2562
|
-
* @returns {string} A string representing the project.
|
2563
|
-
*/
|
2564
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2565
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
2566
|
-
}
|
2567
|
-
/**
|
2568
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
2569
|
-
*
|
2570
|
-
* @param {string} projectLocationDataStoreSessionName
|
2571
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2572
|
-
* @returns {string} A string representing the location.
|
2573
|
-
*/
|
2574
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2575
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
2576
|
-
}
|
2577
|
-
/**
|
2578
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
2579
|
-
*
|
2580
|
-
* @param {string} projectLocationDataStoreSessionName
|
2581
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2582
|
-
* @returns {string} A string representing the data_store.
|
2583
|
-
*/
|
2584
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2585
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
2586
|
-
}
|
2587
|
-
/**
|
2588
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
2589
|
-
*
|
2590
|
-
* @param {string} projectLocationDataStoreSessionName
|
2591
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2592
|
-
* @returns {string} A string representing the session.
|
2593
|
-
*/
|
2594
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2595
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
2596
|
-
}
|
2597
2540
|
/**
|
2598
2541
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
2599
2542
|
*
|
@@ -2663,6 +2606,63 @@ class GroundedGenerationServiceClient {
|
|
2663
2606
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2664
2607
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
2665
2608
|
}
|
2609
|
+
/**
|
2610
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
2611
|
+
*
|
2612
|
+
* @param {string} project
|
2613
|
+
* @param {string} location
|
2614
|
+
* @param {string} data_store
|
2615
|
+
* @param {string} session
|
2616
|
+
* @returns {string} Resource name string.
|
2617
|
+
*/
|
2618
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
2619
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
2620
|
+
project: project,
|
2621
|
+
location: location,
|
2622
|
+
data_store: dataStore,
|
2623
|
+
session: session,
|
2624
|
+
});
|
2625
|
+
}
|
2626
|
+
/**
|
2627
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
2628
|
+
*
|
2629
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2630
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2631
|
+
* @returns {string} A string representing the project.
|
2632
|
+
*/
|
2633
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2634
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
2635
|
+
}
|
2636
|
+
/**
|
2637
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
2638
|
+
*
|
2639
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2640
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2641
|
+
* @returns {string} A string representing the location.
|
2642
|
+
*/
|
2643
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2644
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
2645
|
+
}
|
2646
|
+
/**
|
2647
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
2648
|
+
*
|
2649
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2650
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2651
|
+
* @returns {string} A string representing the data_store.
|
2652
|
+
*/
|
2653
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2654
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
2655
|
+
}
|
2656
|
+
/**
|
2657
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
2658
|
+
*
|
2659
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2660
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2661
|
+
* @returns {string} A string representing the session.
|
2662
|
+
*/
|
2663
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2664
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
2665
|
+
}
|
2666
2666
|
/**
|
2667
2667
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
2668
2668
|
*
|
@@ -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",
|
@@ -15,5 +15,6 @@ export { SchemaServiceClient } from './schema_service_client';
|
|
15
15
|
export { SearchServiceClient } from './search_service_client';
|
16
16
|
export { SearchTuningServiceClient } from './search_tuning_service_client';
|
17
17
|
export { ServingConfigServiceClient } from './serving_config_service_client';
|
18
|
+
export { SessionServiceClient } from './session_service_client';
|
18
19
|
export { SiteSearchEngineServiceClient } from './site_search_engine_service_client';
|
19
20
|
export { UserEventServiceClient } from './user_event_service_client';
|