@google-cloud/discoveryengine 1.6.0 → 1.7.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/CHANGELOG.md +7 -0
- package/README.md +24 -0
- package/build/protos/google/cloud/discoveryengine/v1/common.proto +13 -1
- package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +5 -0
- package/build/protos/google/cloud/discoveryengine/v1/data_store.proto +17 -0
- package/build/protos/google/cloud/discoveryengine/v1/document.proto +9 -0
- package/build/protos/google/cloud/discoveryengine/v1/document_service.proto +6 -0
- package/build/protos/google/cloud/discoveryengine/v1/engine.proto +2 -2
- package/build/protos/google/cloud/discoveryengine/v1/import_config.proto +284 -22
- package/build/protos/google/cloud/discoveryengine/v1/purge_config.proto +3 -0
- package/build/protos/google/cloud/discoveryengine/v1/recommendation_service.proto +228 -0
- package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +125 -21
- package/build/protos/google/cloud/discoveryengine/v1/user_event.proto +16 -11
- package/build/protos/google/cloud/discoveryengine/v1alpha/answer.proto +328 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/chunk.proto +41 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +21 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +574 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/document.proto +19 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/document_processing_config.proto +3 -6
- package/build/protos/google/cloud/discoveryengine/v1alpha/document_service.proto +64 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/engine.proto +2 -2
- package/build/protos/google/cloud/discoveryengine/v1alpha/grounded_generation_service.proto +120 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/grounding.proto +55 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/import_config.proto +283 -24
- package/build/protos/google/cloud/discoveryengine/v1alpha/project.proto +102 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/project_service.proto +171 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/schema.proto +21 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +158 -24
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_tuning_service.proto +9 -3
- package/build/protos/google/cloud/discoveryengine/v1alpha/serving_config_service.proto +2 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/session.proto +94 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/user_event.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/answer.proto +328 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/common.proto +30 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +559 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/document_processing_config.proto +3 -6
- package/build/protos/google/cloud/discoveryengine/v1beta/document_service.proto +6 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/engine.proto +2 -2
- package/build/protos/google/cloud/discoveryengine/v1beta/engine_service.proto +93 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/grounded_generation_service.proto +120 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/grounding.proto +55 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/import_config.proto +283 -24
- package/build/protos/google/cloud/discoveryengine/v1beta/rank_service.proto +115 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +142 -22
- package/build/protos/google/cloud/discoveryengine/v1beta/search_tuning_service.proto +7 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/session.proto +94 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/user_event.proto +1 -1
- package/build/protos/protos.d.ts +44799 -26093
- package/build/protos/protos.js +120465 -74222
- package/build/protos/protos.json +8911 -4556
- package/build/src/index.d.ts +4 -1
- package/build/src/index.js +4 -1
- package/build/src/v1/conversational_search_service_client.d.ts +4 -0
- package/build/src/v1/document_service_client.d.ts +47 -19
- package/build/src/v1/index.d.ts +1 -0
- package/build/src/v1/index.js +3 -1
- package/build/src/v1/recommendation_service_client.d.ts +1087 -0
- package/build/src/v1/recommendation_service_client.js +1432 -0
- package/build/src/v1/recommendation_service_client_config.json +43 -0
- package/build/src/v1/search_service_client.d.ts +27 -9
- package/build/src/v1/search_service_client.js +18 -6
- package/build/src/v1/search_service_client_config.json +5 -5
- package/build/src/v1alpha/acl_config_service_client.d.ts +330 -0
- package/build/src/v1alpha/acl_config_service_client.js +454 -0
- package/build/src/v1alpha/chunk_service_client.d.ts +330 -0
- package/build/src/v1alpha/chunk_service_client.js +454 -0
- package/build/src/v1alpha/completion_service_client.d.ts +330 -0
- package/build/src/v1alpha/completion_service_client.js +457 -0
- package/build/src/v1alpha/conversational_search_service_client.d.ts +674 -0
- package/build/src/v1alpha/conversational_search_service_client.js +724 -0
- package/build/src/v1alpha/conversational_search_service_client_config.json +35 -0
- package/build/src/v1alpha/data_store_service_client.d.ts +330 -0
- package/build/src/v1alpha/data_store_service_client.js +457 -0
- package/build/src/v1alpha/document_service_client.d.ts +410 -21
- package/build/src/v1alpha/document_service_client.js +479 -0
- package/build/src/v1alpha/document_service_client_config.json +5 -0
- package/build/src/v1alpha/engine_service_client.d.ts +330 -0
- package/build/src/v1alpha/engine_service_client.js +457 -0
- package/build/src/v1alpha/estimate_billing_service_client.d.ts +330 -0
- package/build/src/v1alpha/estimate_billing_service_client.js +457 -0
- package/build/src/v1alpha/grounded_generation_service_client.d.ts +1574 -0
- package/build/src/v1alpha/grounded_generation_service_client.js +2248 -0
- package/build/src/v1alpha/grounded_generation_service_client_config.json +43 -0
- package/build/src/v1alpha/index.d.ts +3 -1
- package/build/src/v1alpha/index.js +7 -3
- package/build/src/v1alpha/project_service_client.d.ts +1756 -0
- package/build/src/v1alpha/project_service_client.js +2500 -0
- package/build/src/v1alpha/project_service_client_config.json +38 -0
- package/build/src/v1alpha/rank_service_client.d.ts +330 -0
- package/build/src/v1alpha/rank_service_client.js +454 -0
- package/build/src/v1alpha/rank_service_client_config.json +15 -2
- package/build/src/v1alpha/recommendation_service_client.d.ts +330 -0
- package/build/src/v1alpha/recommendation_service_client.js +454 -0
- package/build/src/v1alpha/schema_service_client.d.ts +330 -0
- package/build/src/v1alpha/schema_service_client.js +457 -0
- package/build/src/v1alpha/search_service_client.d.ts +360 -15
- package/build/src/v1alpha/search_service_client.js +474 -10
- package/build/src/v1alpha/search_service_client_config.json +5 -5
- package/build/src/v1alpha/search_tuning_service_client.d.ts +330 -0
- package/build/src/v1alpha/search_tuning_service_client.js +457 -0
- package/build/src/v1alpha/serving_config_service_client.d.ts +317 -1
- package/build/src/v1alpha/serving_config_service_client.js +434 -1
- package/build/src/v1alpha/site_search_engine_service_client.d.ts +330 -0
- package/build/src/v1alpha/site_search_engine_service_client.js +457 -0
- package/build/src/v1alpha/user_event_service_client.d.ts +330 -0
- package/build/src/v1alpha/user_event_service_client.js +457 -0
- package/build/src/v1beta/completion_service_client.d.ts +315 -0
- package/build/src/v1beta/completion_service_client.js +432 -0
- package/build/src/v1beta/conversational_search_service_client.d.ts +659 -0
- package/build/src/v1beta/conversational_search_service_client.js +702 -0
- package/build/src/v1beta/conversational_search_service_client_config.json +35 -0
- package/build/src/v1beta/data_store_service_client.d.ts +315 -0
- package/build/src/v1beta/data_store_service_client.js +432 -0
- package/build/src/v1beta/document_service_client.d.ts +361 -21
- package/build/src/v1beta/document_service_client.js +432 -0
- package/build/src/v1beta/engine_service_client.d.ts +410 -0
- package/build/src/v1beta/engine_service_client.js +518 -0
- package/build/src/v1beta/engine_service_client_config.json +12 -0
- package/build/src/v1beta/grounded_generation_service_client.d.ts +1406 -0
- package/build/src/v1beta/grounded_generation_service_client.js +2014 -0
- package/build/src/v1beta/grounded_generation_service_client_config.json +43 -0
- package/build/src/v1beta/index.d.ts +2 -0
- package/build/src/v1beta/index.js +5 -1
- package/build/src/v1beta/rank_service_client.d.ts +1416 -0
- package/build/src/v1beta/rank_service_client.js +2015 -0
- package/build/src/v1beta/rank_service_client_config.json +43 -0
- package/build/src/v1beta/recommendation_service_client.d.ts +315 -0
- package/build/src/v1beta/recommendation_service_client.js +432 -0
- package/build/src/v1beta/schema_service_client.d.ts +315 -0
- package/build/src/v1beta/schema_service_client.js +432 -0
- package/build/src/v1beta/search_service_client.d.ts +342 -12
- package/build/src/v1beta/search_service_client.js +450 -8
- package/build/src/v1beta/search_service_client_config.json +5 -5
- package/build/src/v1beta/search_tuning_service_client.d.ts +315 -0
- package/build/src/v1beta/search_tuning_service_client.js +432 -0
- package/build/src/v1beta/serving_config_service_client.d.ts +315 -0
- package/build/src/v1beta/serving_config_service_client.js +432 -0
- package/build/src/v1beta/site_search_engine_service_client.d.ts +315 -0
- package/build/src/v1beta/site_search_engine_service_client.js +432 -0
- package/build/src/v1beta/user_event_service_client.d.ts +315 -0
- package/build/src/v1beta/user_event_service_client.js +432 -0
- package/package.json +1 -1
@@ -152,6 +152,7 @@ class RecommendationServiceClient {
|
|
152
152
|
this.pathTemplates = {
|
153
153
|
aclConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/aclConfig'),
|
154
154
|
enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
|
155
|
+
projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
|
155
156
|
projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
|
156
157
|
projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
157
158
|
projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -159,10 +160,14 @@ class RecommendationServiceClient {
|
|
159
160
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
160
161
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
161
162
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
163
|
+
projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
164
|
+
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
162
165
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
163
166
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
164
167
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
165
168
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
169
|
+
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
170
|
+
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
166
171
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
167
172
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
168
173
|
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -170,6 +175,8 @@ class RecommendationServiceClient {
|
|
170
175
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
171
176
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
172
177
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
178
|
+
projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
179
|
+
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
173
180
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
174
181
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
175
182
|
};
|
@@ -455,6 +462,27 @@ class RecommendationServiceClient {
|
|
455
462
|
matchEngineFromEngineName(engineName) {
|
456
463
|
return this.pathTemplates.enginePathTemplate.match(engineName).engine;
|
457
464
|
}
|
465
|
+
/**
|
466
|
+
* Return a fully-qualified project resource name string.
|
467
|
+
*
|
468
|
+
* @param {string} project
|
469
|
+
* @returns {string} Resource name string.
|
470
|
+
*/
|
471
|
+
projectPath(project) {
|
472
|
+
return this.pathTemplates.projectPathTemplate.render({
|
473
|
+
project: project,
|
474
|
+
});
|
475
|
+
}
|
476
|
+
/**
|
477
|
+
* Parse the project from Project resource.
|
478
|
+
*
|
479
|
+
* @param {string} projectName
|
480
|
+
* A fully-qualified path representing Project resource.
|
481
|
+
* @returns {string} A string representing the project.
|
482
|
+
*/
|
483
|
+
matchProjectFromProjectName(projectName) {
|
484
|
+
return this.pathTemplates.projectPathTemplate.match(projectName).project;
|
485
|
+
}
|
458
486
|
/**
|
459
487
|
* Return a fully-qualified projectLocationCollectionDataStore resource name string.
|
460
488
|
*
|
@@ -950,6 +978,156 @@ class RecommendationServiceClient {
|
|
950
978
|
matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
|
951
979
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
952
980
|
}
|
981
|
+
/**
|
982
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
|
983
|
+
*
|
984
|
+
* @param {string} project
|
985
|
+
* @param {string} location
|
986
|
+
* @param {string} collection
|
987
|
+
* @param {string} data_store
|
988
|
+
* @param {string} session
|
989
|
+
* @returns {string} Resource name string.
|
990
|
+
*/
|
991
|
+
projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
|
992
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
|
993
|
+
project: project,
|
994
|
+
location: location,
|
995
|
+
collection: collection,
|
996
|
+
data_store: dataStore,
|
997
|
+
session: session,
|
998
|
+
});
|
999
|
+
}
|
1000
|
+
/**
|
1001
|
+
* Parse the project from ProjectLocationCollectionDataStoreSession resource.
|
1002
|
+
*
|
1003
|
+
* @param {string} projectLocationCollectionDataStoreSessionName
|
1004
|
+
* A fully-qualified path representing project_location_collection_data_store_session resource.
|
1005
|
+
* @returns {string} A string representing the project.
|
1006
|
+
*/
|
1007
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
|
1008
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
|
1009
|
+
}
|
1010
|
+
/**
|
1011
|
+
* Parse the location from ProjectLocationCollectionDataStoreSession resource.
|
1012
|
+
*
|
1013
|
+
* @param {string} projectLocationCollectionDataStoreSessionName
|
1014
|
+
* A fully-qualified path representing project_location_collection_data_store_session resource.
|
1015
|
+
* @returns {string} A string representing the location.
|
1016
|
+
*/
|
1017
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
|
1018
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
|
1019
|
+
}
|
1020
|
+
/**
|
1021
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSession resource.
|
1022
|
+
*
|
1023
|
+
* @param {string} projectLocationCollectionDataStoreSessionName
|
1024
|
+
* A fully-qualified path representing project_location_collection_data_store_session resource.
|
1025
|
+
* @returns {string} A string representing the collection.
|
1026
|
+
*/
|
1027
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
|
1028
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
|
1029
|
+
}
|
1030
|
+
/**
|
1031
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
|
1032
|
+
*
|
1033
|
+
* @param {string} projectLocationCollectionDataStoreSessionName
|
1034
|
+
* A fully-qualified path representing project_location_collection_data_store_session resource.
|
1035
|
+
* @returns {string} A string representing the data_store.
|
1036
|
+
*/
|
1037
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
|
1038
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
|
1039
|
+
}
|
1040
|
+
/**
|
1041
|
+
* Parse the session from ProjectLocationCollectionDataStoreSession resource.
|
1042
|
+
*
|
1043
|
+
* @param {string} projectLocationCollectionDataStoreSessionName
|
1044
|
+
* A fully-qualified path representing project_location_collection_data_store_session resource.
|
1045
|
+
* @returns {string} A string representing the session.
|
1046
|
+
*/
|
1047
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
|
1048
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
|
1049
|
+
}
|
1050
|
+
/**
|
1051
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1052
|
+
*
|
1053
|
+
* @param {string} project
|
1054
|
+
* @param {string} location
|
1055
|
+
* @param {string} collection
|
1056
|
+
* @param {string} data_store
|
1057
|
+
* @param {string} session
|
1058
|
+
* @param {string} answer
|
1059
|
+
* @returns {string} Resource name string.
|
1060
|
+
*/
|
1061
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1062
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1063
|
+
project: project,
|
1064
|
+
location: location,
|
1065
|
+
collection: collection,
|
1066
|
+
data_store: dataStore,
|
1067
|
+
session: session,
|
1068
|
+
answer: answer,
|
1069
|
+
});
|
1070
|
+
}
|
1071
|
+
/**
|
1072
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1073
|
+
*
|
1074
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1075
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1076
|
+
* @returns {string} A string representing the project.
|
1077
|
+
*/
|
1078
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1079
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1080
|
+
}
|
1081
|
+
/**
|
1082
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1083
|
+
*
|
1084
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1085
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1086
|
+
* @returns {string} A string representing the location.
|
1087
|
+
*/
|
1088
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1089
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1090
|
+
}
|
1091
|
+
/**
|
1092
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1093
|
+
*
|
1094
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1095
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1096
|
+
* @returns {string} A string representing the collection.
|
1097
|
+
*/
|
1098
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1099
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1100
|
+
}
|
1101
|
+
/**
|
1102
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1103
|
+
*
|
1104
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1105
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1106
|
+
* @returns {string} A string representing the data_store.
|
1107
|
+
*/
|
1108
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1109
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1110
|
+
}
|
1111
|
+
/**
|
1112
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1113
|
+
*
|
1114
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1115
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1116
|
+
* @returns {string} A string representing the session.
|
1117
|
+
*/
|
1118
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1119
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1120
|
+
}
|
1121
|
+
/**
|
1122
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1123
|
+
*
|
1124
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1125
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1126
|
+
* @returns {string} A string representing the answer.
|
1127
|
+
*/
|
1128
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1129
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1130
|
+
}
|
953
1131
|
/**
|
954
1132
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
955
1133
|
*
|
@@ -1214,6 +1392,156 @@ class RecommendationServiceClient {
|
|
1214
1392
|
matchServingConfigFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
1215
1393
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
1216
1394
|
}
|
1395
|
+
/**
|
1396
|
+
* Return a fully-qualified projectLocationCollectionEngineSession resource name string.
|
1397
|
+
*
|
1398
|
+
* @param {string} project
|
1399
|
+
* @param {string} location
|
1400
|
+
* @param {string} collection
|
1401
|
+
* @param {string} engine
|
1402
|
+
* @param {string} session
|
1403
|
+
* @returns {string} Resource name string.
|
1404
|
+
*/
|
1405
|
+
projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
|
1406
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
|
1407
|
+
project: project,
|
1408
|
+
location: location,
|
1409
|
+
collection: collection,
|
1410
|
+
engine: engine,
|
1411
|
+
session: session,
|
1412
|
+
});
|
1413
|
+
}
|
1414
|
+
/**
|
1415
|
+
* Parse the project from ProjectLocationCollectionEngineSession resource.
|
1416
|
+
*
|
1417
|
+
* @param {string} projectLocationCollectionEngineSessionName
|
1418
|
+
* A fully-qualified path representing project_location_collection_engine_session resource.
|
1419
|
+
* @returns {string} A string representing the project.
|
1420
|
+
*/
|
1421
|
+
matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
|
1422
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
|
1423
|
+
}
|
1424
|
+
/**
|
1425
|
+
* Parse the location from ProjectLocationCollectionEngineSession resource.
|
1426
|
+
*
|
1427
|
+
* @param {string} projectLocationCollectionEngineSessionName
|
1428
|
+
* A fully-qualified path representing project_location_collection_engine_session resource.
|
1429
|
+
* @returns {string} A string representing the location.
|
1430
|
+
*/
|
1431
|
+
matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
|
1432
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
|
1433
|
+
}
|
1434
|
+
/**
|
1435
|
+
* Parse the collection from ProjectLocationCollectionEngineSession resource.
|
1436
|
+
*
|
1437
|
+
* @param {string} projectLocationCollectionEngineSessionName
|
1438
|
+
* A fully-qualified path representing project_location_collection_engine_session resource.
|
1439
|
+
* @returns {string} A string representing the collection.
|
1440
|
+
*/
|
1441
|
+
matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
|
1442
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
|
1443
|
+
}
|
1444
|
+
/**
|
1445
|
+
* Parse the engine from ProjectLocationCollectionEngineSession resource.
|
1446
|
+
*
|
1447
|
+
* @param {string} projectLocationCollectionEngineSessionName
|
1448
|
+
* A fully-qualified path representing project_location_collection_engine_session resource.
|
1449
|
+
* @returns {string} A string representing the engine.
|
1450
|
+
*/
|
1451
|
+
matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
|
1452
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
|
1453
|
+
}
|
1454
|
+
/**
|
1455
|
+
* Parse the session from ProjectLocationCollectionEngineSession resource.
|
1456
|
+
*
|
1457
|
+
* @param {string} projectLocationCollectionEngineSessionName
|
1458
|
+
* A fully-qualified path representing project_location_collection_engine_session resource.
|
1459
|
+
* @returns {string} A string representing the session.
|
1460
|
+
*/
|
1461
|
+
matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
|
1462
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
|
1463
|
+
}
|
1464
|
+
/**
|
1465
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
1466
|
+
*
|
1467
|
+
* @param {string} project
|
1468
|
+
* @param {string} location
|
1469
|
+
* @param {string} collection
|
1470
|
+
* @param {string} engine
|
1471
|
+
* @param {string} session
|
1472
|
+
* @param {string} answer
|
1473
|
+
* @returns {string} Resource name string.
|
1474
|
+
*/
|
1475
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
1476
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
1477
|
+
project: project,
|
1478
|
+
location: location,
|
1479
|
+
collection: collection,
|
1480
|
+
engine: engine,
|
1481
|
+
session: session,
|
1482
|
+
answer: answer,
|
1483
|
+
});
|
1484
|
+
}
|
1485
|
+
/**
|
1486
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
1487
|
+
*
|
1488
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1489
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1490
|
+
* @returns {string} A string representing the project.
|
1491
|
+
*/
|
1492
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1493
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
1494
|
+
}
|
1495
|
+
/**
|
1496
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
1497
|
+
*
|
1498
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1499
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1500
|
+
* @returns {string} A string representing the location.
|
1501
|
+
*/
|
1502
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1503
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
1504
|
+
}
|
1505
|
+
/**
|
1506
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
1507
|
+
*
|
1508
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1509
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1510
|
+
* @returns {string} A string representing the collection.
|
1511
|
+
*/
|
1512
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1513
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
1514
|
+
}
|
1515
|
+
/**
|
1516
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
1517
|
+
*
|
1518
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1519
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1520
|
+
* @returns {string} A string representing the engine.
|
1521
|
+
*/
|
1522
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1523
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
1524
|
+
}
|
1525
|
+
/**
|
1526
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
1527
|
+
*
|
1528
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1529
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1530
|
+
* @returns {string} A string representing the session.
|
1531
|
+
*/
|
1532
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1533
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
1534
|
+
}
|
1535
|
+
/**
|
1536
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
1537
|
+
*
|
1538
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1539
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1540
|
+
* @returns {string} A string representing the answer.
|
1541
|
+
*/
|
1542
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1543
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
1544
|
+
}
|
1217
1545
|
/**
|
1218
1546
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
1219
1547
|
*
|
@@ -1625,6 +1953,132 @@ class RecommendationServiceClient {
|
|
1625
1953
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
1626
1954
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
1627
1955
|
}
|
1956
|
+
/**
|
1957
|
+
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
1958
|
+
*
|
1959
|
+
* @param {string} project
|
1960
|
+
* @param {string} location
|
1961
|
+
* @param {string} data_store
|
1962
|
+
* @param {string} session
|
1963
|
+
* @returns {string} Resource name string.
|
1964
|
+
*/
|
1965
|
+
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
1966
|
+
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
1967
|
+
project: project,
|
1968
|
+
location: location,
|
1969
|
+
data_store: dataStore,
|
1970
|
+
session: session,
|
1971
|
+
});
|
1972
|
+
}
|
1973
|
+
/**
|
1974
|
+
* Parse the project from ProjectLocationDataStoreSession resource.
|
1975
|
+
*
|
1976
|
+
* @param {string} projectLocationDataStoreSessionName
|
1977
|
+
* A fully-qualified path representing project_location_data_store_session resource.
|
1978
|
+
* @returns {string} A string representing the project.
|
1979
|
+
*/
|
1980
|
+
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
1981
|
+
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
1982
|
+
}
|
1983
|
+
/**
|
1984
|
+
* Parse the location from ProjectLocationDataStoreSession resource.
|
1985
|
+
*
|
1986
|
+
* @param {string} projectLocationDataStoreSessionName
|
1987
|
+
* A fully-qualified path representing project_location_data_store_session resource.
|
1988
|
+
* @returns {string} A string representing the location.
|
1989
|
+
*/
|
1990
|
+
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
1991
|
+
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
1992
|
+
}
|
1993
|
+
/**
|
1994
|
+
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
1995
|
+
*
|
1996
|
+
* @param {string} projectLocationDataStoreSessionName
|
1997
|
+
* A fully-qualified path representing project_location_data_store_session resource.
|
1998
|
+
* @returns {string} A string representing the data_store.
|
1999
|
+
*/
|
2000
|
+
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2001
|
+
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
2002
|
+
}
|
2003
|
+
/**
|
2004
|
+
* Parse the session from ProjectLocationDataStoreSession resource.
|
2005
|
+
*
|
2006
|
+
* @param {string} projectLocationDataStoreSessionName
|
2007
|
+
* A fully-qualified path representing project_location_data_store_session resource.
|
2008
|
+
* @returns {string} A string representing the session.
|
2009
|
+
*/
|
2010
|
+
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2011
|
+
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
2012
|
+
}
|
2013
|
+
/**
|
2014
|
+
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
2015
|
+
*
|
2016
|
+
* @param {string} project
|
2017
|
+
* @param {string} location
|
2018
|
+
* @param {string} data_store
|
2019
|
+
* @param {string} session
|
2020
|
+
* @param {string} answer
|
2021
|
+
* @returns {string} Resource name string.
|
2022
|
+
*/
|
2023
|
+
projectLocationDataStoreSessionAnswerPath(project, location, dataStore, session, answer) {
|
2024
|
+
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.render({
|
2025
|
+
project: project,
|
2026
|
+
location: location,
|
2027
|
+
data_store: dataStore,
|
2028
|
+
session: session,
|
2029
|
+
answer: answer,
|
2030
|
+
});
|
2031
|
+
}
|
2032
|
+
/**
|
2033
|
+
* Parse the project from ProjectLocationDataStoreSessionAnswer resource.
|
2034
|
+
*
|
2035
|
+
* @param {string} projectLocationDataStoreSessionAnswerName
|
2036
|
+
* A fully-qualified path representing project_location_data_store_session_answer resource.
|
2037
|
+
* @returns {string} A string representing the project.
|
2038
|
+
*/
|
2039
|
+
matchProjectFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2040
|
+
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).project;
|
2041
|
+
}
|
2042
|
+
/**
|
2043
|
+
* Parse the location from ProjectLocationDataStoreSessionAnswer resource.
|
2044
|
+
*
|
2045
|
+
* @param {string} projectLocationDataStoreSessionAnswerName
|
2046
|
+
* A fully-qualified path representing project_location_data_store_session_answer resource.
|
2047
|
+
* @returns {string} A string representing the location.
|
2048
|
+
*/
|
2049
|
+
matchLocationFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2050
|
+
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).location;
|
2051
|
+
}
|
2052
|
+
/**
|
2053
|
+
* Parse the data_store from ProjectLocationDataStoreSessionAnswer resource.
|
2054
|
+
*
|
2055
|
+
* @param {string} projectLocationDataStoreSessionAnswerName
|
2056
|
+
* A fully-qualified path representing project_location_data_store_session_answer resource.
|
2057
|
+
* @returns {string} A string representing the data_store.
|
2058
|
+
*/
|
2059
|
+
matchDataStoreFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2060
|
+
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).data_store;
|
2061
|
+
}
|
2062
|
+
/**
|
2063
|
+
* Parse the session from ProjectLocationDataStoreSessionAnswer resource.
|
2064
|
+
*
|
2065
|
+
* @param {string} projectLocationDataStoreSessionAnswerName
|
2066
|
+
* A fully-qualified path representing project_location_data_store_session_answer resource.
|
2067
|
+
* @returns {string} A string representing the session.
|
2068
|
+
*/
|
2069
|
+
matchSessionFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2070
|
+
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).session;
|
2071
|
+
}
|
2072
|
+
/**
|
2073
|
+
* Parse the answer from ProjectLocationDataStoreSessionAnswer resource.
|
2074
|
+
*
|
2075
|
+
* @param {string} projectLocationDataStoreSessionAnswerName
|
2076
|
+
* A fully-qualified path representing project_location_data_store_session_answer resource.
|
2077
|
+
* @returns {string} A string representing the answer.
|
2078
|
+
*/
|
2079
|
+
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2080
|
+
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
2081
|
+
}
|
1628
2082
|
/**
|
1629
2083
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
1630
2084
|
*
|