@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 SearchTuningServiceClient {
|
|
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 SearchTuningServiceClient {
|
|
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}'),
|
@@ -1445,154 +1445,154 @@ class SearchTuningServiceClient {
|
|
1445
1445
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1446
1446
|
}
|
1447
1447
|
/**
|
1448
|
-
* Return a fully-qualified
|
1448
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1449
1449
|
*
|
1450
1450
|
* @param {string} project
|
1451
1451
|
* @param {string} location
|
1452
1452
|
* @param {string} collection
|
1453
1453
|
* @param {string} data_store
|
1454
1454
|
* @param {string} session
|
1455
|
+
* @param {string} answer
|
1455
1456
|
* @returns {string} Resource name string.
|
1456
1457
|
*/
|
1457
|
-
|
1458
|
-
return this.pathTemplates.
|
1458
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1459
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1459
1460
|
project: project,
|
1460
1461
|
location: location,
|
1461
1462
|
collection: collection,
|
1462
1463
|
data_store: dataStore,
|
1463
1464
|
session: session,
|
1465
|
+
answer: answer,
|
1464
1466
|
});
|
1465
1467
|
}
|
1466
1468
|
/**
|
1467
|
-
* Parse the project from
|
1469
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1468
1470
|
*
|
1469
|
-
* @param {string}
|
1470
|
-
* A fully-qualified path representing
|
1471
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1472
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1471
1473
|
* @returns {string} A string representing the project.
|
1472
1474
|
*/
|
1473
|
-
|
1474
|
-
return this.pathTemplates.
|
1475
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1476
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1475
1477
|
}
|
1476
1478
|
/**
|
1477
|
-
* Parse the location from
|
1479
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1478
1480
|
*
|
1479
|
-
* @param {string}
|
1480
|
-
* A fully-qualified path representing
|
1481
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1482
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1481
1483
|
* @returns {string} A string representing the location.
|
1482
1484
|
*/
|
1483
|
-
|
1484
|
-
return this.pathTemplates.
|
1485
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1486
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1485
1487
|
}
|
1486
1488
|
/**
|
1487
|
-
* Parse the collection from
|
1489
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1488
1490
|
*
|
1489
|
-
* @param {string}
|
1490
|
-
* A fully-qualified path representing
|
1491
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1492
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1491
1493
|
* @returns {string} A string representing the collection.
|
1492
1494
|
*/
|
1493
|
-
|
1494
|
-
return this.pathTemplates.
|
1495
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1496
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1495
1497
|
}
|
1496
1498
|
/**
|
1497
|
-
* Parse the data_store from
|
1499
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1498
1500
|
*
|
1499
|
-
* @param {string}
|
1500
|
-
* A fully-qualified path representing
|
1501
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1502
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1501
1503
|
* @returns {string} A string representing the data_store.
|
1502
1504
|
*/
|
1503
|
-
|
1504
|
-
return this.pathTemplates.
|
1505
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1506
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1505
1507
|
}
|
1506
1508
|
/**
|
1507
|
-
* Parse the session from
|
1509
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1508
1510
|
*
|
1509
|
-
* @param {string}
|
1510
|
-
* A fully-qualified path representing
|
1511
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1512
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1511
1513
|
* @returns {string} A string representing the session.
|
1512
1514
|
*/
|
1513
|
-
|
1514
|
-
return this.pathTemplates.
|
1515
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1516
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1515
1517
|
}
|
1516
1518
|
/**
|
1517
|
-
*
|
1519
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1520
|
+
*
|
1521
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1522
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1523
|
+
* @returns {string} A string representing the answer.
|
1524
|
+
*/
|
1525
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1526
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1527
|
+
}
|
1528
|
+
/**
|
1529
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
1518
1530
|
*
|
1519
1531
|
* @param {string} project
|
1520
1532
|
* @param {string} location
|
1521
1533
|
* @param {string} collection
|
1522
1534
|
* @param {string} data_store
|
1523
1535
|
* @param {string} session
|
1524
|
-
* @param {string} answer
|
1525
1536
|
* @returns {string} Resource name string.
|
1526
1537
|
*/
|
1527
|
-
|
1528
|
-
return this.pathTemplates.
|
1538
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
1539
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
1529
1540
|
project: project,
|
1530
1541
|
location: location,
|
1531
1542
|
collection: collection,
|
1532
1543
|
data_store: dataStore,
|
1533
1544
|
session: session,
|
1534
|
-
answer: answer,
|
1535
1545
|
});
|
1536
1546
|
}
|
1537
1547
|
/**
|
1538
|
-
* Parse the project from
|
1548
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
1539
1549
|
*
|
1540
|
-
* @param {string}
|
1541
|
-
* A fully-qualified path representing
|
1550
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1551
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1542
1552
|
* @returns {string} A string representing the project.
|
1543
1553
|
*/
|
1544
|
-
|
1545
|
-
return this.pathTemplates.
|
1554
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1555
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
1546
1556
|
}
|
1547
1557
|
/**
|
1548
|
-
* Parse the location from
|
1558
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
1549
1559
|
*
|
1550
|
-
* @param {string}
|
1551
|
-
* A fully-qualified path representing
|
1560
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1561
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1552
1562
|
* @returns {string} A string representing the location.
|
1553
1563
|
*/
|
1554
|
-
|
1555
|
-
return this.pathTemplates.
|
1564
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1565
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
1556
1566
|
}
|
1557
1567
|
/**
|
1558
|
-
* Parse the collection from
|
1568
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
1559
1569
|
*
|
1560
|
-
* @param {string}
|
1561
|
-
* A fully-qualified path representing
|
1570
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1571
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1562
1572
|
* @returns {string} A string representing the collection.
|
1563
1573
|
*/
|
1564
|
-
|
1565
|
-
return this.pathTemplates.
|
1574
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1575
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
1566
1576
|
}
|
1567
1577
|
/**
|
1568
|
-
* Parse the data_store from
|
1578
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
1569
1579
|
*
|
1570
|
-
* @param {string}
|
1571
|
-
* A fully-qualified path representing
|
1580
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1581
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1572
1582
|
* @returns {string} A string representing the data_store.
|
1573
1583
|
*/
|
1574
|
-
|
1575
|
-
return this.pathTemplates.
|
1584
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1585
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
1576
1586
|
}
|
1577
1587
|
/**
|
1578
|
-
* Parse the session from
|
1588
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
1579
1589
|
*
|
1580
|
-
* @param {string}
|
1581
|
-
* A fully-qualified path representing
|
1590
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1591
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1582
1592
|
* @returns {string} A string representing the session.
|
1583
1593
|
*/
|
1584
|
-
|
1585
|
-
return this.pathTemplates.
|
1586
|
-
}
|
1587
|
-
/**
|
1588
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1589
|
-
*
|
1590
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1591
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1592
|
-
* @returns {string} A string representing the answer.
|
1593
|
-
*/
|
1594
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1595
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1594
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1595
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
1596
1596
|
}
|
1597
1597
|
/**
|
1598
1598
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -1928,154 +1928,154 @@ class SearchTuningServiceClient {
|
|
1928
1928
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
1929
1929
|
}
|
1930
1930
|
/**
|
1931
|
-
* Return a fully-qualified
|
1931
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
1932
1932
|
*
|
1933
1933
|
* @param {string} project
|
1934
1934
|
* @param {string} location
|
1935
1935
|
* @param {string} collection
|
1936
1936
|
* @param {string} engine
|
1937
1937
|
* @param {string} session
|
1938
|
+
* @param {string} answer
|
1938
1939
|
* @returns {string} Resource name string.
|
1939
1940
|
*/
|
1940
|
-
|
1941
|
-
return this.pathTemplates.
|
1941
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
1942
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
1942
1943
|
project: project,
|
1943
1944
|
location: location,
|
1944
1945
|
collection: collection,
|
1945
1946
|
engine: engine,
|
1946
1947
|
session: session,
|
1948
|
+
answer: answer,
|
1947
1949
|
});
|
1948
1950
|
}
|
1949
1951
|
/**
|
1950
|
-
* Parse the project from
|
1952
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
1951
1953
|
*
|
1952
|
-
* @param {string}
|
1953
|
-
* A fully-qualified path representing
|
1954
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1955
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1954
1956
|
* @returns {string} A string representing the project.
|
1955
1957
|
*/
|
1956
|
-
|
1957
|
-
return this.pathTemplates.
|
1958
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1959
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
1958
1960
|
}
|
1959
1961
|
/**
|
1960
|
-
* Parse the location from
|
1962
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
1961
1963
|
*
|
1962
|
-
* @param {string}
|
1963
|
-
* A fully-qualified path representing
|
1964
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1965
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1964
1966
|
* @returns {string} A string representing the location.
|
1965
1967
|
*/
|
1966
|
-
|
1967
|
-
return this.pathTemplates.
|
1968
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1969
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
1968
1970
|
}
|
1969
1971
|
/**
|
1970
|
-
* Parse the collection from
|
1972
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
1971
1973
|
*
|
1972
|
-
* @param {string}
|
1973
|
-
* A fully-qualified path representing
|
1974
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1975
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1974
1976
|
* @returns {string} A string representing the collection.
|
1975
1977
|
*/
|
1976
|
-
|
1977
|
-
return this.pathTemplates.
|
1978
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1979
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
1978
1980
|
}
|
1979
1981
|
/**
|
1980
|
-
* Parse the engine from
|
1982
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
1981
1983
|
*
|
1982
|
-
* @param {string}
|
1983
|
-
* A fully-qualified path representing
|
1984
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1985
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1984
1986
|
* @returns {string} A string representing the engine.
|
1985
1987
|
*/
|
1986
|
-
|
1987
|
-
return this.pathTemplates.
|
1988
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1989
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
1988
1990
|
}
|
1989
1991
|
/**
|
1990
|
-
* Parse the session from
|
1992
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
1991
1993
|
*
|
1992
|
-
* @param {string}
|
1993
|
-
* A fully-qualified path representing
|
1994
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1995
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1994
1996
|
* @returns {string} A string representing the session.
|
1995
1997
|
*/
|
1996
|
-
|
1997
|
-
return this.pathTemplates.
|
1998
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1999
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
1998
2000
|
}
|
1999
2001
|
/**
|
2000
|
-
*
|
2002
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2003
|
+
*
|
2004
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2005
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2006
|
+
* @returns {string} A string representing the answer.
|
2007
|
+
*/
|
2008
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2009
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2010
|
+
}
|
2011
|
+
/**
|
2012
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
2001
2013
|
*
|
2002
2014
|
* @param {string} project
|
2003
2015
|
* @param {string} location
|
2004
2016
|
* @param {string} collection
|
2005
2017
|
* @param {string} engine
|
2006
2018
|
* @param {string} session
|
2007
|
-
* @param {string} answer
|
2008
2019
|
* @returns {string} Resource name string.
|
2009
2020
|
*/
|
2010
|
-
|
2011
|
-
return this.pathTemplates.
|
2021
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
2022
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
2012
2023
|
project: project,
|
2013
2024
|
location: location,
|
2014
2025
|
collection: collection,
|
2015
2026
|
engine: engine,
|
2016
2027
|
session: session,
|
2017
|
-
answer: answer,
|
2018
2028
|
});
|
2019
2029
|
}
|
2020
2030
|
/**
|
2021
|
-
* Parse the project from
|
2031
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
2022
2032
|
*
|
2023
|
-
* @param {string}
|
2024
|
-
* A fully-qualified path representing
|
2033
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2034
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2025
2035
|
* @returns {string} A string representing the project.
|
2026
2036
|
*/
|
2027
|
-
|
2028
|
-
return this.pathTemplates.
|
2037
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2038
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
2029
2039
|
}
|
2030
2040
|
/**
|
2031
|
-
* Parse the location from
|
2041
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
2032
2042
|
*
|
2033
|
-
* @param {string}
|
2034
|
-
* A fully-qualified path representing
|
2043
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2044
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2035
2045
|
* @returns {string} A string representing the location.
|
2036
2046
|
*/
|
2037
|
-
|
2038
|
-
return this.pathTemplates.
|
2047
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2048
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
2039
2049
|
}
|
2040
2050
|
/**
|
2041
|
-
* Parse the collection from
|
2051
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
2042
2052
|
*
|
2043
|
-
* @param {string}
|
2044
|
-
* A fully-qualified path representing
|
2053
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2054
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2045
2055
|
* @returns {string} A string representing the collection.
|
2046
2056
|
*/
|
2047
|
-
|
2048
|
-
return this.pathTemplates.
|
2057
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2058
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
2049
2059
|
}
|
2050
2060
|
/**
|
2051
|
-
* Parse the engine from
|
2061
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
2052
2062
|
*
|
2053
|
-
* @param {string}
|
2054
|
-
* A fully-qualified path representing
|
2063
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2064
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2055
2065
|
* @returns {string} A string representing the engine.
|
2056
2066
|
*/
|
2057
|
-
|
2058
|
-
return this.pathTemplates.
|
2067
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2068
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
2059
2069
|
}
|
2060
2070
|
/**
|
2061
|
-
* Parse the session from
|
2071
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
2062
2072
|
*
|
2063
|
-
* @param {string}
|
2064
|
-
* A fully-qualified path representing
|
2073
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2074
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2065
2075
|
* @returns {string} A string representing the session.
|
2066
2076
|
*/
|
2067
|
-
|
2068
|
-
return this.pathTemplates.
|
2069
|
-
}
|
2070
|
-
/**
|
2071
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2072
|
-
*
|
2073
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2074
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2075
|
-
* @returns {string} A string representing the answer.
|
2076
|
-
*/
|
2077
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2078
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2077
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2078
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
2079
2079
|
}
|
2080
2080
|
/**
|
2081
2081
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -2602,63 +2602,6 @@ class SearchTuningServiceClient {
|
|
2602
2602
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2603
2603
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
2604
2604
|
}
|
2605
|
-
/**
|
2606
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
2607
|
-
*
|
2608
|
-
* @param {string} project
|
2609
|
-
* @param {string} location
|
2610
|
-
* @param {string} data_store
|
2611
|
-
* @param {string} session
|
2612
|
-
* @returns {string} Resource name string.
|
2613
|
-
*/
|
2614
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
2615
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
2616
|
-
project: project,
|
2617
|
-
location: location,
|
2618
|
-
data_store: dataStore,
|
2619
|
-
session: session,
|
2620
|
-
});
|
2621
|
-
}
|
2622
|
-
/**
|
2623
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
2624
|
-
*
|
2625
|
-
* @param {string} projectLocationDataStoreSessionName
|
2626
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2627
|
-
* @returns {string} A string representing the project.
|
2628
|
-
*/
|
2629
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2630
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
2631
|
-
}
|
2632
|
-
/**
|
2633
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
2634
|
-
*
|
2635
|
-
* @param {string} projectLocationDataStoreSessionName
|
2636
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2637
|
-
* @returns {string} A string representing the location.
|
2638
|
-
*/
|
2639
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2640
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
2641
|
-
}
|
2642
|
-
/**
|
2643
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
2644
|
-
*
|
2645
|
-
* @param {string} projectLocationDataStoreSessionName
|
2646
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2647
|
-
* @returns {string} A string representing the data_store.
|
2648
|
-
*/
|
2649
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2650
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
2651
|
-
}
|
2652
|
-
/**
|
2653
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
2654
|
-
*
|
2655
|
-
* @param {string} projectLocationDataStoreSessionName
|
2656
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2657
|
-
* @returns {string} A string representing the session.
|
2658
|
-
*/
|
2659
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2660
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
2661
|
-
}
|
2662
2605
|
/**
|
2663
2606
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
2664
2607
|
*
|
@@ -2728,6 +2671,63 @@ class SearchTuningServiceClient {
|
|
2728
2671
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2729
2672
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
2730
2673
|
}
|
2674
|
+
/**
|
2675
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
2676
|
+
*
|
2677
|
+
* @param {string} project
|
2678
|
+
* @param {string} location
|
2679
|
+
* @param {string} data_store
|
2680
|
+
* @param {string} session
|
2681
|
+
* @returns {string} Resource name string.
|
2682
|
+
*/
|
2683
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
2684
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
2685
|
+
project: project,
|
2686
|
+
location: location,
|
2687
|
+
data_store: dataStore,
|
2688
|
+
session: session,
|
2689
|
+
});
|
2690
|
+
}
|
2691
|
+
/**
|
2692
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
2693
|
+
*
|
2694
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2695
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2696
|
+
* @returns {string} A string representing the project.
|
2697
|
+
*/
|
2698
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2699
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
2700
|
+
}
|
2701
|
+
/**
|
2702
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
2703
|
+
*
|
2704
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2705
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2706
|
+
* @returns {string} A string representing the location.
|
2707
|
+
*/
|
2708
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2709
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
2710
|
+
}
|
2711
|
+
/**
|
2712
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
2713
|
+
*
|
2714
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2715
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2716
|
+
* @returns {string} A string representing the data_store.
|
2717
|
+
*/
|
2718
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2719
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
2720
|
+
}
|
2721
|
+
/**
|
2722
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
2723
|
+
*
|
2724
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2725
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2726
|
+
* @returns {string} A string representing the session.
|
2727
|
+
*/
|
2728
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2729
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
2730
|
+
}
|
2731
2731
|
/**
|
2732
2732
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
2733
2733
|
*
|
@@ -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",
|