@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
@@ -176,15 +176,15 @@ class GroundedGenerationServiceClient {
|
|
176
176
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
177
177
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
178
178
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
179
|
-
projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
180
179
|
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
180
|
+
projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
181
181
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
182
182
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
183
183
|
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
184
184
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
185
185
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
186
|
-
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
187
186
|
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
187
|
+
projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
188
188
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
189
189
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
190
190
|
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -194,8 +194,8 @@ class GroundedGenerationServiceClient {
|
|
194
194
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
195
195
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
196
196
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
197
|
-
projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
198
197
|
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
198
|
+
projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
199
199
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
200
200
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
201
201
|
sampleQueryPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}'),
|
@@ -1240,154 +1240,154 @@ class GroundedGenerationServiceClient {
|
|
1240
1240
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1241
1241
|
}
|
1242
1242
|
/**
|
1243
|
-
* Return a fully-qualified
|
1243
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1244
1244
|
*
|
1245
1245
|
* @param {string} project
|
1246
1246
|
* @param {string} location
|
1247
1247
|
* @param {string} collection
|
1248
1248
|
* @param {string} data_store
|
1249
1249
|
* @param {string} session
|
1250
|
+
* @param {string} answer
|
1250
1251
|
* @returns {string} Resource name string.
|
1251
1252
|
*/
|
1252
|
-
|
1253
|
-
return this.pathTemplates.
|
1253
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1254
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1254
1255
|
project: project,
|
1255
1256
|
location: location,
|
1256
1257
|
collection: collection,
|
1257
1258
|
data_store: dataStore,
|
1258
1259
|
session: session,
|
1260
|
+
answer: answer,
|
1259
1261
|
});
|
1260
1262
|
}
|
1261
1263
|
/**
|
1262
|
-
* Parse the project from
|
1264
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1263
1265
|
*
|
1264
|
-
* @param {string}
|
1265
|
-
* A fully-qualified path representing
|
1266
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1267
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1266
1268
|
* @returns {string} A string representing the project.
|
1267
1269
|
*/
|
1268
|
-
|
1269
|
-
return this.pathTemplates.
|
1270
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1271
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1270
1272
|
}
|
1271
1273
|
/**
|
1272
|
-
* Parse the location from
|
1274
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1273
1275
|
*
|
1274
|
-
* @param {string}
|
1275
|
-
* A fully-qualified path representing
|
1276
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1277
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1276
1278
|
* @returns {string} A string representing the location.
|
1277
1279
|
*/
|
1278
|
-
|
1279
|
-
return this.pathTemplates.
|
1280
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1281
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1280
1282
|
}
|
1281
1283
|
/**
|
1282
|
-
* Parse the collection from
|
1284
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1283
1285
|
*
|
1284
|
-
* @param {string}
|
1285
|
-
* A fully-qualified path representing
|
1286
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1287
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1286
1288
|
* @returns {string} A string representing the collection.
|
1287
1289
|
*/
|
1288
|
-
|
1289
|
-
return this.pathTemplates.
|
1290
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1291
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1290
1292
|
}
|
1291
1293
|
/**
|
1292
|
-
* Parse the data_store from
|
1294
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1293
1295
|
*
|
1294
|
-
* @param {string}
|
1295
|
-
* A fully-qualified path representing
|
1296
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1297
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1296
1298
|
* @returns {string} A string representing the data_store.
|
1297
1299
|
*/
|
1298
|
-
|
1299
|
-
return this.pathTemplates.
|
1300
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1301
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1300
1302
|
}
|
1301
1303
|
/**
|
1302
|
-
* Parse the session from
|
1304
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1303
1305
|
*
|
1304
|
-
* @param {string}
|
1305
|
-
* A fully-qualified path representing
|
1306
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1307
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1306
1308
|
* @returns {string} A string representing the session.
|
1307
1309
|
*/
|
1308
|
-
|
1309
|
-
return this.pathTemplates.
|
1310
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1311
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1310
1312
|
}
|
1311
1313
|
/**
|
1312
|
-
*
|
1314
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1315
|
+
*
|
1316
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1317
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1318
|
+
* @returns {string} A string representing the answer.
|
1319
|
+
*/
|
1320
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1321
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1322
|
+
}
|
1323
|
+
/**
|
1324
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
1313
1325
|
*
|
1314
1326
|
* @param {string} project
|
1315
1327
|
* @param {string} location
|
1316
1328
|
* @param {string} collection
|
1317
1329
|
* @param {string} data_store
|
1318
1330
|
* @param {string} session
|
1319
|
-
* @param {string} answer
|
1320
1331
|
* @returns {string} Resource name string.
|
1321
1332
|
*/
|
1322
|
-
|
1323
|
-
return this.pathTemplates.
|
1333
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
1334
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
1324
1335
|
project: project,
|
1325
1336
|
location: location,
|
1326
1337
|
collection: collection,
|
1327
1338
|
data_store: dataStore,
|
1328
1339
|
session: session,
|
1329
|
-
answer: answer,
|
1330
1340
|
});
|
1331
1341
|
}
|
1332
1342
|
/**
|
1333
|
-
* Parse the project from
|
1343
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
1334
1344
|
*
|
1335
|
-
* @param {string}
|
1336
|
-
* A fully-qualified path representing
|
1345
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1346
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1337
1347
|
* @returns {string} A string representing the project.
|
1338
1348
|
*/
|
1339
|
-
|
1340
|
-
return this.pathTemplates.
|
1349
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1350
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
1341
1351
|
}
|
1342
1352
|
/**
|
1343
|
-
* Parse the location from
|
1353
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
1344
1354
|
*
|
1345
|
-
* @param {string}
|
1346
|
-
* A fully-qualified path representing
|
1355
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1356
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1347
1357
|
* @returns {string} A string representing the location.
|
1348
1358
|
*/
|
1349
|
-
|
1350
|
-
return this.pathTemplates.
|
1359
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1360
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
1351
1361
|
}
|
1352
1362
|
/**
|
1353
|
-
* Parse the collection from
|
1363
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
1354
1364
|
*
|
1355
|
-
* @param {string}
|
1356
|
-
* A fully-qualified path representing
|
1365
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1366
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1357
1367
|
* @returns {string} A string representing the collection.
|
1358
1368
|
*/
|
1359
|
-
|
1360
|
-
return this.pathTemplates.
|
1369
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1370
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
1361
1371
|
}
|
1362
1372
|
/**
|
1363
|
-
* Parse the data_store from
|
1373
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
1364
1374
|
*
|
1365
|
-
* @param {string}
|
1366
|
-
* A fully-qualified path representing
|
1375
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1376
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1367
1377
|
* @returns {string} A string representing the data_store.
|
1368
1378
|
*/
|
1369
|
-
|
1370
|
-
return this.pathTemplates.
|
1379
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1380
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
1371
1381
|
}
|
1372
1382
|
/**
|
1373
|
-
* Parse the session from
|
1383
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
1374
1384
|
*
|
1375
|
-
* @param {string}
|
1376
|
-
* A fully-qualified path representing
|
1385
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1386
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1377
1387
|
* @returns {string} A string representing the session.
|
1378
1388
|
*/
|
1379
|
-
|
1380
|
-
return this.pathTemplates.
|
1381
|
-
}
|
1382
|
-
/**
|
1383
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1384
|
-
*
|
1385
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1386
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1387
|
-
* @returns {string} A string representing the answer.
|
1388
|
-
*/
|
1389
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1390
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1389
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1390
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
1391
1391
|
}
|
1392
1392
|
/**
|
1393
1393
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -1723,154 +1723,154 @@ class GroundedGenerationServiceClient {
|
|
1723
1723
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
1724
1724
|
}
|
1725
1725
|
/**
|
1726
|
-
* Return a fully-qualified
|
1726
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
1727
1727
|
*
|
1728
1728
|
* @param {string} project
|
1729
1729
|
* @param {string} location
|
1730
1730
|
* @param {string} collection
|
1731
1731
|
* @param {string} engine
|
1732
1732
|
* @param {string} session
|
1733
|
+
* @param {string} answer
|
1733
1734
|
* @returns {string} Resource name string.
|
1734
1735
|
*/
|
1735
|
-
|
1736
|
-
return this.pathTemplates.
|
1736
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
1737
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
1737
1738
|
project: project,
|
1738
1739
|
location: location,
|
1739
1740
|
collection: collection,
|
1740
1741
|
engine: engine,
|
1741
1742
|
session: session,
|
1743
|
+
answer: answer,
|
1742
1744
|
});
|
1743
1745
|
}
|
1744
1746
|
/**
|
1745
|
-
* Parse the project from
|
1747
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
1746
1748
|
*
|
1747
|
-
* @param {string}
|
1748
|
-
* A fully-qualified path representing
|
1749
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1750
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1749
1751
|
* @returns {string} A string representing the project.
|
1750
1752
|
*/
|
1751
|
-
|
1752
|
-
return this.pathTemplates.
|
1753
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1754
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
1753
1755
|
}
|
1754
1756
|
/**
|
1755
|
-
* Parse the location from
|
1757
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
1756
1758
|
*
|
1757
|
-
* @param {string}
|
1758
|
-
* A fully-qualified path representing
|
1759
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1760
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1759
1761
|
* @returns {string} A string representing the location.
|
1760
1762
|
*/
|
1761
|
-
|
1762
|
-
return this.pathTemplates.
|
1763
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1764
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
1763
1765
|
}
|
1764
1766
|
/**
|
1765
|
-
* Parse the collection from
|
1767
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
1766
1768
|
*
|
1767
|
-
* @param {string}
|
1768
|
-
* A fully-qualified path representing
|
1769
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1770
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1769
1771
|
* @returns {string} A string representing the collection.
|
1770
1772
|
*/
|
1771
|
-
|
1772
|
-
return this.pathTemplates.
|
1773
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1774
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
1773
1775
|
}
|
1774
1776
|
/**
|
1775
|
-
* Parse the engine from
|
1777
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
1776
1778
|
*
|
1777
|
-
* @param {string}
|
1778
|
-
* A fully-qualified path representing
|
1779
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1780
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1779
1781
|
* @returns {string} A string representing the engine.
|
1780
1782
|
*/
|
1781
|
-
|
1782
|
-
return this.pathTemplates.
|
1783
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1784
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
1783
1785
|
}
|
1784
1786
|
/**
|
1785
|
-
* Parse the session from
|
1787
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
1786
1788
|
*
|
1787
|
-
* @param {string}
|
1788
|
-
* A fully-qualified path representing
|
1789
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1790
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1789
1791
|
* @returns {string} A string representing the session.
|
1790
1792
|
*/
|
1791
|
-
|
1792
|
-
return this.pathTemplates.
|
1793
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1794
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
1793
1795
|
}
|
1794
1796
|
/**
|
1795
|
-
*
|
1797
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
1798
|
+
*
|
1799
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1800
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1801
|
+
* @returns {string} A string representing the answer.
|
1802
|
+
*/
|
1803
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1804
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
1805
|
+
}
|
1806
|
+
/**
|
1807
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
1796
1808
|
*
|
1797
1809
|
* @param {string} project
|
1798
1810
|
* @param {string} location
|
1799
1811
|
* @param {string} collection
|
1800
1812
|
* @param {string} engine
|
1801
1813
|
* @param {string} session
|
1802
|
-
* @param {string} answer
|
1803
1814
|
* @returns {string} Resource name string.
|
1804
1815
|
*/
|
1805
|
-
|
1806
|
-
return this.pathTemplates.
|
1816
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
1817
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
1807
1818
|
project: project,
|
1808
1819
|
location: location,
|
1809
1820
|
collection: collection,
|
1810
1821
|
engine: engine,
|
1811
1822
|
session: session,
|
1812
|
-
answer: answer,
|
1813
1823
|
});
|
1814
1824
|
}
|
1815
1825
|
/**
|
1816
|
-
* Parse the project from
|
1826
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
1817
1827
|
*
|
1818
|
-
* @param {string}
|
1819
|
-
* A fully-qualified path representing
|
1828
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
1829
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1820
1830
|
* @returns {string} A string representing the project.
|
1821
1831
|
*/
|
1822
|
-
|
1823
|
-
return this.pathTemplates.
|
1832
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
1833
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
1824
1834
|
}
|
1825
1835
|
/**
|
1826
|
-
* Parse the location from
|
1836
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
1827
1837
|
*
|
1828
|
-
* @param {string}
|
1829
|
-
* A fully-qualified path representing
|
1838
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
1839
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1830
1840
|
* @returns {string} A string representing the location.
|
1831
1841
|
*/
|
1832
|
-
|
1833
|
-
return this.pathTemplates.
|
1842
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
1843
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
1834
1844
|
}
|
1835
1845
|
/**
|
1836
|
-
* Parse the collection from
|
1846
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
1837
1847
|
*
|
1838
|
-
* @param {string}
|
1839
|
-
* A fully-qualified path representing
|
1848
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
1849
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1840
1850
|
* @returns {string} A string representing the collection.
|
1841
1851
|
*/
|
1842
|
-
|
1843
|
-
return this.pathTemplates.
|
1852
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
1853
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
1844
1854
|
}
|
1845
1855
|
/**
|
1846
|
-
* Parse the engine from
|
1856
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
1847
1857
|
*
|
1848
|
-
* @param {string}
|
1849
|
-
* A fully-qualified path representing
|
1858
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
1859
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1850
1860
|
* @returns {string} A string representing the engine.
|
1851
1861
|
*/
|
1852
|
-
|
1853
|
-
return this.pathTemplates.
|
1862
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
1863
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
1854
1864
|
}
|
1855
1865
|
/**
|
1856
|
-
* Parse the session from
|
1866
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
1857
1867
|
*
|
1858
|
-
* @param {string}
|
1859
|
-
* A fully-qualified path representing
|
1868
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
1869
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1860
1870
|
* @returns {string} A string representing the session.
|
1861
1871
|
*/
|
1862
|
-
|
1863
|
-
return this.pathTemplates.
|
1864
|
-
}
|
1865
|
-
/**
|
1866
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
1867
|
-
*
|
1868
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1869
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1870
|
-
* @returns {string} A string representing the answer.
|
1871
|
-
*/
|
1872
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1873
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
1872
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
1873
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
1874
1874
|
}
|
1875
1875
|
/**
|
1876
1876
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -2397,63 +2397,6 @@ class GroundedGenerationServiceClient {
|
|
2397
2397
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2398
2398
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
2399
2399
|
}
|
2400
|
-
/**
|
2401
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
2402
|
-
*
|
2403
|
-
* @param {string} project
|
2404
|
-
* @param {string} location
|
2405
|
-
* @param {string} data_store
|
2406
|
-
* @param {string} session
|
2407
|
-
* @returns {string} Resource name string.
|
2408
|
-
*/
|
2409
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
2410
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
2411
|
-
project: project,
|
2412
|
-
location: location,
|
2413
|
-
data_store: dataStore,
|
2414
|
-
session: session,
|
2415
|
-
});
|
2416
|
-
}
|
2417
|
-
/**
|
2418
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
2419
|
-
*
|
2420
|
-
* @param {string} projectLocationDataStoreSessionName
|
2421
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2422
|
-
* @returns {string} A string representing the project.
|
2423
|
-
*/
|
2424
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2425
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
2426
|
-
}
|
2427
|
-
/**
|
2428
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
2429
|
-
*
|
2430
|
-
* @param {string} projectLocationDataStoreSessionName
|
2431
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2432
|
-
* @returns {string} A string representing the location.
|
2433
|
-
*/
|
2434
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2435
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
2436
|
-
}
|
2437
|
-
/**
|
2438
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
2439
|
-
*
|
2440
|
-
* @param {string} projectLocationDataStoreSessionName
|
2441
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2442
|
-
* @returns {string} A string representing the data_store.
|
2443
|
-
*/
|
2444
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2445
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
2446
|
-
}
|
2447
|
-
/**
|
2448
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
2449
|
-
*
|
2450
|
-
* @param {string} projectLocationDataStoreSessionName
|
2451
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2452
|
-
* @returns {string} A string representing the session.
|
2453
|
-
*/
|
2454
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2455
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
2456
|
-
}
|
2457
2400
|
/**
|
2458
2401
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
2459
2402
|
*
|
@@ -2523,6 +2466,63 @@ class GroundedGenerationServiceClient {
|
|
2523
2466
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2524
2467
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
2525
2468
|
}
|
2469
|
+
/**
|
2470
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
2471
|
+
*
|
2472
|
+
* @param {string} project
|
2473
|
+
* @param {string} location
|
2474
|
+
* @param {string} data_store
|
2475
|
+
* @param {string} session
|
2476
|
+
* @returns {string} Resource name string.
|
2477
|
+
*/
|
2478
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
2479
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
2480
|
+
project: project,
|
2481
|
+
location: location,
|
2482
|
+
data_store: dataStore,
|
2483
|
+
session: session,
|
2484
|
+
});
|
2485
|
+
}
|
2486
|
+
/**
|
2487
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
2488
|
+
*
|
2489
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2490
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2491
|
+
* @returns {string} A string representing the project.
|
2492
|
+
*/
|
2493
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2494
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
2495
|
+
}
|
2496
|
+
/**
|
2497
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
2498
|
+
*
|
2499
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2500
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2501
|
+
* @returns {string} A string representing the location.
|
2502
|
+
*/
|
2503
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2504
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
2505
|
+
}
|
2506
|
+
/**
|
2507
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
2508
|
+
*
|
2509
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2510
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2511
|
+
* @returns {string} A string representing the data_store.
|
2512
|
+
*/
|
2513
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2514
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
2515
|
+
}
|
2516
|
+
/**
|
2517
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
2518
|
+
*
|
2519
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2520
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2521
|
+
* @returns {string} A string representing the session.
|
2522
|
+
*/
|
2523
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2524
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
2525
|
+
}
|
2526
2526
|
/**
|
2527
2527
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
2528
2528
|
*
|
@@ -41,6 +41,7 @@
|
|
41
41
|
"../../protos/google/cloud/discoveryengine/v1alpha/serving_config.proto",
|
42
42
|
"../../protos/google/cloud/discoveryengine/v1alpha/serving_config_service.proto",
|
43
43
|
"../../protos/google/cloud/discoveryengine/v1alpha/session.proto",
|
44
|
+
"../../protos/google/cloud/discoveryengine/v1alpha/session_service.proto",
|
44
45
|
"../../protos/google/cloud/discoveryengine/v1alpha/site_search_engine.proto",
|
45
46
|
"../../protos/google/cloud/discoveryengine/v1alpha/site_search_engine_service.proto",
|
46
47
|
"../../protos/google/cloud/discoveryengine/v1alpha/user_event.proto",
|
@@ -18,5 +18,6 @@ export { SchemaServiceClient } from './schema_service_client';
|
|
18
18
|
export { SearchServiceClient } from './search_service_client';
|
19
19
|
export { SearchTuningServiceClient } from './search_tuning_service_client';
|
20
20
|
export { ServingConfigServiceClient } from './serving_config_service_client';
|
21
|
+
export { SessionServiceClient } from './session_service_client';
|
21
22
|
export { SiteSearchEngineServiceClient } from './site_search_engine_service_client';
|
22
23
|
export { UserEventServiceClient } from './user_event_service_client';
|