@google-cloud/discoveryengine 2.2.0 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -0
- package/build/protos/google/cloud/discoveryengine/v1/answer.proto +17 -0
- package/build/protos/google/cloud/discoveryengine/v1/chunk.proto +52 -0
- package/build/protos/google/cloud/discoveryengine/v1/cmek_config_service.proto +300 -0
- package/build/protos/google/cloud/discoveryengine/v1/common.proto +67 -0
- package/build/protos/google/cloud/discoveryengine/v1/control.proto +1 -3
- package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +3 -0
- package/build/protos/google/cloud/discoveryengine/v1/data_store.proto +54 -2
- package/build/protos/google/cloud/discoveryengine/v1/data_store_service.proto +14 -0
- package/build/protos/google/cloud/discoveryengine/v1/document.proto +95 -4
- package/build/protos/google/cloud/discoveryengine/v1/document_processing_config.proto +28 -1
- package/build/protos/google/cloud/discoveryengine/v1/engine.proto +131 -6
- package/build/protos/google/cloud/discoveryengine/v1/grounded_generation_service.proto +8 -0
- package/build/protos/google/cloud/discoveryengine/v1/grounding.proto +9 -0
- package/build/protos/google/cloud/discoveryengine/v1/identity_mapping_store.proto +84 -0
- package/build/protos/google/cloud/discoveryengine/v1/identity_mapping_store_service.proto +375 -0
- package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +6 -0
- package/build/protos/google/cloud/discoveryengine/v1/site_search_engine.proto +6 -0
- package/build/protos/google/cloud/discoveryengine/v1/user_license.proto +98 -0
- package/build/protos/google/cloud/discoveryengine/v1/user_license_service.proto +191 -0
- package/build/protos/protos.d.ts +5387 -265
- package/build/protos/protos.js +77991 -63105
- package/build/protos/protos.json +1512 -91
- package/build/src/index.d.ts +10 -1
- package/build/src/index.js +8 -2
- package/build/src/v1/cmek_config_service_client.d.ts +2287 -0
- package/build/src/v1/cmek_config_service_client.js +3274 -0
- package/build/src/v1/cmek_config_service_client_config.json +42 -0
- package/build/src/v1/cmek_config_service_proto_list.json +44 -0
- package/build/src/v1/completion_service_client.d.ts +90 -0
- package/build/src/v1/completion_service_client.js +134 -2
- package/build/src/v1/completion_service_proto_list.json +6 -1
- package/build/src/v1/control_service_client.d.ts +90 -0
- package/build/src/v1/control_service_client.js +150 -0
- package/build/src/v1/control_service_proto_list.json +6 -1
- package/build/src/v1/conversational_search_service_client.d.ts +90 -0
- package/build/src/v1/conversational_search_service_client.js +192 -0
- package/build/src/v1/conversational_search_service_proto_list.json +6 -1
- package/build/src/v1/data_store_service_client.d.ts +96 -0
- package/build/src/v1/data_store_service_client.js +140 -2
- package/build/src/v1/data_store_service_proto_list.json +6 -1
- package/build/src/v1/document_service_client.d.ts +90 -0
- package/build/src/v1/document_service_client.js +158 -2
- package/build/src/v1/document_service_proto_list.json +6 -1
- package/build/src/v1/engine_service_client.d.ts +90 -0
- package/build/src/v1/engine_service_client.js +140 -2
- package/build/src/v1/engine_service_proto_list.json +6 -1
- package/build/src/v1/gapic_metadata.json +184 -0
- package/build/src/v1/grounded_generation_service_client.d.ts +90 -0
- package/build/src/v1/grounded_generation_service_client.js +138 -0
- package/build/src/v1/grounded_generation_service_proto_list.json +6 -1
- package/build/src/v1/identity_mapping_store_service_client.d.ts +2470 -0
- package/build/src/v1/identity_mapping_store_service_client.js +3449 -0
- package/build/src/v1/identity_mapping_store_service_client_config.json +54 -0
- package/build/src/v1/identity_mapping_store_service_proto_list.json +44 -0
- package/build/src/v1/index.d.ts +3 -0
- package/build/src/v1/index.js +7 -1
- package/build/src/v1/project_service_client.d.ts +90 -0
- package/build/src/v1/project_service_client.js +128 -2
- package/build/src/v1/project_service_proto_list.json +6 -1
- package/build/src/v1/rank_service_client.d.ts +90 -0
- package/build/src/v1/rank_service_client.js +132 -0
- package/build/src/v1/rank_service_proto_list.json +6 -1
- package/build/src/v1/recommendation_service_client.d.ts +90 -0
- package/build/src/v1/recommendation_service_client.js +132 -0
- package/build/src/v1/recommendation_service_proto_list.json +6 -1
- package/build/src/v1/schema_service_client.d.ts +90 -0
- package/build/src/v1/schema_service_client.js +134 -2
- package/build/src/v1/schema_service_proto_list.json +6 -1
- package/build/src/v1/search_service_client.d.ts +90 -0
- package/build/src/v1/search_service_client.js +126 -0
- package/build/src/v1/search_service_proto_list.json +6 -1
- package/build/src/v1/search_tuning_service_client.d.ts +90 -0
- package/build/src/v1/search_tuning_service_client.js +134 -2
- package/build/src/v1/search_tuning_service_proto_list.json +6 -1
- package/build/src/v1/serving_config_service_client.d.ts +90 -0
- package/build/src/v1/serving_config_service_client.js +132 -0
- package/build/src/v1/serving_config_service_proto_list.json +6 -1
- package/build/src/v1/site_search_engine_service_client.d.ts +90 -0
- package/build/src/v1/site_search_engine_service_client.js +146 -2
- package/build/src/v1/site_search_engine_service_proto_list.json +6 -1
- package/build/src/v1/user_event_service_client.d.ts +90 -0
- package/build/src/v1/user_event_service_client.js +140 -2
- package/build/src/v1/user_event_service_proto_list.json +6 -1
- package/build/src/v1/user_license_service_client.d.ts +2256 -0
- package/build/src/v1/user_license_service_client.js +3194 -0
- package/build/src/v1/user_license_service_client_config.json +34 -0
- package/build/src/v1/user_license_service_proto_list.json +44 -0
- package/build/src/v1alpha/acl_config_service_client.js +12 -0
- package/build/src/v1alpha/chunk_service_client.js +6 -0
- package/build/src/v1alpha/completion_service_client.js +7 -1
- package/build/src/v1alpha/control_service_client.js +24 -0
- package/build/src/v1alpha/conversational_search_service_client.js +66 -0
- package/build/src/v1alpha/data_store_service_client.js +25 -1
- package/build/src/v1alpha/document_service_client.js +37 -1
- package/build/src/v1alpha/engine_service_client.js +25 -1
- package/build/src/v1alpha/estimate_billing_service_client.js +1 -1
- package/build/src/v1alpha/evaluation_service_client.js +7 -1
- package/build/src/v1alpha/grounded_generation_service_client.js +6 -0
- package/build/src/v1alpha/project_service_client.js +13 -1
- package/build/src/v1alpha/rank_service_client.js +6 -0
- package/build/src/v1alpha/recommendation_service_client.js +6 -0
- package/build/src/v1alpha/sample_query_service_client.js +25 -1
- package/build/src/v1alpha/sample_query_set_service_client.js +24 -0
- package/build/src/v1alpha/schema_service_client.js +7 -1
- package/build/src/v1alpha/search_tuning_service_client.js +7 -1
- package/build/src/v1alpha/serving_config_service_client.js +12 -0
- package/build/src/v1alpha/site_search_engine_service_client.js +19 -1
- package/build/src/v1alpha/user_event_service_client.js +13 -1
- package/build/src/v1beta/completion_service_client.js +13 -1
- package/build/src/v1beta/control_service_client.js +24 -0
- package/build/src/v1beta/conversational_search_service_client.js +66 -0
- package/build/src/v1beta/data_store_service_client.js +13 -1
- package/build/src/v1beta/document_service_client.js +31 -1
- package/build/src/v1beta/engine_service_client.js +25 -1
- package/build/src/v1beta/evaluation_service_client.js +7 -1
- package/build/src/v1beta/grounded_generation_service_client.js +12 -0
- package/build/src/v1beta/project_service_client.js +1 -1
- package/build/src/v1beta/rank_service_client.js +6 -0
- package/build/src/v1beta/recommendation_service_client.js +6 -0
- package/build/src/v1beta/sample_query_service_client.js +25 -1
- package/build/src/v1beta/sample_query_set_service_client.js +24 -0
- package/build/src/v1beta/schema_service_client.js +7 -1
- package/build/src/v1beta/search_tuning_service_client.js +7 -1
- package/build/src/v1beta/serving_config_service_client.js +12 -0
- package/build/src/v1beta/site_search_engine_service_client.js +19 -1
- package/build/src/v1beta/user_event_service_client.js +13 -1
- package/package.json +7 -7
- package/CHANGELOG.md +0 -274
@@ -165,7 +165,10 @@ class DocumentServiceClient {
|
|
165
165
|
// Create useful helper objects for these.
|
166
166
|
this.pathTemplates = {
|
167
167
|
enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
|
168
|
+
identityMappingStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}'),
|
168
169
|
projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
|
170
|
+
projectLocationCmekConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/cmekConfig'),
|
171
|
+
projectLocationCmekConfigsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/cmekConfigs/{cmek_config}'),
|
169
172
|
projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
|
170
173
|
projectLocationCollectionDataStoreBranchPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}'),
|
171
174
|
projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
@@ -208,7 +211,7 @@ class DocumentServiceClient {
|
|
208
211
|
this.descriptors.page = {
|
209
212
|
listDocuments: new this._gaxModule.PageDescriptor('pageToken', 'nextPageToken', 'documents')
|
210
213
|
};
|
211
|
-
const protoFilesRoot = this._gaxModule.
|
214
|
+
const protoFilesRoot = this._gaxModule.protobufFromJSON(jsonProtos);
|
212
215
|
// This API contains "long-running operations", which return a
|
213
216
|
// an Operation object that allows for tracking of the operation,
|
214
217
|
// rather than holding a request open.
|
@@ -218,7 +221,7 @@ class DocumentServiceClient {
|
|
218
221
|
};
|
219
222
|
if (opts.fallback) {
|
220
223
|
lroOptions.protoJson = protoFilesRoot;
|
221
|
-
lroOptions.httpRules = [{ selector: 'google.longrunning.Operations.CancelOperation', post: '/v1/{name=projects/*/operations/*}:cancel', body: '*', additional_bindings: [{ post: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/operations/*}:cancel', body: '*', }, { post: '/v1/{name=projects/*/locations/*/dataStores/*/branches/*/operations/*}:cancel', body: '*', }],
|
224
|
+
lroOptions.httpRules = [{ selector: 'google.longrunning.Operations.CancelOperation', post: '/v1/{name=projects/*/operations/*}:cancel', body: '*', additional_bindings: [{ post: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/operations/*}:cancel', body: '*', }, { post: '/v1/{name=projects/*/locations/*/collections/*/engines/*/operations/*}:cancel', body: '*', }, { post: '/v1/{name=projects/*/locations/*/dataStores/*/branches/*/operations/*}:cancel', body: '*', }],
|
222
225
|
}, { selector: 'google.longrunning.Operations.GetOperation', get: '/v1/{name=projects/*/operations/*}', additional_bindings: [{ get: '/v1/{name=projects/*/locations/*/collections/*/dataConnector/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/models/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/schemas/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/targetSites/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/engines/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/dataStores/*/branches/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/dataStores/*/models/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/dataStores/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/identityMappingStores/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/operations/*}', }, { get: '/v1/{name=projects/*/operations/*}', }],
|
223
226
|
}, { selector: 'google.longrunning.Operations.ListOperations', get: '/v1/{name=projects/*}/operations', additional_bindings: [{ get: '/v1/{name=projects/*/locations/*/collections/*/dataConnector}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/models/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/schemas/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/targetSites}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*/engines/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/dataStores/*/branches/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/dataStores/*/models/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/dataStores/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/identityMappingStores/*}/operations', }, { get: '/v1/{name=projects/*/locations/*}/operations', }, { get: '/v1/{name=projects/*}/operations', }],
|
224
227
|
}];
|
@@ -372,6 +375,12 @@ class DocumentServiceClient {
|
|
372
375
|
?.then(([response, options, rawResponse]) => {
|
373
376
|
this._log.info('getDocument response %j', response);
|
374
377
|
return [response, options, rawResponse];
|
378
|
+
}).catch((error) => {
|
379
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
380
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
381
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
382
|
+
}
|
383
|
+
throw error;
|
375
384
|
});
|
376
385
|
}
|
377
386
|
createDocument(request, optionsOrCallback, callback) {
|
@@ -402,6 +411,12 @@ class DocumentServiceClient {
|
|
402
411
|
?.then(([response, options, rawResponse]) => {
|
403
412
|
this._log.info('createDocument response %j', response);
|
404
413
|
return [response, options, rawResponse];
|
414
|
+
}).catch((error) => {
|
415
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
416
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
417
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
418
|
+
}
|
419
|
+
throw error;
|
405
420
|
});
|
406
421
|
}
|
407
422
|
updateDocument(request, optionsOrCallback, callback) {
|
@@ -432,6 +447,12 @@ class DocumentServiceClient {
|
|
432
447
|
?.then(([response, options, rawResponse]) => {
|
433
448
|
this._log.info('updateDocument response %j', response);
|
434
449
|
return [response, options, rawResponse];
|
450
|
+
}).catch((error) => {
|
451
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
452
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
453
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
454
|
+
}
|
455
|
+
throw error;
|
435
456
|
});
|
436
457
|
}
|
437
458
|
deleteDocument(request, optionsOrCallback, callback) {
|
@@ -462,6 +483,12 @@ class DocumentServiceClient {
|
|
462
483
|
?.then(([response, options, rawResponse]) => {
|
463
484
|
this._log.info('deleteDocument response %j', response);
|
464
485
|
return [response, options, rawResponse];
|
486
|
+
}).catch((error) => {
|
487
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
488
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
489
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
490
|
+
}
|
491
|
+
throw error;
|
465
492
|
});
|
466
493
|
}
|
467
494
|
batchGetDocumentsMetadata(request, optionsOrCallback, callback) {
|
@@ -492,6 +519,12 @@ class DocumentServiceClient {
|
|
492
519
|
?.then(([response, options, rawResponse]) => {
|
493
520
|
this._log.info('batchGetDocumentsMetadata response %j', response);
|
494
521
|
return [response, options, rawResponse];
|
522
|
+
}).catch((error) => {
|
523
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
524
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
525
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
526
|
+
}
|
527
|
+
throw error;
|
495
528
|
});
|
496
529
|
}
|
497
530
|
importDocuments(request, optionsOrCallback, callback) {
|
@@ -1031,6 +1064,51 @@ class DocumentServiceClient {
|
|
1031
1064
|
matchEngineFromEngineName(engineName) {
|
1032
1065
|
return this.pathTemplates.enginePathTemplate.match(engineName).engine;
|
1033
1066
|
}
|
1067
|
+
/**
|
1068
|
+
* Return a fully-qualified identityMappingStore resource name string.
|
1069
|
+
*
|
1070
|
+
* @param {string} project
|
1071
|
+
* @param {string} location
|
1072
|
+
* @param {string} identity_mapping_store
|
1073
|
+
* @returns {string} Resource name string.
|
1074
|
+
*/
|
1075
|
+
identityMappingStorePath(project, location, identityMappingStore) {
|
1076
|
+
return this.pathTemplates.identityMappingStorePathTemplate.render({
|
1077
|
+
project: project,
|
1078
|
+
location: location,
|
1079
|
+
identity_mapping_store: identityMappingStore,
|
1080
|
+
});
|
1081
|
+
}
|
1082
|
+
/**
|
1083
|
+
* Parse the project from IdentityMappingStore resource.
|
1084
|
+
*
|
1085
|
+
* @param {string} identityMappingStoreName
|
1086
|
+
* A fully-qualified path representing IdentityMappingStore resource.
|
1087
|
+
* @returns {string} A string representing the project.
|
1088
|
+
*/
|
1089
|
+
matchProjectFromIdentityMappingStoreName(identityMappingStoreName) {
|
1090
|
+
return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).project;
|
1091
|
+
}
|
1092
|
+
/**
|
1093
|
+
* Parse the location from IdentityMappingStore resource.
|
1094
|
+
*
|
1095
|
+
* @param {string} identityMappingStoreName
|
1096
|
+
* A fully-qualified path representing IdentityMappingStore resource.
|
1097
|
+
* @returns {string} A string representing the location.
|
1098
|
+
*/
|
1099
|
+
matchLocationFromIdentityMappingStoreName(identityMappingStoreName) {
|
1100
|
+
return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).location;
|
1101
|
+
}
|
1102
|
+
/**
|
1103
|
+
* Parse the identity_mapping_store from IdentityMappingStore resource.
|
1104
|
+
*
|
1105
|
+
* @param {string} identityMappingStoreName
|
1106
|
+
* A fully-qualified path representing IdentityMappingStore resource.
|
1107
|
+
* @returns {string} A string representing the identity_mapping_store.
|
1108
|
+
*/
|
1109
|
+
matchIdentityMappingStoreFromIdentityMappingStoreName(identityMappingStoreName) {
|
1110
|
+
return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).identity_mapping_store;
|
1111
|
+
}
|
1034
1112
|
/**
|
1035
1113
|
* Return a fully-qualified project resource name string.
|
1036
1114
|
*
|
@@ -1052,6 +1130,84 @@ class DocumentServiceClient {
|
|
1052
1130
|
matchProjectFromProjectName(projectName) {
|
1053
1131
|
return this.pathTemplates.projectPathTemplate.match(projectName).project;
|
1054
1132
|
}
|
1133
|
+
/**
|
1134
|
+
* Return a fully-qualified projectLocationCmekConfig resource name string.
|
1135
|
+
*
|
1136
|
+
* @param {string} project
|
1137
|
+
* @param {string} location
|
1138
|
+
* @returns {string} Resource name string.
|
1139
|
+
*/
|
1140
|
+
projectLocationCmekConfigPath(project, location) {
|
1141
|
+
return this.pathTemplates.projectLocationCmekConfigPathTemplate.render({
|
1142
|
+
project: project,
|
1143
|
+
location: location,
|
1144
|
+
});
|
1145
|
+
}
|
1146
|
+
/**
|
1147
|
+
* Parse the project from ProjectLocationCmekConfig resource.
|
1148
|
+
*
|
1149
|
+
* @param {string} projectLocationCmekConfigName
|
1150
|
+
* A fully-qualified path representing project_location_cmekConfig resource.
|
1151
|
+
* @returns {string} A string representing the project.
|
1152
|
+
*/
|
1153
|
+
matchProjectFromProjectLocationCmekConfigName(projectLocationCmekConfigName) {
|
1154
|
+
return this.pathTemplates.projectLocationCmekConfigPathTemplate.match(projectLocationCmekConfigName).project;
|
1155
|
+
}
|
1156
|
+
/**
|
1157
|
+
* Parse the location from ProjectLocationCmekConfig resource.
|
1158
|
+
*
|
1159
|
+
* @param {string} projectLocationCmekConfigName
|
1160
|
+
* A fully-qualified path representing project_location_cmekConfig resource.
|
1161
|
+
* @returns {string} A string representing the location.
|
1162
|
+
*/
|
1163
|
+
matchLocationFromProjectLocationCmekConfigName(projectLocationCmekConfigName) {
|
1164
|
+
return this.pathTemplates.projectLocationCmekConfigPathTemplate.match(projectLocationCmekConfigName).location;
|
1165
|
+
}
|
1166
|
+
/**
|
1167
|
+
* Return a fully-qualified projectLocationCmekConfigs resource name string.
|
1168
|
+
*
|
1169
|
+
* @param {string} project
|
1170
|
+
* @param {string} location
|
1171
|
+
* @param {string} cmek_config
|
1172
|
+
* @returns {string} Resource name string.
|
1173
|
+
*/
|
1174
|
+
projectLocationCmekConfigsPath(project, location, cmekConfig) {
|
1175
|
+
return this.pathTemplates.projectLocationCmekConfigsPathTemplate.render({
|
1176
|
+
project: project,
|
1177
|
+
location: location,
|
1178
|
+
cmek_config: cmekConfig,
|
1179
|
+
});
|
1180
|
+
}
|
1181
|
+
/**
|
1182
|
+
* Parse the project from ProjectLocationCmekConfigs resource.
|
1183
|
+
*
|
1184
|
+
* @param {string} projectLocationCmekConfigsName
|
1185
|
+
* A fully-qualified path representing project_location_cmekConfigs resource.
|
1186
|
+
* @returns {string} A string representing the project.
|
1187
|
+
*/
|
1188
|
+
matchProjectFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
|
1189
|
+
return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).project;
|
1190
|
+
}
|
1191
|
+
/**
|
1192
|
+
* Parse the location from ProjectLocationCmekConfigs resource.
|
1193
|
+
*
|
1194
|
+
* @param {string} projectLocationCmekConfigsName
|
1195
|
+
* A fully-qualified path representing project_location_cmekConfigs resource.
|
1196
|
+
* @returns {string} A string representing the location.
|
1197
|
+
*/
|
1198
|
+
matchLocationFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
|
1199
|
+
return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).location;
|
1200
|
+
}
|
1201
|
+
/**
|
1202
|
+
* Parse the cmek_config from ProjectLocationCmekConfigs resource.
|
1203
|
+
*
|
1204
|
+
* @param {string} projectLocationCmekConfigsName
|
1205
|
+
* A fully-qualified path representing project_location_cmekConfigs resource.
|
1206
|
+
* @returns {string} A string representing the cmek_config.
|
1207
|
+
*/
|
1208
|
+
matchCmekConfigFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
|
1209
|
+
return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).cmek_config;
|
1210
|
+
}
|
1055
1211
|
/**
|
1056
1212
|
* Return a fully-qualified projectLocationCollectionDataStore resource name string.
|
1057
1213
|
*
|
@@ -1,6 +1,7 @@
|
|
1
1
|
[
|
2
2
|
"../../protos/google/cloud/discoveryengine/v1/answer.proto",
|
3
3
|
"../../protos/google/cloud/discoveryengine/v1/chunk.proto",
|
4
|
+
"../../protos/google/cloud/discoveryengine/v1/cmek_config_service.proto",
|
4
5
|
"../../protos/google/cloud/discoveryengine/v1/common.proto",
|
5
6
|
"../../protos/google/cloud/discoveryengine/v1/completion.proto",
|
6
7
|
"../../protos/google/cloud/discoveryengine/v1/completion_service.proto",
|
@@ -18,6 +19,8 @@
|
|
18
19
|
"../../protos/google/cloud/discoveryengine/v1/engine_service.proto",
|
19
20
|
"../../protos/google/cloud/discoveryengine/v1/grounded_generation_service.proto",
|
20
21
|
"../../protos/google/cloud/discoveryengine/v1/grounding.proto",
|
22
|
+
"../../protos/google/cloud/discoveryengine/v1/identity_mapping_store.proto",
|
23
|
+
"../../protos/google/cloud/discoveryengine/v1/identity_mapping_store_service.proto",
|
21
24
|
"../../protos/google/cloud/discoveryengine/v1/import_config.proto",
|
22
25
|
"../../protos/google/cloud/discoveryengine/v1/project.proto",
|
23
26
|
"../../protos/google/cloud/discoveryengine/v1/project_service.proto",
|
@@ -35,5 +38,7 @@
|
|
35
38
|
"../../protos/google/cloud/discoveryengine/v1/site_search_engine.proto",
|
36
39
|
"../../protos/google/cloud/discoveryengine/v1/site_search_engine_service.proto",
|
37
40
|
"../../protos/google/cloud/discoveryengine/v1/user_event.proto",
|
38
|
-
"../../protos/google/cloud/discoveryengine/v1/user_event_service.proto"
|
41
|
+
"../../protos/google/cloud/discoveryengine/v1/user_event_service.proto",
|
42
|
+
"../../protos/google/cloud/discoveryengine/v1/user_license.proto",
|
43
|
+
"../../protos/google/cloud/discoveryengine/v1/user_license_service.proto"
|
39
44
|
]
|
@@ -610,6 +610,39 @@ export declare class EngineServiceClient {
|
|
610
610
|
* @returns {string} A string representing the engine.
|
611
611
|
*/
|
612
612
|
matchEngineFromEngineName(engineName: string): string | number;
|
613
|
+
/**
|
614
|
+
* Return a fully-qualified identityMappingStore resource name string.
|
615
|
+
*
|
616
|
+
* @param {string} project
|
617
|
+
* @param {string} location
|
618
|
+
* @param {string} identity_mapping_store
|
619
|
+
* @returns {string} Resource name string.
|
620
|
+
*/
|
621
|
+
identityMappingStorePath(project: string, location: string, identityMappingStore: string): string;
|
622
|
+
/**
|
623
|
+
* Parse the project from IdentityMappingStore resource.
|
624
|
+
*
|
625
|
+
* @param {string} identityMappingStoreName
|
626
|
+
* A fully-qualified path representing IdentityMappingStore resource.
|
627
|
+
* @returns {string} A string representing the project.
|
628
|
+
*/
|
629
|
+
matchProjectFromIdentityMappingStoreName(identityMappingStoreName: string): string | number;
|
630
|
+
/**
|
631
|
+
* Parse the location from IdentityMappingStore resource.
|
632
|
+
*
|
633
|
+
* @param {string} identityMappingStoreName
|
634
|
+
* A fully-qualified path representing IdentityMappingStore resource.
|
635
|
+
* @returns {string} A string representing the location.
|
636
|
+
*/
|
637
|
+
matchLocationFromIdentityMappingStoreName(identityMappingStoreName: string): string | number;
|
638
|
+
/**
|
639
|
+
* Parse the identity_mapping_store from IdentityMappingStore resource.
|
640
|
+
*
|
641
|
+
* @param {string} identityMappingStoreName
|
642
|
+
* A fully-qualified path representing IdentityMappingStore resource.
|
643
|
+
* @returns {string} A string representing the identity_mapping_store.
|
644
|
+
*/
|
645
|
+
matchIdentityMappingStoreFromIdentityMappingStoreName(identityMappingStoreName: string): string | number;
|
613
646
|
/**
|
614
647
|
* Return a fully-qualified project resource name string.
|
615
648
|
*
|
@@ -625,6 +658,63 @@ export declare class EngineServiceClient {
|
|
625
658
|
* @returns {string} A string representing the project.
|
626
659
|
*/
|
627
660
|
matchProjectFromProjectName(projectName: string): string | number;
|
661
|
+
/**
|
662
|
+
* Return a fully-qualified projectLocationCmekConfig resource name string.
|
663
|
+
*
|
664
|
+
* @param {string} project
|
665
|
+
* @param {string} location
|
666
|
+
* @returns {string} Resource name string.
|
667
|
+
*/
|
668
|
+
projectLocationCmekConfigPath(project: string, location: string): string;
|
669
|
+
/**
|
670
|
+
* Parse the project from ProjectLocationCmekConfig resource.
|
671
|
+
*
|
672
|
+
* @param {string} projectLocationCmekConfigName
|
673
|
+
* A fully-qualified path representing project_location_cmekConfig resource.
|
674
|
+
* @returns {string} A string representing the project.
|
675
|
+
*/
|
676
|
+
matchProjectFromProjectLocationCmekConfigName(projectLocationCmekConfigName: string): string | number;
|
677
|
+
/**
|
678
|
+
* Parse the location from ProjectLocationCmekConfig resource.
|
679
|
+
*
|
680
|
+
* @param {string} projectLocationCmekConfigName
|
681
|
+
* A fully-qualified path representing project_location_cmekConfig resource.
|
682
|
+
* @returns {string} A string representing the location.
|
683
|
+
*/
|
684
|
+
matchLocationFromProjectLocationCmekConfigName(projectLocationCmekConfigName: string): string | number;
|
685
|
+
/**
|
686
|
+
* Return a fully-qualified projectLocationCmekConfigs resource name string.
|
687
|
+
*
|
688
|
+
* @param {string} project
|
689
|
+
* @param {string} location
|
690
|
+
* @param {string} cmek_config
|
691
|
+
* @returns {string} Resource name string.
|
692
|
+
*/
|
693
|
+
projectLocationCmekConfigsPath(project: string, location: string, cmekConfig: string): string;
|
694
|
+
/**
|
695
|
+
* Parse the project from ProjectLocationCmekConfigs resource.
|
696
|
+
*
|
697
|
+
* @param {string} projectLocationCmekConfigsName
|
698
|
+
* A fully-qualified path representing project_location_cmekConfigs resource.
|
699
|
+
* @returns {string} A string representing the project.
|
700
|
+
*/
|
701
|
+
matchProjectFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName: string): string | number;
|
702
|
+
/**
|
703
|
+
* Parse the location from ProjectLocationCmekConfigs resource.
|
704
|
+
*
|
705
|
+
* @param {string} projectLocationCmekConfigsName
|
706
|
+
* A fully-qualified path representing project_location_cmekConfigs resource.
|
707
|
+
* @returns {string} A string representing the location.
|
708
|
+
*/
|
709
|
+
matchLocationFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName: string): string | number;
|
710
|
+
/**
|
711
|
+
* Parse the cmek_config from ProjectLocationCmekConfigs resource.
|
712
|
+
*
|
713
|
+
* @param {string} projectLocationCmekConfigsName
|
714
|
+
* A fully-qualified path representing project_location_cmekConfigs resource.
|
715
|
+
* @returns {string} A string representing the cmek_config.
|
716
|
+
*/
|
717
|
+
matchCmekConfigFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName: string): string | number;
|
628
718
|
/**
|
629
719
|
* Return a fully-qualified projectLocationCollectionDataStore resource name string.
|
630
720
|
*
|
@@ -166,7 +166,10 @@ class EngineServiceClient {
|
|
166
166
|
this.pathTemplates = {
|
167
167
|
collectionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}'),
|
168
168
|
enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
|
169
|
+
identityMappingStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}'),
|
169
170
|
projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
|
171
|
+
projectLocationCmekConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/cmekConfig'),
|
172
|
+
projectLocationCmekConfigsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/cmekConfigs/{cmek_config}'),
|
170
173
|
projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
|
171
174
|
projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
172
175
|
projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -207,7 +210,7 @@ class EngineServiceClient {
|
|
207
210
|
this.descriptors.page = {
|
208
211
|
listEngines: new this._gaxModule.PageDescriptor('pageToken', 'nextPageToken', 'engines')
|
209
212
|
};
|
210
|
-
const protoFilesRoot = this._gaxModule.
|
213
|
+
const protoFilesRoot = this._gaxModule.protobufFromJSON(jsonProtos);
|
211
214
|
// This API contains "long-running operations", which return a
|
212
215
|
// an Operation object that allows for tracking of the operation,
|
213
216
|
// rather than holding a request open.
|
@@ -217,7 +220,7 @@ class EngineServiceClient {
|
|
217
220
|
};
|
218
221
|
if (opts.fallback) {
|
219
222
|
lroOptions.protoJson = protoFilesRoot;
|
220
|
-
lroOptions.httpRules = [{ selector: 'google.longrunning.Operations.CancelOperation', post: '/v1/{name=projects/*/operations/*}:cancel', body: '*', additional_bindings: [{ post: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/operations/*}:cancel', body: '*', }, { post: '/v1/{name=projects/*/locations/*/dataStores/*/branches/*/operations/*}:cancel', body: '*', }],
|
223
|
+
lroOptions.httpRules = [{ selector: 'google.longrunning.Operations.CancelOperation', post: '/v1/{name=projects/*/operations/*}:cancel', body: '*', additional_bindings: [{ post: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/operations/*}:cancel', body: '*', }, { post: '/v1/{name=projects/*/locations/*/collections/*/engines/*/operations/*}:cancel', body: '*', }, { post: '/v1/{name=projects/*/locations/*/dataStores/*/branches/*/operations/*}:cancel', body: '*', }],
|
221
224
|
}, { selector: 'google.longrunning.Operations.GetOperation', get: '/v1/{name=projects/*/operations/*}', additional_bindings: [{ get: '/v1/{name=projects/*/locations/*/collections/*/dataConnector/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/models/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/schemas/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/targetSites/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/engines/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/dataStores/*/branches/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/dataStores/*/models/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/dataStores/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/identityMappingStores/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/operations/*}', }, { get: '/v1/{name=projects/*/operations/*}', }],
|
222
225
|
}, { selector: 'google.longrunning.Operations.ListOperations', get: '/v1/{name=projects/*}/operations', additional_bindings: [{ get: '/v1/{name=projects/*/locations/*/collections/*/dataConnector}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/models/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/schemas/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/targetSites}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*/engines/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/dataStores/*/branches/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/dataStores/*/models/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/dataStores/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/identityMappingStores/*}/operations', }, { get: '/v1/{name=projects/*/locations/*}/operations', }, { get: '/v1/{name=projects/*}/operations', }],
|
223
226
|
}];
|
@@ -371,6 +374,12 @@ class EngineServiceClient {
|
|
371
374
|
?.then(([response, options, rawResponse]) => {
|
372
375
|
this._log.info('updateEngine response %j', response);
|
373
376
|
return [response, options, rawResponse];
|
377
|
+
}).catch((error) => {
|
378
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
379
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
380
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
381
|
+
}
|
382
|
+
throw error;
|
374
383
|
});
|
375
384
|
}
|
376
385
|
getEngine(request, optionsOrCallback, callback) {
|
@@ -401,6 +410,12 @@ class EngineServiceClient {
|
|
401
410
|
?.then(([response, options, rawResponse]) => {
|
402
411
|
this._log.info('getEngine response %j', response);
|
403
412
|
return [response, options, rawResponse];
|
413
|
+
}).catch((error) => {
|
414
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
415
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
416
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
417
|
+
}
|
418
|
+
throw error;
|
404
419
|
});
|
405
420
|
}
|
406
421
|
createEngine(request, optionsOrCallback, callback) {
|
@@ -951,6 +966,51 @@ class EngineServiceClient {
|
|
951
966
|
matchEngineFromEngineName(engineName) {
|
952
967
|
return this.pathTemplates.enginePathTemplate.match(engineName).engine;
|
953
968
|
}
|
969
|
+
/**
|
970
|
+
* Return a fully-qualified identityMappingStore resource name string.
|
971
|
+
*
|
972
|
+
* @param {string} project
|
973
|
+
* @param {string} location
|
974
|
+
* @param {string} identity_mapping_store
|
975
|
+
* @returns {string} Resource name string.
|
976
|
+
*/
|
977
|
+
identityMappingStorePath(project, location, identityMappingStore) {
|
978
|
+
return this.pathTemplates.identityMappingStorePathTemplate.render({
|
979
|
+
project: project,
|
980
|
+
location: location,
|
981
|
+
identity_mapping_store: identityMappingStore,
|
982
|
+
});
|
983
|
+
}
|
984
|
+
/**
|
985
|
+
* Parse the project from IdentityMappingStore resource.
|
986
|
+
*
|
987
|
+
* @param {string} identityMappingStoreName
|
988
|
+
* A fully-qualified path representing IdentityMappingStore resource.
|
989
|
+
* @returns {string} A string representing the project.
|
990
|
+
*/
|
991
|
+
matchProjectFromIdentityMappingStoreName(identityMappingStoreName) {
|
992
|
+
return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).project;
|
993
|
+
}
|
994
|
+
/**
|
995
|
+
* Parse the location from IdentityMappingStore resource.
|
996
|
+
*
|
997
|
+
* @param {string} identityMappingStoreName
|
998
|
+
* A fully-qualified path representing IdentityMappingStore resource.
|
999
|
+
* @returns {string} A string representing the location.
|
1000
|
+
*/
|
1001
|
+
matchLocationFromIdentityMappingStoreName(identityMappingStoreName) {
|
1002
|
+
return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).location;
|
1003
|
+
}
|
1004
|
+
/**
|
1005
|
+
* Parse the identity_mapping_store from IdentityMappingStore resource.
|
1006
|
+
*
|
1007
|
+
* @param {string} identityMappingStoreName
|
1008
|
+
* A fully-qualified path representing IdentityMappingStore resource.
|
1009
|
+
* @returns {string} A string representing the identity_mapping_store.
|
1010
|
+
*/
|
1011
|
+
matchIdentityMappingStoreFromIdentityMappingStoreName(identityMappingStoreName) {
|
1012
|
+
return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).identity_mapping_store;
|
1013
|
+
}
|
954
1014
|
/**
|
955
1015
|
* Return a fully-qualified project resource name string.
|
956
1016
|
*
|
@@ -972,6 +1032,84 @@ class EngineServiceClient {
|
|
972
1032
|
matchProjectFromProjectName(projectName) {
|
973
1033
|
return this.pathTemplates.projectPathTemplate.match(projectName).project;
|
974
1034
|
}
|
1035
|
+
/**
|
1036
|
+
* Return a fully-qualified projectLocationCmekConfig resource name string.
|
1037
|
+
*
|
1038
|
+
* @param {string} project
|
1039
|
+
* @param {string} location
|
1040
|
+
* @returns {string} Resource name string.
|
1041
|
+
*/
|
1042
|
+
projectLocationCmekConfigPath(project, location) {
|
1043
|
+
return this.pathTemplates.projectLocationCmekConfigPathTemplate.render({
|
1044
|
+
project: project,
|
1045
|
+
location: location,
|
1046
|
+
});
|
1047
|
+
}
|
1048
|
+
/**
|
1049
|
+
* Parse the project from ProjectLocationCmekConfig resource.
|
1050
|
+
*
|
1051
|
+
* @param {string} projectLocationCmekConfigName
|
1052
|
+
* A fully-qualified path representing project_location_cmekConfig resource.
|
1053
|
+
* @returns {string} A string representing the project.
|
1054
|
+
*/
|
1055
|
+
matchProjectFromProjectLocationCmekConfigName(projectLocationCmekConfigName) {
|
1056
|
+
return this.pathTemplates.projectLocationCmekConfigPathTemplate.match(projectLocationCmekConfigName).project;
|
1057
|
+
}
|
1058
|
+
/**
|
1059
|
+
* Parse the location from ProjectLocationCmekConfig resource.
|
1060
|
+
*
|
1061
|
+
* @param {string} projectLocationCmekConfigName
|
1062
|
+
* A fully-qualified path representing project_location_cmekConfig resource.
|
1063
|
+
* @returns {string} A string representing the location.
|
1064
|
+
*/
|
1065
|
+
matchLocationFromProjectLocationCmekConfigName(projectLocationCmekConfigName) {
|
1066
|
+
return this.pathTemplates.projectLocationCmekConfigPathTemplate.match(projectLocationCmekConfigName).location;
|
1067
|
+
}
|
1068
|
+
/**
|
1069
|
+
* Return a fully-qualified projectLocationCmekConfigs resource name string.
|
1070
|
+
*
|
1071
|
+
* @param {string} project
|
1072
|
+
* @param {string} location
|
1073
|
+
* @param {string} cmek_config
|
1074
|
+
* @returns {string} Resource name string.
|
1075
|
+
*/
|
1076
|
+
projectLocationCmekConfigsPath(project, location, cmekConfig) {
|
1077
|
+
return this.pathTemplates.projectLocationCmekConfigsPathTemplate.render({
|
1078
|
+
project: project,
|
1079
|
+
location: location,
|
1080
|
+
cmek_config: cmekConfig,
|
1081
|
+
});
|
1082
|
+
}
|
1083
|
+
/**
|
1084
|
+
* Parse the project from ProjectLocationCmekConfigs resource.
|
1085
|
+
*
|
1086
|
+
* @param {string} projectLocationCmekConfigsName
|
1087
|
+
* A fully-qualified path representing project_location_cmekConfigs resource.
|
1088
|
+
* @returns {string} A string representing the project.
|
1089
|
+
*/
|
1090
|
+
matchProjectFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
|
1091
|
+
return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).project;
|
1092
|
+
}
|
1093
|
+
/**
|
1094
|
+
* Parse the location from ProjectLocationCmekConfigs resource.
|
1095
|
+
*
|
1096
|
+
* @param {string} projectLocationCmekConfigsName
|
1097
|
+
* A fully-qualified path representing project_location_cmekConfigs resource.
|
1098
|
+
* @returns {string} A string representing the location.
|
1099
|
+
*/
|
1100
|
+
matchLocationFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
|
1101
|
+
return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).location;
|
1102
|
+
}
|
1103
|
+
/**
|
1104
|
+
* Parse the cmek_config from ProjectLocationCmekConfigs resource.
|
1105
|
+
*
|
1106
|
+
* @param {string} projectLocationCmekConfigsName
|
1107
|
+
* A fully-qualified path representing project_location_cmekConfigs resource.
|
1108
|
+
* @returns {string} A string representing the cmek_config.
|
1109
|
+
*/
|
1110
|
+
matchCmekConfigFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
|
1111
|
+
return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).cmek_config;
|
1112
|
+
}
|
975
1113
|
/**
|
976
1114
|
* Return a fully-qualified projectLocationCollectionDataStore resource name string.
|
977
1115
|
*
|
@@ -1,6 +1,7 @@
|
|
1
1
|
[
|
2
2
|
"../../protos/google/cloud/discoveryengine/v1/answer.proto",
|
3
3
|
"../../protos/google/cloud/discoveryengine/v1/chunk.proto",
|
4
|
+
"../../protos/google/cloud/discoveryengine/v1/cmek_config_service.proto",
|
4
5
|
"../../protos/google/cloud/discoveryengine/v1/common.proto",
|
5
6
|
"../../protos/google/cloud/discoveryengine/v1/completion.proto",
|
6
7
|
"../../protos/google/cloud/discoveryengine/v1/completion_service.proto",
|
@@ -18,6 +19,8 @@
|
|
18
19
|
"../../protos/google/cloud/discoveryengine/v1/engine_service.proto",
|
19
20
|
"../../protos/google/cloud/discoveryengine/v1/grounded_generation_service.proto",
|
20
21
|
"../../protos/google/cloud/discoveryengine/v1/grounding.proto",
|
22
|
+
"../../protos/google/cloud/discoveryengine/v1/identity_mapping_store.proto",
|
23
|
+
"../../protos/google/cloud/discoveryengine/v1/identity_mapping_store_service.proto",
|
21
24
|
"../../protos/google/cloud/discoveryengine/v1/import_config.proto",
|
22
25
|
"../../protos/google/cloud/discoveryengine/v1/project.proto",
|
23
26
|
"../../protos/google/cloud/discoveryengine/v1/project_service.proto",
|
@@ -35,5 +38,7 @@
|
|
35
38
|
"../../protos/google/cloud/discoveryengine/v1/site_search_engine.proto",
|
36
39
|
"../../protos/google/cloud/discoveryengine/v1/site_search_engine_service.proto",
|
37
40
|
"../../protos/google/cloud/discoveryengine/v1/user_event.proto",
|
38
|
-
"../../protos/google/cloud/discoveryengine/v1/user_event_service.proto"
|
41
|
+
"../../protos/google/cloud/discoveryengine/v1/user_event_service.proto",
|
42
|
+
"../../protos/google/cloud/discoveryengine/v1/user_license.proto",
|
43
|
+
"../../protos/google/cloud/discoveryengine/v1/user_license_service.proto"
|
39
44
|
]
|