@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
@@ -27,7 +27,8 @@ const jsonProtos = require("../../protos/protos.json");
|
|
27
27
|
const gapicConfig = require("./serving_config_service_client_config.json");
|
28
28
|
const version = require('../../../package.json').version;
|
29
29
|
/**
|
30
|
-
* Service for operations related to
|
30
|
+
* Service for operations related to
|
31
|
+
* {@link protos.google.cloud.discoveryengine.v1alpha.ServingConfig|ServingConfig}.
|
31
32
|
* @class
|
32
33
|
* @memberof v1alpha
|
33
34
|
*/
|
@@ -160,10 +161,14 @@ class ServingConfigServiceClient {
|
|
160
161
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
161
162
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
162
163
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
164
|
+
projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
165
|
+
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
163
166
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
164
167
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
165
168
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
166
169
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
170
|
+
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
171
|
+
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
167
172
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
168
173
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
169
174
|
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -171,6 +176,8 @@ class ServingConfigServiceClient {
|
|
171
176
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
172
177
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
173
178
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
179
|
+
projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
180
|
+
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
174
181
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
175
182
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
176
183
|
};
|
@@ -1140,6 +1147,156 @@ class ServingConfigServiceClient {
|
|
1140
1147
|
matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
|
1141
1148
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1142
1149
|
}
|
1150
|
+
/**
|
1151
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
|
1152
|
+
*
|
1153
|
+
* @param {string} project
|
1154
|
+
* @param {string} location
|
1155
|
+
* @param {string} collection
|
1156
|
+
* @param {string} data_store
|
1157
|
+
* @param {string} session
|
1158
|
+
* @returns {string} Resource name string.
|
1159
|
+
*/
|
1160
|
+
projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
|
1161
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
|
1162
|
+
project: project,
|
1163
|
+
location: location,
|
1164
|
+
collection: collection,
|
1165
|
+
data_store: dataStore,
|
1166
|
+
session: session,
|
1167
|
+
});
|
1168
|
+
}
|
1169
|
+
/**
|
1170
|
+
* Parse the project from ProjectLocationCollectionDataStoreSession resource.
|
1171
|
+
*
|
1172
|
+
* @param {string} projectLocationCollectionDataStoreSessionName
|
1173
|
+
* A fully-qualified path representing project_location_collection_data_store_session resource.
|
1174
|
+
* @returns {string} A string representing the project.
|
1175
|
+
*/
|
1176
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
|
1177
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
|
1178
|
+
}
|
1179
|
+
/**
|
1180
|
+
* Parse the location from ProjectLocationCollectionDataStoreSession resource.
|
1181
|
+
*
|
1182
|
+
* @param {string} projectLocationCollectionDataStoreSessionName
|
1183
|
+
* A fully-qualified path representing project_location_collection_data_store_session resource.
|
1184
|
+
* @returns {string} A string representing the location.
|
1185
|
+
*/
|
1186
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
|
1187
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
|
1188
|
+
}
|
1189
|
+
/**
|
1190
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSession resource.
|
1191
|
+
*
|
1192
|
+
* @param {string} projectLocationCollectionDataStoreSessionName
|
1193
|
+
* A fully-qualified path representing project_location_collection_data_store_session resource.
|
1194
|
+
* @returns {string} A string representing the collection.
|
1195
|
+
*/
|
1196
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
|
1197
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
|
1198
|
+
}
|
1199
|
+
/**
|
1200
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
|
1201
|
+
*
|
1202
|
+
* @param {string} projectLocationCollectionDataStoreSessionName
|
1203
|
+
* A fully-qualified path representing project_location_collection_data_store_session resource.
|
1204
|
+
* @returns {string} A string representing the data_store.
|
1205
|
+
*/
|
1206
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
|
1207
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
|
1208
|
+
}
|
1209
|
+
/**
|
1210
|
+
* Parse the session from ProjectLocationCollectionDataStoreSession resource.
|
1211
|
+
*
|
1212
|
+
* @param {string} projectLocationCollectionDataStoreSessionName
|
1213
|
+
* A fully-qualified path representing project_location_collection_data_store_session resource.
|
1214
|
+
* @returns {string} A string representing the session.
|
1215
|
+
*/
|
1216
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
|
1217
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
|
1218
|
+
}
|
1219
|
+
/**
|
1220
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1221
|
+
*
|
1222
|
+
* @param {string} project
|
1223
|
+
* @param {string} location
|
1224
|
+
* @param {string} collection
|
1225
|
+
* @param {string} data_store
|
1226
|
+
* @param {string} session
|
1227
|
+
* @param {string} answer
|
1228
|
+
* @returns {string} Resource name string.
|
1229
|
+
*/
|
1230
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1231
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1232
|
+
project: project,
|
1233
|
+
location: location,
|
1234
|
+
collection: collection,
|
1235
|
+
data_store: dataStore,
|
1236
|
+
session: session,
|
1237
|
+
answer: answer,
|
1238
|
+
});
|
1239
|
+
}
|
1240
|
+
/**
|
1241
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1242
|
+
*
|
1243
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1244
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1245
|
+
* @returns {string} A string representing the project.
|
1246
|
+
*/
|
1247
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1248
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1249
|
+
}
|
1250
|
+
/**
|
1251
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1252
|
+
*
|
1253
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1254
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1255
|
+
* @returns {string} A string representing the location.
|
1256
|
+
*/
|
1257
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1258
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1259
|
+
}
|
1260
|
+
/**
|
1261
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1262
|
+
*
|
1263
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1264
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1265
|
+
* @returns {string} A string representing the collection.
|
1266
|
+
*/
|
1267
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1268
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1269
|
+
}
|
1270
|
+
/**
|
1271
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1272
|
+
*
|
1273
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1274
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1275
|
+
* @returns {string} A string representing the data_store.
|
1276
|
+
*/
|
1277
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1278
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1279
|
+
}
|
1280
|
+
/**
|
1281
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1282
|
+
*
|
1283
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1284
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1285
|
+
* @returns {string} A string representing the session.
|
1286
|
+
*/
|
1287
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1288
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1289
|
+
}
|
1290
|
+
/**
|
1291
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1292
|
+
*
|
1293
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1294
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1295
|
+
* @returns {string} A string representing the answer.
|
1296
|
+
*/
|
1297
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1298
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1299
|
+
}
|
1143
1300
|
/**
|
1144
1301
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
1145
1302
|
*
|
@@ -1404,6 +1561,156 @@ class ServingConfigServiceClient {
|
|
1404
1561
|
matchServingConfigFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
1405
1562
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
1406
1563
|
}
|
1564
|
+
/**
|
1565
|
+
* Return a fully-qualified projectLocationCollectionEngineSession resource name string.
|
1566
|
+
*
|
1567
|
+
* @param {string} project
|
1568
|
+
* @param {string} location
|
1569
|
+
* @param {string} collection
|
1570
|
+
* @param {string} engine
|
1571
|
+
* @param {string} session
|
1572
|
+
* @returns {string} Resource name string.
|
1573
|
+
*/
|
1574
|
+
projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
|
1575
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
|
1576
|
+
project: project,
|
1577
|
+
location: location,
|
1578
|
+
collection: collection,
|
1579
|
+
engine: engine,
|
1580
|
+
session: session,
|
1581
|
+
});
|
1582
|
+
}
|
1583
|
+
/**
|
1584
|
+
* Parse the project from ProjectLocationCollectionEngineSession resource.
|
1585
|
+
*
|
1586
|
+
* @param {string} projectLocationCollectionEngineSessionName
|
1587
|
+
* A fully-qualified path representing project_location_collection_engine_session resource.
|
1588
|
+
* @returns {string} A string representing the project.
|
1589
|
+
*/
|
1590
|
+
matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
|
1591
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
|
1592
|
+
}
|
1593
|
+
/**
|
1594
|
+
* Parse the location from ProjectLocationCollectionEngineSession resource.
|
1595
|
+
*
|
1596
|
+
* @param {string} projectLocationCollectionEngineSessionName
|
1597
|
+
* A fully-qualified path representing project_location_collection_engine_session resource.
|
1598
|
+
* @returns {string} A string representing the location.
|
1599
|
+
*/
|
1600
|
+
matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
|
1601
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
|
1602
|
+
}
|
1603
|
+
/**
|
1604
|
+
* Parse the collection from ProjectLocationCollectionEngineSession resource.
|
1605
|
+
*
|
1606
|
+
* @param {string} projectLocationCollectionEngineSessionName
|
1607
|
+
* A fully-qualified path representing project_location_collection_engine_session resource.
|
1608
|
+
* @returns {string} A string representing the collection.
|
1609
|
+
*/
|
1610
|
+
matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
|
1611
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
|
1612
|
+
}
|
1613
|
+
/**
|
1614
|
+
* Parse the engine from ProjectLocationCollectionEngineSession resource.
|
1615
|
+
*
|
1616
|
+
* @param {string} projectLocationCollectionEngineSessionName
|
1617
|
+
* A fully-qualified path representing project_location_collection_engine_session resource.
|
1618
|
+
* @returns {string} A string representing the engine.
|
1619
|
+
*/
|
1620
|
+
matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
|
1621
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
|
1622
|
+
}
|
1623
|
+
/**
|
1624
|
+
* Parse the session from ProjectLocationCollectionEngineSession resource.
|
1625
|
+
*
|
1626
|
+
* @param {string} projectLocationCollectionEngineSessionName
|
1627
|
+
* A fully-qualified path representing project_location_collection_engine_session resource.
|
1628
|
+
* @returns {string} A string representing the session.
|
1629
|
+
*/
|
1630
|
+
matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
|
1631
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
|
1632
|
+
}
|
1633
|
+
/**
|
1634
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
1635
|
+
*
|
1636
|
+
* @param {string} project
|
1637
|
+
* @param {string} location
|
1638
|
+
* @param {string} collection
|
1639
|
+
* @param {string} engine
|
1640
|
+
* @param {string} session
|
1641
|
+
* @param {string} answer
|
1642
|
+
* @returns {string} Resource name string.
|
1643
|
+
*/
|
1644
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
1645
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
1646
|
+
project: project,
|
1647
|
+
location: location,
|
1648
|
+
collection: collection,
|
1649
|
+
engine: engine,
|
1650
|
+
session: session,
|
1651
|
+
answer: answer,
|
1652
|
+
});
|
1653
|
+
}
|
1654
|
+
/**
|
1655
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
1656
|
+
*
|
1657
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1658
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1659
|
+
* @returns {string} A string representing the project.
|
1660
|
+
*/
|
1661
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1662
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
1663
|
+
}
|
1664
|
+
/**
|
1665
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
1666
|
+
*
|
1667
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1668
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1669
|
+
* @returns {string} A string representing the location.
|
1670
|
+
*/
|
1671
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1672
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
1673
|
+
}
|
1674
|
+
/**
|
1675
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
1676
|
+
*
|
1677
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1678
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1679
|
+
* @returns {string} A string representing the collection.
|
1680
|
+
*/
|
1681
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1682
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
1683
|
+
}
|
1684
|
+
/**
|
1685
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
1686
|
+
*
|
1687
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1688
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1689
|
+
* @returns {string} A string representing the engine.
|
1690
|
+
*/
|
1691
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1692
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
1693
|
+
}
|
1694
|
+
/**
|
1695
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
1696
|
+
*
|
1697
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1698
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1699
|
+
* @returns {string} A string representing the session.
|
1700
|
+
*/
|
1701
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1702
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
1703
|
+
}
|
1704
|
+
/**
|
1705
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
1706
|
+
*
|
1707
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1708
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1709
|
+
* @returns {string} A string representing the answer.
|
1710
|
+
*/
|
1711
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1712
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
1713
|
+
}
|
1407
1714
|
/**
|
1408
1715
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
1409
1716
|
*
|
@@ -1815,6 +2122,132 @@ class ServingConfigServiceClient {
|
|
1815
2122
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
1816
2123
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
1817
2124
|
}
|
2125
|
+
/**
|
2126
|
+
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
2127
|
+
*
|
2128
|
+
* @param {string} project
|
2129
|
+
* @param {string} location
|
2130
|
+
* @param {string} data_store
|
2131
|
+
* @param {string} session
|
2132
|
+
* @returns {string} Resource name string.
|
2133
|
+
*/
|
2134
|
+
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
2135
|
+
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
2136
|
+
project: project,
|
2137
|
+
location: location,
|
2138
|
+
data_store: dataStore,
|
2139
|
+
session: session,
|
2140
|
+
});
|
2141
|
+
}
|
2142
|
+
/**
|
2143
|
+
* Parse the project from ProjectLocationDataStoreSession resource.
|
2144
|
+
*
|
2145
|
+
* @param {string} projectLocationDataStoreSessionName
|
2146
|
+
* A fully-qualified path representing project_location_data_store_session resource.
|
2147
|
+
* @returns {string} A string representing the project.
|
2148
|
+
*/
|
2149
|
+
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2150
|
+
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
2151
|
+
}
|
2152
|
+
/**
|
2153
|
+
* Parse the location from ProjectLocationDataStoreSession resource.
|
2154
|
+
*
|
2155
|
+
* @param {string} projectLocationDataStoreSessionName
|
2156
|
+
* A fully-qualified path representing project_location_data_store_session resource.
|
2157
|
+
* @returns {string} A string representing the location.
|
2158
|
+
*/
|
2159
|
+
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2160
|
+
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
2161
|
+
}
|
2162
|
+
/**
|
2163
|
+
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
2164
|
+
*
|
2165
|
+
* @param {string} projectLocationDataStoreSessionName
|
2166
|
+
* A fully-qualified path representing project_location_data_store_session resource.
|
2167
|
+
* @returns {string} A string representing the data_store.
|
2168
|
+
*/
|
2169
|
+
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2170
|
+
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
2171
|
+
}
|
2172
|
+
/**
|
2173
|
+
* Parse the session from ProjectLocationDataStoreSession resource.
|
2174
|
+
*
|
2175
|
+
* @param {string} projectLocationDataStoreSessionName
|
2176
|
+
* A fully-qualified path representing project_location_data_store_session resource.
|
2177
|
+
* @returns {string} A string representing the session.
|
2178
|
+
*/
|
2179
|
+
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2180
|
+
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
2181
|
+
}
|
2182
|
+
/**
|
2183
|
+
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
2184
|
+
*
|
2185
|
+
* @param {string} project
|
2186
|
+
* @param {string} location
|
2187
|
+
* @param {string} data_store
|
2188
|
+
* @param {string} session
|
2189
|
+
* @param {string} answer
|
2190
|
+
* @returns {string} Resource name string.
|
2191
|
+
*/
|
2192
|
+
projectLocationDataStoreSessionAnswerPath(project, location, dataStore, session, answer) {
|
2193
|
+
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.render({
|
2194
|
+
project: project,
|
2195
|
+
location: location,
|
2196
|
+
data_store: dataStore,
|
2197
|
+
session: session,
|
2198
|
+
answer: answer,
|
2199
|
+
});
|
2200
|
+
}
|
2201
|
+
/**
|
2202
|
+
* Parse the project from ProjectLocationDataStoreSessionAnswer resource.
|
2203
|
+
*
|
2204
|
+
* @param {string} projectLocationDataStoreSessionAnswerName
|
2205
|
+
* A fully-qualified path representing project_location_data_store_session_answer resource.
|
2206
|
+
* @returns {string} A string representing the project.
|
2207
|
+
*/
|
2208
|
+
matchProjectFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2209
|
+
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).project;
|
2210
|
+
}
|
2211
|
+
/**
|
2212
|
+
* Parse the location from ProjectLocationDataStoreSessionAnswer resource.
|
2213
|
+
*
|
2214
|
+
* @param {string} projectLocationDataStoreSessionAnswerName
|
2215
|
+
* A fully-qualified path representing project_location_data_store_session_answer resource.
|
2216
|
+
* @returns {string} A string representing the location.
|
2217
|
+
*/
|
2218
|
+
matchLocationFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2219
|
+
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).location;
|
2220
|
+
}
|
2221
|
+
/**
|
2222
|
+
* Parse the data_store from ProjectLocationDataStoreSessionAnswer resource.
|
2223
|
+
*
|
2224
|
+
* @param {string} projectLocationDataStoreSessionAnswerName
|
2225
|
+
* A fully-qualified path representing project_location_data_store_session_answer resource.
|
2226
|
+
* @returns {string} A string representing the data_store.
|
2227
|
+
*/
|
2228
|
+
matchDataStoreFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2229
|
+
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).data_store;
|
2230
|
+
}
|
2231
|
+
/**
|
2232
|
+
* Parse the session from ProjectLocationDataStoreSessionAnswer resource.
|
2233
|
+
*
|
2234
|
+
* @param {string} projectLocationDataStoreSessionAnswerName
|
2235
|
+
* A fully-qualified path representing project_location_data_store_session_answer resource.
|
2236
|
+
* @returns {string} A string representing the session.
|
2237
|
+
*/
|
2238
|
+
matchSessionFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2239
|
+
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).session;
|
2240
|
+
}
|
2241
|
+
/**
|
2242
|
+
* Parse the answer from ProjectLocationDataStoreSessionAnswer resource.
|
2243
|
+
*
|
2244
|
+
* @param {string} projectLocationDataStoreSessionAnswerName
|
2245
|
+
* A fully-qualified path representing project_location_data_store_session_answer resource.
|
2246
|
+
* @returns {string} A string representing the answer.
|
2247
|
+
*/
|
2248
|
+
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2249
|
+
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
2250
|
+
}
|
1818
2251
|
/**
|
1819
2252
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
1820
2253
|
*
|