@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
@@ -156,16 +156,22 @@ class UserEventServiceClient {
|
|
156
156
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
157
157
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
158
158
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
159
|
+
projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
160
|
+
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
159
161
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
160
162
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
161
163
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
162
164
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
165
|
+
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
166
|
+
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
163
167
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
164
168
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
165
169
|
projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
|
166
170
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
167
171
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
168
172
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
173
|
+
projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
174
|
+
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
169
175
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
170
176
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
171
177
|
};
|
@@ -1112,6 +1118,156 @@ class UserEventServiceClient {
|
|
1112
1118
|
matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
|
1113
1119
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1114
1120
|
}
|
1121
|
+
/**
|
1122
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
|
1123
|
+
*
|
1124
|
+
* @param {string} project
|
1125
|
+
* @param {string} location
|
1126
|
+
* @param {string} collection
|
1127
|
+
* @param {string} data_store
|
1128
|
+
* @param {string} session
|
1129
|
+
* @returns {string} Resource name string.
|
1130
|
+
*/
|
1131
|
+
projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
|
1132
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
|
1133
|
+
project: project,
|
1134
|
+
location: location,
|
1135
|
+
collection: collection,
|
1136
|
+
data_store: dataStore,
|
1137
|
+
session: session,
|
1138
|
+
});
|
1139
|
+
}
|
1140
|
+
/**
|
1141
|
+
* Parse the project from ProjectLocationCollectionDataStoreSession resource.
|
1142
|
+
*
|
1143
|
+
* @param {string} projectLocationCollectionDataStoreSessionName
|
1144
|
+
* A fully-qualified path representing project_location_collection_data_store_session resource.
|
1145
|
+
* @returns {string} A string representing the project.
|
1146
|
+
*/
|
1147
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
|
1148
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
|
1149
|
+
}
|
1150
|
+
/**
|
1151
|
+
* Parse the location from ProjectLocationCollectionDataStoreSession resource.
|
1152
|
+
*
|
1153
|
+
* @param {string} projectLocationCollectionDataStoreSessionName
|
1154
|
+
* A fully-qualified path representing project_location_collection_data_store_session resource.
|
1155
|
+
* @returns {string} A string representing the location.
|
1156
|
+
*/
|
1157
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
|
1158
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
|
1159
|
+
}
|
1160
|
+
/**
|
1161
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSession resource.
|
1162
|
+
*
|
1163
|
+
* @param {string} projectLocationCollectionDataStoreSessionName
|
1164
|
+
* A fully-qualified path representing project_location_collection_data_store_session resource.
|
1165
|
+
* @returns {string} A string representing the collection.
|
1166
|
+
*/
|
1167
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
|
1168
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
|
1169
|
+
}
|
1170
|
+
/**
|
1171
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
|
1172
|
+
*
|
1173
|
+
* @param {string} projectLocationCollectionDataStoreSessionName
|
1174
|
+
* A fully-qualified path representing project_location_collection_data_store_session resource.
|
1175
|
+
* @returns {string} A string representing the data_store.
|
1176
|
+
*/
|
1177
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
|
1178
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
|
1179
|
+
}
|
1180
|
+
/**
|
1181
|
+
* Parse the session from ProjectLocationCollectionDataStoreSession resource.
|
1182
|
+
*
|
1183
|
+
* @param {string} projectLocationCollectionDataStoreSessionName
|
1184
|
+
* A fully-qualified path representing project_location_collection_data_store_session resource.
|
1185
|
+
* @returns {string} A string representing the session.
|
1186
|
+
*/
|
1187
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
|
1188
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
|
1189
|
+
}
|
1190
|
+
/**
|
1191
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1192
|
+
*
|
1193
|
+
* @param {string} project
|
1194
|
+
* @param {string} location
|
1195
|
+
* @param {string} collection
|
1196
|
+
* @param {string} data_store
|
1197
|
+
* @param {string} session
|
1198
|
+
* @param {string} answer
|
1199
|
+
* @returns {string} Resource name string.
|
1200
|
+
*/
|
1201
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1202
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1203
|
+
project: project,
|
1204
|
+
location: location,
|
1205
|
+
collection: collection,
|
1206
|
+
data_store: dataStore,
|
1207
|
+
session: session,
|
1208
|
+
answer: answer,
|
1209
|
+
});
|
1210
|
+
}
|
1211
|
+
/**
|
1212
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1213
|
+
*
|
1214
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1215
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1216
|
+
* @returns {string} A string representing the project.
|
1217
|
+
*/
|
1218
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1219
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1220
|
+
}
|
1221
|
+
/**
|
1222
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1223
|
+
*
|
1224
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1225
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1226
|
+
* @returns {string} A string representing the location.
|
1227
|
+
*/
|
1228
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1229
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1230
|
+
}
|
1231
|
+
/**
|
1232
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1233
|
+
*
|
1234
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1235
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1236
|
+
* @returns {string} A string representing the collection.
|
1237
|
+
*/
|
1238
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1239
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1240
|
+
}
|
1241
|
+
/**
|
1242
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1243
|
+
*
|
1244
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1245
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1246
|
+
* @returns {string} A string representing the data_store.
|
1247
|
+
*/
|
1248
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1249
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1250
|
+
}
|
1251
|
+
/**
|
1252
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1253
|
+
*
|
1254
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1255
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1256
|
+
* @returns {string} A string representing the session.
|
1257
|
+
*/
|
1258
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1259
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1260
|
+
}
|
1261
|
+
/**
|
1262
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1263
|
+
*
|
1264
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1265
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1266
|
+
* @returns {string} A string representing the answer.
|
1267
|
+
*/
|
1268
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1269
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1270
|
+
}
|
1115
1271
|
/**
|
1116
1272
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
1117
1273
|
*
|
@@ -1376,6 +1532,156 @@ class UserEventServiceClient {
|
|
1376
1532
|
matchServingConfigFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
1377
1533
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
1378
1534
|
}
|
1535
|
+
/**
|
1536
|
+
* Return a fully-qualified projectLocationCollectionEngineSession resource name string.
|
1537
|
+
*
|
1538
|
+
* @param {string} project
|
1539
|
+
* @param {string} location
|
1540
|
+
* @param {string} collection
|
1541
|
+
* @param {string} engine
|
1542
|
+
* @param {string} session
|
1543
|
+
* @returns {string} Resource name string.
|
1544
|
+
*/
|
1545
|
+
projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
|
1546
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
|
1547
|
+
project: project,
|
1548
|
+
location: location,
|
1549
|
+
collection: collection,
|
1550
|
+
engine: engine,
|
1551
|
+
session: session,
|
1552
|
+
});
|
1553
|
+
}
|
1554
|
+
/**
|
1555
|
+
* Parse the project from ProjectLocationCollectionEngineSession resource.
|
1556
|
+
*
|
1557
|
+
* @param {string} projectLocationCollectionEngineSessionName
|
1558
|
+
* A fully-qualified path representing project_location_collection_engine_session resource.
|
1559
|
+
* @returns {string} A string representing the project.
|
1560
|
+
*/
|
1561
|
+
matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
|
1562
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
|
1563
|
+
}
|
1564
|
+
/**
|
1565
|
+
* Parse the location from ProjectLocationCollectionEngineSession resource.
|
1566
|
+
*
|
1567
|
+
* @param {string} projectLocationCollectionEngineSessionName
|
1568
|
+
* A fully-qualified path representing project_location_collection_engine_session resource.
|
1569
|
+
* @returns {string} A string representing the location.
|
1570
|
+
*/
|
1571
|
+
matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
|
1572
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
|
1573
|
+
}
|
1574
|
+
/**
|
1575
|
+
* Parse the collection from ProjectLocationCollectionEngineSession resource.
|
1576
|
+
*
|
1577
|
+
* @param {string} projectLocationCollectionEngineSessionName
|
1578
|
+
* A fully-qualified path representing project_location_collection_engine_session resource.
|
1579
|
+
* @returns {string} A string representing the collection.
|
1580
|
+
*/
|
1581
|
+
matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
|
1582
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
|
1583
|
+
}
|
1584
|
+
/**
|
1585
|
+
* Parse the engine from ProjectLocationCollectionEngineSession resource.
|
1586
|
+
*
|
1587
|
+
* @param {string} projectLocationCollectionEngineSessionName
|
1588
|
+
* A fully-qualified path representing project_location_collection_engine_session resource.
|
1589
|
+
* @returns {string} A string representing the engine.
|
1590
|
+
*/
|
1591
|
+
matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
|
1592
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
|
1593
|
+
}
|
1594
|
+
/**
|
1595
|
+
* Parse the session from ProjectLocationCollectionEngineSession resource.
|
1596
|
+
*
|
1597
|
+
* @param {string} projectLocationCollectionEngineSessionName
|
1598
|
+
* A fully-qualified path representing project_location_collection_engine_session resource.
|
1599
|
+
* @returns {string} A string representing the session.
|
1600
|
+
*/
|
1601
|
+
matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
|
1602
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
|
1603
|
+
}
|
1604
|
+
/**
|
1605
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
1606
|
+
*
|
1607
|
+
* @param {string} project
|
1608
|
+
* @param {string} location
|
1609
|
+
* @param {string} collection
|
1610
|
+
* @param {string} engine
|
1611
|
+
* @param {string} session
|
1612
|
+
* @param {string} answer
|
1613
|
+
* @returns {string} Resource name string.
|
1614
|
+
*/
|
1615
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
1616
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
1617
|
+
project: project,
|
1618
|
+
location: location,
|
1619
|
+
collection: collection,
|
1620
|
+
engine: engine,
|
1621
|
+
session: session,
|
1622
|
+
answer: answer,
|
1623
|
+
});
|
1624
|
+
}
|
1625
|
+
/**
|
1626
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
1627
|
+
*
|
1628
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1629
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1630
|
+
* @returns {string} A string representing the project.
|
1631
|
+
*/
|
1632
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1633
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
1634
|
+
}
|
1635
|
+
/**
|
1636
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
1637
|
+
*
|
1638
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1639
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1640
|
+
* @returns {string} A string representing the location.
|
1641
|
+
*/
|
1642
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1643
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
1644
|
+
}
|
1645
|
+
/**
|
1646
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
1647
|
+
*
|
1648
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1649
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1650
|
+
* @returns {string} A string representing the collection.
|
1651
|
+
*/
|
1652
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1653
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
1654
|
+
}
|
1655
|
+
/**
|
1656
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
1657
|
+
*
|
1658
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1659
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1660
|
+
* @returns {string} A string representing the engine.
|
1661
|
+
*/
|
1662
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1663
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
1664
|
+
}
|
1665
|
+
/**
|
1666
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
1667
|
+
*
|
1668
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1669
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1670
|
+
* @returns {string} A string representing the session.
|
1671
|
+
*/
|
1672
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1673
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
1674
|
+
}
|
1675
|
+
/**
|
1676
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
1677
|
+
*
|
1678
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1679
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1680
|
+
* @returns {string} A string representing the answer.
|
1681
|
+
*/
|
1682
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1683
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
1684
|
+
}
|
1379
1685
|
/**
|
1380
1686
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
1381
1687
|
*
|
@@ -1706,6 +2012,132 @@ class UserEventServiceClient {
|
|
1706
2012
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
1707
2013
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
1708
2014
|
}
|
2015
|
+
/**
|
2016
|
+
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
2017
|
+
*
|
2018
|
+
* @param {string} project
|
2019
|
+
* @param {string} location
|
2020
|
+
* @param {string} data_store
|
2021
|
+
* @param {string} session
|
2022
|
+
* @returns {string} Resource name string.
|
2023
|
+
*/
|
2024
|
+
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
2025
|
+
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
2026
|
+
project: project,
|
2027
|
+
location: location,
|
2028
|
+
data_store: dataStore,
|
2029
|
+
session: session,
|
2030
|
+
});
|
2031
|
+
}
|
2032
|
+
/**
|
2033
|
+
* Parse the project from ProjectLocationDataStoreSession resource.
|
2034
|
+
*
|
2035
|
+
* @param {string} projectLocationDataStoreSessionName
|
2036
|
+
* A fully-qualified path representing project_location_data_store_session resource.
|
2037
|
+
* @returns {string} A string representing the project.
|
2038
|
+
*/
|
2039
|
+
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2040
|
+
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
2041
|
+
}
|
2042
|
+
/**
|
2043
|
+
* Parse the location from ProjectLocationDataStoreSession resource.
|
2044
|
+
*
|
2045
|
+
* @param {string} projectLocationDataStoreSessionName
|
2046
|
+
* A fully-qualified path representing project_location_data_store_session resource.
|
2047
|
+
* @returns {string} A string representing the location.
|
2048
|
+
*/
|
2049
|
+
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2050
|
+
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
2051
|
+
}
|
2052
|
+
/**
|
2053
|
+
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
2054
|
+
*
|
2055
|
+
* @param {string} projectLocationDataStoreSessionName
|
2056
|
+
* A fully-qualified path representing project_location_data_store_session resource.
|
2057
|
+
* @returns {string} A string representing the data_store.
|
2058
|
+
*/
|
2059
|
+
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2060
|
+
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
2061
|
+
}
|
2062
|
+
/**
|
2063
|
+
* Parse the session from ProjectLocationDataStoreSession resource.
|
2064
|
+
*
|
2065
|
+
* @param {string} projectLocationDataStoreSessionName
|
2066
|
+
* A fully-qualified path representing project_location_data_store_session resource.
|
2067
|
+
* @returns {string} A string representing the session.
|
2068
|
+
*/
|
2069
|
+
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2070
|
+
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
2071
|
+
}
|
2072
|
+
/**
|
2073
|
+
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
2074
|
+
*
|
2075
|
+
* @param {string} project
|
2076
|
+
* @param {string} location
|
2077
|
+
* @param {string} data_store
|
2078
|
+
* @param {string} session
|
2079
|
+
* @param {string} answer
|
2080
|
+
* @returns {string} Resource name string.
|
2081
|
+
*/
|
2082
|
+
projectLocationDataStoreSessionAnswerPath(project, location, dataStore, session, answer) {
|
2083
|
+
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.render({
|
2084
|
+
project: project,
|
2085
|
+
location: location,
|
2086
|
+
data_store: dataStore,
|
2087
|
+
session: session,
|
2088
|
+
answer: answer,
|
2089
|
+
});
|
2090
|
+
}
|
2091
|
+
/**
|
2092
|
+
* Parse the project from ProjectLocationDataStoreSessionAnswer resource.
|
2093
|
+
*
|
2094
|
+
* @param {string} projectLocationDataStoreSessionAnswerName
|
2095
|
+
* A fully-qualified path representing project_location_data_store_session_answer resource.
|
2096
|
+
* @returns {string} A string representing the project.
|
2097
|
+
*/
|
2098
|
+
matchProjectFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2099
|
+
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).project;
|
2100
|
+
}
|
2101
|
+
/**
|
2102
|
+
* Parse the location from ProjectLocationDataStoreSessionAnswer resource.
|
2103
|
+
*
|
2104
|
+
* @param {string} projectLocationDataStoreSessionAnswerName
|
2105
|
+
* A fully-qualified path representing project_location_data_store_session_answer resource.
|
2106
|
+
* @returns {string} A string representing the location.
|
2107
|
+
*/
|
2108
|
+
matchLocationFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2109
|
+
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).location;
|
2110
|
+
}
|
2111
|
+
/**
|
2112
|
+
* Parse the data_store from ProjectLocationDataStoreSessionAnswer resource.
|
2113
|
+
*
|
2114
|
+
* @param {string} projectLocationDataStoreSessionAnswerName
|
2115
|
+
* A fully-qualified path representing project_location_data_store_session_answer resource.
|
2116
|
+
* @returns {string} A string representing the data_store.
|
2117
|
+
*/
|
2118
|
+
matchDataStoreFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2119
|
+
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).data_store;
|
2120
|
+
}
|
2121
|
+
/**
|
2122
|
+
* Parse the session from ProjectLocationDataStoreSessionAnswer resource.
|
2123
|
+
*
|
2124
|
+
* @param {string} projectLocationDataStoreSessionAnswerName
|
2125
|
+
* A fully-qualified path representing project_location_data_store_session_answer resource.
|
2126
|
+
* @returns {string} A string representing the session.
|
2127
|
+
*/
|
2128
|
+
matchSessionFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2129
|
+
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).session;
|
2130
|
+
}
|
2131
|
+
/**
|
2132
|
+
* Parse the answer from ProjectLocationDataStoreSessionAnswer resource.
|
2133
|
+
*
|
2134
|
+
* @param {string} projectLocationDataStoreSessionAnswerName
|
2135
|
+
* A fully-qualified path representing project_location_data_store_session_answer resource.
|
2136
|
+
* @returns {string} A string representing the answer.
|
2137
|
+
*/
|
2138
|
+
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2139
|
+
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
2140
|
+
}
|
1709
2141
|
/**
|
1710
2142
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
1711
2143
|
*
|