@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
@@ -159,16 +159,22 @@ class ServingConfigServiceClient {
|
|
159
159
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
160
160
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
161
161
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
162
|
+
projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
163
|
+
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
162
164
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
163
165
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
164
166
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
165
167
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
168
|
+
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
169
|
+
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
166
170
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
167
171
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
168
172
|
projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
|
169
173
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
170
174
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
171
175
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
176
|
+
projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
177
|
+
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
172
178
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
173
179
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
174
180
|
};
|
@@ -1010,6 +1016,156 @@ class ServingConfigServiceClient {
|
|
1010
1016
|
matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
|
1011
1017
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1012
1018
|
}
|
1019
|
+
/**
|
1020
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
|
1021
|
+
*
|
1022
|
+
* @param {string} project
|
1023
|
+
* @param {string} location
|
1024
|
+
* @param {string} collection
|
1025
|
+
* @param {string} data_store
|
1026
|
+
* @param {string} session
|
1027
|
+
* @returns {string} Resource name string.
|
1028
|
+
*/
|
1029
|
+
projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
|
1030
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
|
1031
|
+
project: project,
|
1032
|
+
location: location,
|
1033
|
+
collection: collection,
|
1034
|
+
data_store: dataStore,
|
1035
|
+
session: session,
|
1036
|
+
});
|
1037
|
+
}
|
1038
|
+
/**
|
1039
|
+
* Parse the project from ProjectLocationCollectionDataStoreSession resource.
|
1040
|
+
*
|
1041
|
+
* @param {string} projectLocationCollectionDataStoreSessionName
|
1042
|
+
* A fully-qualified path representing project_location_collection_data_store_session resource.
|
1043
|
+
* @returns {string} A string representing the project.
|
1044
|
+
*/
|
1045
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
|
1046
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
|
1047
|
+
}
|
1048
|
+
/**
|
1049
|
+
* Parse the location from ProjectLocationCollectionDataStoreSession resource.
|
1050
|
+
*
|
1051
|
+
* @param {string} projectLocationCollectionDataStoreSessionName
|
1052
|
+
* A fully-qualified path representing project_location_collection_data_store_session resource.
|
1053
|
+
* @returns {string} A string representing the location.
|
1054
|
+
*/
|
1055
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
|
1056
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
|
1057
|
+
}
|
1058
|
+
/**
|
1059
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSession resource.
|
1060
|
+
*
|
1061
|
+
* @param {string} projectLocationCollectionDataStoreSessionName
|
1062
|
+
* A fully-qualified path representing project_location_collection_data_store_session resource.
|
1063
|
+
* @returns {string} A string representing the collection.
|
1064
|
+
*/
|
1065
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
|
1066
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
|
1067
|
+
}
|
1068
|
+
/**
|
1069
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
|
1070
|
+
*
|
1071
|
+
* @param {string} projectLocationCollectionDataStoreSessionName
|
1072
|
+
* A fully-qualified path representing project_location_collection_data_store_session resource.
|
1073
|
+
* @returns {string} A string representing the data_store.
|
1074
|
+
*/
|
1075
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
|
1076
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
|
1077
|
+
}
|
1078
|
+
/**
|
1079
|
+
* Parse the session from ProjectLocationCollectionDataStoreSession resource.
|
1080
|
+
*
|
1081
|
+
* @param {string} projectLocationCollectionDataStoreSessionName
|
1082
|
+
* A fully-qualified path representing project_location_collection_data_store_session resource.
|
1083
|
+
* @returns {string} A string representing the session.
|
1084
|
+
*/
|
1085
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
|
1086
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
|
1087
|
+
}
|
1088
|
+
/**
|
1089
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1090
|
+
*
|
1091
|
+
* @param {string} project
|
1092
|
+
* @param {string} location
|
1093
|
+
* @param {string} collection
|
1094
|
+
* @param {string} data_store
|
1095
|
+
* @param {string} session
|
1096
|
+
* @param {string} answer
|
1097
|
+
* @returns {string} Resource name string.
|
1098
|
+
*/
|
1099
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1100
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1101
|
+
project: project,
|
1102
|
+
location: location,
|
1103
|
+
collection: collection,
|
1104
|
+
data_store: dataStore,
|
1105
|
+
session: session,
|
1106
|
+
answer: answer,
|
1107
|
+
});
|
1108
|
+
}
|
1109
|
+
/**
|
1110
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1111
|
+
*
|
1112
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1113
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1114
|
+
* @returns {string} A string representing the project.
|
1115
|
+
*/
|
1116
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1117
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1118
|
+
}
|
1119
|
+
/**
|
1120
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1121
|
+
*
|
1122
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1123
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1124
|
+
* @returns {string} A string representing the location.
|
1125
|
+
*/
|
1126
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1127
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1128
|
+
}
|
1129
|
+
/**
|
1130
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1131
|
+
*
|
1132
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1133
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1134
|
+
* @returns {string} A string representing the collection.
|
1135
|
+
*/
|
1136
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1137
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1138
|
+
}
|
1139
|
+
/**
|
1140
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1141
|
+
*
|
1142
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1143
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1144
|
+
* @returns {string} A string representing the data_store.
|
1145
|
+
*/
|
1146
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1147
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1148
|
+
}
|
1149
|
+
/**
|
1150
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1151
|
+
*
|
1152
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1153
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1154
|
+
* @returns {string} A string representing the session.
|
1155
|
+
*/
|
1156
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1157
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1158
|
+
}
|
1159
|
+
/**
|
1160
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1161
|
+
*
|
1162
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1163
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1164
|
+
* @returns {string} A string representing the answer.
|
1165
|
+
*/
|
1166
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1167
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1168
|
+
}
|
1013
1169
|
/**
|
1014
1170
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
1015
1171
|
*
|
@@ -1274,6 +1430,156 @@ class ServingConfigServiceClient {
|
|
1274
1430
|
matchServingConfigFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
1275
1431
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
1276
1432
|
}
|
1433
|
+
/**
|
1434
|
+
* Return a fully-qualified projectLocationCollectionEngineSession resource name string.
|
1435
|
+
*
|
1436
|
+
* @param {string} project
|
1437
|
+
* @param {string} location
|
1438
|
+
* @param {string} collection
|
1439
|
+
* @param {string} engine
|
1440
|
+
* @param {string} session
|
1441
|
+
* @returns {string} Resource name string.
|
1442
|
+
*/
|
1443
|
+
projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
|
1444
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
|
1445
|
+
project: project,
|
1446
|
+
location: location,
|
1447
|
+
collection: collection,
|
1448
|
+
engine: engine,
|
1449
|
+
session: session,
|
1450
|
+
});
|
1451
|
+
}
|
1452
|
+
/**
|
1453
|
+
* Parse the project from ProjectLocationCollectionEngineSession resource.
|
1454
|
+
*
|
1455
|
+
* @param {string} projectLocationCollectionEngineSessionName
|
1456
|
+
* A fully-qualified path representing project_location_collection_engine_session resource.
|
1457
|
+
* @returns {string} A string representing the project.
|
1458
|
+
*/
|
1459
|
+
matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
|
1460
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
|
1461
|
+
}
|
1462
|
+
/**
|
1463
|
+
* Parse the location from ProjectLocationCollectionEngineSession resource.
|
1464
|
+
*
|
1465
|
+
* @param {string} projectLocationCollectionEngineSessionName
|
1466
|
+
* A fully-qualified path representing project_location_collection_engine_session resource.
|
1467
|
+
* @returns {string} A string representing the location.
|
1468
|
+
*/
|
1469
|
+
matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
|
1470
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
|
1471
|
+
}
|
1472
|
+
/**
|
1473
|
+
* Parse the collection from ProjectLocationCollectionEngineSession resource.
|
1474
|
+
*
|
1475
|
+
* @param {string} projectLocationCollectionEngineSessionName
|
1476
|
+
* A fully-qualified path representing project_location_collection_engine_session resource.
|
1477
|
+
* @returns {string} A string representing the collection.
|
1478
|
+
*/
|
1479
|
+
matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
|
1480
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
|
1481
|
+
}
|
1482
|
+
/**
|
1483
|
+
* Parse the engine from ProjectLocationCollectionEngineSession resource.
|
1484
|
+
*
|
1485
|
+
* @param {string} projectLocationCollectionEngineSessionName
|
1486
|
+
* A fully-qualified path representing project_location_collection_engine_session resource.
|
1487
|
+
* @returns {string} A string representing the engine.
|
1488
|
+
*/
|
1489
|
+
matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
|
1490
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
|
1491
|
+
}
|
1492
|
+
/**
|
1493
|
+
* Parse the session from ProjectLocationCollectionEngineSession resource.
|
1494
|
+
*
|
1495
|
+
* @param {string} projectLocationCollectionEngineSessionName
|
1496
|
+
* A fully-qualified path representing project_location_collection_engine_session resource.
|
1497
|
+
* @returns {string} A string representing the session.
|
1498
|
+
*/
|
1499
|
+
matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
|
1500
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
|
1501
|
+
}
|
1502
|
+
/**
|
1503
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
1504
|
+
*
|
1505
|
+
* @param {string} project
|
1506
|
+
* @param {string} location
|
1507
|
+
* @param {string} collection
|
1508
|
+
* @param {string} engine
|
1509
|
+
* @param {string} session
|
1510
|
+
* @param {string} answer
|
1511
|
+
* @returns {string} Resource name string.
|
1512
|
+
*/
|
1513
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
1514
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
1515
|
+
project: project,
|
1516
|
+
location: location,
|
1517
|
+
collection: collection,
|
1518
|
+
engine: engine,
|
1519
|
+
session: session,
|
1520
|
+
answer: answer,
|
1521
|
+
});
|
1522
|
+
}
|
1523
|
+
/**
|
1524
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
1525
|
+
*
|
1526
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1527
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1528
|
+
* @returns {string} A string representing the project.
|
1529
|
+
*/
|
1530
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1531
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
1532
|
+
}
|
1533
|
+
/**
|
1534
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
1535
|
+
*
|
1536
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1537
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1538
|
+
* @returns {string} A string representing the location.
|
1539
|
+
*/
|
1540
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1541
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
1542
|
+
}
|
1543
|
+
/**
|
1544
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
1545
|
+
*
|
1546
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1547
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1548
|
+
* @returns {string} A string representing the collection.
|
1549
|
+
*/
|
1550
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1551
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
1552
|
+
}
|
1553
|
+
/**
|
1554
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
1555
|
+
*
|
1556
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1557
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1558
|
+
* @returns {string} A string representing the engine.
|
1559
|
+
*/
|
1560
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1561
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
1562
|
+
}
|
1563
|
+
/**
|
1564
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
1565
|
+
*
|
1566
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1567
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1568
|
+
* @returns {string} A string representing the session.
|
1569
|
+
*/
|
1570
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1571
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
1572
|
+
}
|
1573
|
+
/**
|
1574
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
1575
|
+
*
|
1576
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1577
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1578
|
+
* @returns {string} A string representing the answer.
|
1579
|
+
*/
|
1580
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1581
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
1582
|
+
}
|
1277
1583
|
/**
|
1278
1584
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
1279
1585
|
*
|
@@ -1604,6 +1910,132 @@ class ServingConfigServiceClient {
|
|
1604
1910
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
1605
1911
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
1606
1912
|
}
|
1913
|
+
/**
|
1914
|
+
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
1915
|
+
*
|
1916
|
+
* @param {string} project
|
1917
|
+
* @param {string} location
|
1918
|
+
* @param {string} data_store
|
1919
|
+
* @param {string} session
|
1920
|
+
* @returns {string} Resource name string.
|
1921
|
+
*/
|
1922
|
+
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
1923
|
+
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
1924
|
+
project: project,
|
1925
|
+
location: location,
|
1926
|
+
data_store: dataStore,
|
1927
|
+
session: session,
|
1928
|
+
});
|
1929
|
+
}
|
1930
|
+
/**
|
1931
|
+
* Parse the project from ProjectLocationDataStoreSession resource.
|
1932
|
+
*
|
1933
|
+
* @param {string} projectLocationDataStoreSessionName
|
1934
|
+
* A fully-qualified path representing project_location_data_store_session resource.
|
1935
|
+
* @returns {string} A string representing the project.
|
1936
|
+
*/
|
1937
|
+
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
1938
|
+
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
1939
|
+
}
|
1940
|
+
/**
|
1941
|
+
* Parse the location from ProjectLocationDataStoreSession resource.
|
1942
|
+
*
|
1943
|
+
* @param {string} projectLocationDataStoreSessionName
|
1944
|
+
* A fully-qualified path representing project_location_data_store_session resource.
|
1945
|
+
* @returns {string} A string representing the location.
|
1946
|
+
*/
|
1947
|
+
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
1948
|
+
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
1949
|
+
}
|
1950
|
+
/**
|
1951
|
+
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
1952
|
+
*
|
1953
|
+
* @param {string} projectLocationDataStoreSessionName
|
1954
|
+
* A fully-qualified path representing project_location_data_store_session resource.
|
1955
|
+
* @returns {string} A string representing the data_store.
|
1956
|
+
*/
|
1957
|
+
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
1958
|
+
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
1959
|
+
}
|
1960
|
+
/**
|
1961
|
+
* Parse the session from ProjectLocationDataStoreSession resource.
|
1962
|
+
*
|
1963
|
+
* @param {string} projectLocationDataStoreSessionName
|
1964
|
+
* A fully-qualified path representing project_location_data_store_session resource.
|
1965
|
+
* @returns {string} A string representing the session.
|
1966
|
+
*/
|
1967
|
+
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
1968
|
+
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
1969
|
+
}
|
1970
|
+
/**
|
1971
|
+
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
1972
|
+
*
|
1973
|
+
* @param {string} project
|
1974
|
+
* @param {string} location
|
1975
|
+
* @param {string} data_store
|
1976
|
+
* @param {string} session
|
1977
|
+
* @param {string} answer
|
1978
|
+
* @returns {string} Resource name string.
|
1979
|
+
*/
|
1980
|
+
projectLocationDataStoreSessionAnswerPath(project, location, dataStore, session, answer) {
|
1981
|
+
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.render({
|
1982
|
+
project: project,
|
1983
|
+
location: location,
|
1984
|
+
data_store: dataStore,
|
1985
|
+
session: session,
|
1986
|
+
answer: answer,
|
1987
|
+
});
|
1988
|
+
}
|
1989
|
+
/**
|
1990
|
+
* Parse the project from ProjectLocationDataStoreSessionAnswer resource.
|
1991
|
+
*
|
1992
|
+
* @param {string} projectLocationDataStoreSessionAnswerName
|
1993
|
+
* A fully-qualified path representing project_location_data_store_session_answer resource.
|
1994
|
+
* @returns {string} A string representing the project.
|
1995
|
+
*/
|
1996
|
+
matchProjectFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
1997
|
+
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).project;
|
1998
|
+
}
|
1999
|
+
/**
|
2000
|
+
* Parse the location from ProjectLocationDataStoreSessionAnswer resource.
|
2001
|
+
*
|
2002
|
+
* @param {string} projectLocationDataStoreSessionAnswerName
|
2003
|
+
* A fully-qualified path representing project_location_data_store_session_answer resource.
|
2004
|
+
* @returns {string} A string representing the location.
|
2005
|
+
*/
|
2006
|
+
matchLocationFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2007
|
+
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).location;
|
2008
|
+
}
|
2009
|
+
/**
|
2010
|
+
* Parse the data_store from ProjectLocationDataStoreSessionAnswer resource.
|
2011
|
+
*
|
2012
|
+
* @param {string} projectLocationDataStoreSessionAnswerName
|
2013
|
+
* A fully-qualified path representing project_location_data_store_session_answer resource.
|
2014
|
+
* @returns {string} A string representing the data_store.
|
2015
|
+
*/
|
2016
|
+
matchDataStoreFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2017
|
+
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).data_store;
|
2018
|
+
}
|
2019
|
+
/**
|
2020
|
+
* Parse the session from ProjectLocationDataStoreSessionAnswer resource.
|
2021
|
+
*
|
2022
|
+
* @param {string} projectLocationDataStoreSessionAnswerName
|
2023
|
+
* A fully-qualified path representing project_location_data_store_session_answer resource.
|
2024
|
+
* @returns {string} A string representing the session.
|
2025
|
+
*/
|
2026
|
+
matchSessionFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2027
|
+
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).session;
|
2028
|
+
}
|
2029
|
+
/**
|
2030
|
+
* Parse the answer from ProjectLocationDataStoreSessionAnswer resource.
|
2031
|
+
*
|
2032
|
+
* @param {string} projectLocationDataStoreSessionAnswerName
|
2033
|
+
* A fully-qualified path representing project_location_data_store_session_answer resource.
|
2034
|
+
* @returns {string} A string representing the answer.
|
2035
|
+
*/
|
2036
|
+
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2037
|
+
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
2038
|
+
}
|
1607
2039
|
/**
|
1608
2040
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
1609
2041
|
*
|