@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
@@ -198,6 +198,12 @@ export declare class DataStoreServiceClient {
|
|
198
198
|
*
|
199
199
|
* @param {Object} request
|
200
200
|
* The request object that will be sent.
|
201
|
+
* @param {string} request.cmekConfigName
|
202
|
+
* Resource name of the CmekConfig to use for protecting this DataStore.
|
203
|
+
* @param {boolean} request.disableCmek
|
204
|
+
* DataStore without CMEK protections. If a default CmekConfig is set for
|
205
|
+
* the project, setting this field will override the default CmekConfig as
|
206
|
+
* well.
|
201
207
|
* @param {string} request.parent
|
202
208
|
* Required. The parent resource name, such as
|
203
209
|
* `projects/{project}/locations/{location}/collections/{collection}`.
|
@@ -694,6 +700,39 @@ export declare class DataStoreServiceClient {
|
|
694
700
|
* @returns {string} A string representing the engine.
|
695
701
|
*/
|
696
702
|
matchEngineFromEngineName(engineName: string): string | number;
|
703
|
+
/**
|
704
|
+
* Return a fully-qualified identityMappingStore resource name string.
|
705
|
+
*
|
706
|
+
* @param {string} project
|
707
|
+
* @param {string} location
|
708
|
+
* @param {string} identity_mapping_store
|
709
|
+
* @returns {string} Resource name string.
|
710
|
+
*/
|
711
|
+
identityMappingStorePath(project: string, location: string, identityMappingStore: string): string;
|
712
|
+
/**
|
713
|
+
* Parse the project from IdentityMappingStore resource.
|
714
|
+
*
|
715
|
+
* @param {string} identityMappingStoreName
|
716
|
+
* A fully-qualified path representing IdentityMappingStore resource.
|
717
|
+
* @returns {string} A string representing the project.
|
718
|
+
*/
|
719
|
+
matchProjectFromIdentityMappingStoreName(identityMappingStoreName: string): string | number;
|
720
|
+
/**
|
721
|
+
* Parse the location from IdentityMappingStore resource.
|
722
|
+
*
|
723
|
+
* @param {string} identityMappingStoreName
|
724
|
+
* A fully-qualified path representing IdentityMappingStore resource.
|
725
|
+
* @returns {string} A string representing the location.
|
726
|
+
*/
|
727
|
+
matchLocationFromIdentityMappingStoreName(identityMappingStoreName: string): string | number;
|
728
|
+
/**
|
729
|
+
* Parse the identity_mapping_store from IdentityMappingStore resource.
|
730
|
+
*
|
731
|
+
* @param {string} identityMappingStoreName
|
732
|
+
* A fully-qualified path representing IdentityMappingStore resource.
|
733
|
+
* @returns {string} A string representing the identity_mapping_store.
|
734
|
+
*/
|
735
|
+
matchIdentityMappingStoreFromIdentityMappingStoreName(identityMappingStoreName: string): string | number;
|
697
736
|
/**
|
698
737
|
* Return a fully-qualified project resource name string.
|
699
738
|
*
|
@@ -709,6 +748,63 @@ export declare class DataStoreServiceClient {
|
|
709
748
|
* @returns {string} A string representing the project.
|
710
749
|
*/
|
711
750
|
matchProjectFromProjectName(projectName: string): string | number;
|
751
|
+
/**
|
752
|
+
* Return a fully-qualified projectLocationCmekConfig resource name string.
|
753
|
+
*
|
754
|
+
* @param {string} project
|
755
|
+
* @param {string} location
|
756
|
+
* @returns {string} Resource name string.
|
757
|
+
*/
|
758
|
+
projectLocationCmekConfigPath(project: string, location: string): string;
|
759
|
+
/**
|
760
|
+
* Parse the project from ProjectLocationCmekConfig resource.
|
761
|
+
*
|
762
|
+
* @param {string} projectLocationCmekConfigName
|
763
|
+
* A fully-qualified path representing project_location_cmekConfig resource.
|
764
|
+
* @returns {string} A string representing the project.
|
765
|
+
*/
|
766
|
+
matchProjectFromProjectLocationCmekConfigName(projectLocationCmekConfigName: string): string | number;
|
767
|
+
/**
|
768
|
+
* Parse the location from ProjectLocationCmekConfig resource.
|
769
|
+
*
|
770
|
+
* @param {string} projectLocationCmekConfigName
|
771
|
+
* A fully-qualified path representing project_location_cmekConfig resource.
|
772
|
+
* @returns {string} A string representing the location.
|
773
|
+
*/
|
774
|
+
matchLocationFromProjectLocationCmekConfigName(projectLocationCmekConfigName: string): string | number;
|
775
|
+
/**
|
776
|
+
* Return a fully-qualified projectLocationCmekConfigs resource name string.
|
777
|
+
*
|
778
|
+
* @param {string} project
|
779
|
+
* @param {string} location
|
780
|
+
* @param {string} cmek_config
|
781
|
+
* @returns {string} Resource name string.
|
782
|
+
*/
|
783
|
+
projectLocationCmekConfigsPath(project: string, location: string, cmekConfig: string): string;
|
784
|
+
/**
|
785
|
+
* Parse the project from ProjectLocationCmekConfigs resource.
|
786
|
+
*
|
787
|
+
* @param {string} projectLocationCmekConfigsName
|
788
|
+
* A fully-qualified path representing project_location_cmekConfigs resource.
|
789
|
+
* @returns {string} A string representing the project.
|
790
|
+
*/
|
791
|
+
matchProjectFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName: string): string | number;
|
792
|
+
/**
|
793
|
+
* Parse the location from ProjectLocationCmekConfigs resource.
|
794
|
+
*
|
795
|
+
* @param {string} projectLocationCmekConfigsName
|
796
|
+
* A fully-qualified path representing project_location_cmekConfigs resource.
|
797
|
+
* @returns {string} A string representing the location.
|
798
|
+
*/
|
799
|
+
matchLocationFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName: string): string | number;
|
800
|
+
/**
|
801
|
+
* Parse the cmek_config from ProjectLocationCmekConfigs resource.
|
802
|
+
*
|
803
|
+
* @param {string} projectLocationCmekConfigsName
|
804
|
+
* A fully-qualified path representing project_location_cmekConfigs resource.
|
805
|
+
* @returns {string} A string representing the cmek_config.
|
806
|
+
*/
|
807
|
+
matchCmekConfigFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName: string): string | number;
|
712
808
|
/**
|
713
809
|
* Return a fully-qualified projectLocationCollectionDataStore resource name string.
|
714
810
|
*
|
@@ -166,7 +166,10 @@ class DataStoreServiceClient {
|
|
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 DataStoreServiceClient {
|
|
207
210
|
this.descriptors.page = {
|
208
211
|
listDataStores: new this._gaxModule.PageDescriptor('pageToken', 'nextPageToken', 'dataStores')
|
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 DataStoreServiceClient {
|
|
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 DataStoreServiceClient {
|
|
371
374
|
?.then(([response, options, rawResponse]) => {
|
372
375
|
this._log.info('getDataStore 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
|
updateDataStore(request, optionsOrCallback, callback) {
|
@@ -401,6 +410,12 @@ class DataStoreServiceClient {
|
|
401
410
|
?.then(([response, options, rawResponse]) => {
|
402
411
|
this._log.info('updateDataStore 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
|
createDataStore(request, optionsOrCallback, callback) {
|
@@ -987,6 +1002,51 @@ class DataStoreServiceClient {
|
|
987
1002
|
matchEngineFromEngineName(engineName) {
|
988
1003
|
return this.pathTemplates.enginePathTemplate.match(engineName).engine;
|
989
1004
|
}
|
1005
|
+
/**
|
1006
|
+
* Return a fully-qualified identityMappingStore resource name string.
|
1007
|
+
*
|
1008
|
+
* @param {string} project
|
1009
|
+
* @param {string} location
|
1010
|
+
* @param {string} identity_mapping_store
|
1011
|
+
* @returns {string} Resource name string.
|
1012
|
+
*/
|
1013
|
+
identityMappingStorePath(project, location, identityMappingStore) {
|
1014
|
+
return this.pathTemplates.identityMappingStorePathTemplate.render({
|
1015
|
+
project: project,
|
1016
|
+
location: location,
|
1017
|
+
identity_mapping_store: identityMappingStore,
|
1018
|
+
});
|
1019
|
+
}
|
1020
|
+
/**
|
1021
|
+
* Parse the project from IdentityMappingStore resource.
|
1022
|
+
*
|
1023
|
+
* @param {string} identityMappingStoreName
|
1024
|
+
* A fully-qualified path representing IdentityMappingStore resource.
|
1025
|
+
* @returns {string} A string representing the project.
|
1026
|
+
*/
|
1027
|
+
matchProjectFromIdentityMappingStoreName(identityMappingStoreName) {
|
1028
|
+
return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).project;
|
1029
|
+
}
|
1030
|
+
/**
|
1031
|
+
* Parse the location from IdentityMappingStore resource.
|
1032
|
+
*
|
1033
|
+
* @param {string} identityMappingStoreName
|
1034
|
+
* A fully-qualified path representing IdentityMappingStore resource.
|
1035
|
+
* @returns {string} A string representing the location.
|
1036
|
+
*/
|
1037
|
+
matchLocationFromIdentityMappingStoreName(identityMappingStoreName) {
|
1038
|
+
return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).location;
|
1039
|
+
}
|
1040
|
+
/**
|
1041
|
+
* Parse the identity_mapping_store from IdentityMappingStore resource.
|
1042
|
+
*
|
1043
|
+
* @param {string} identityMappingStoreName
|
1044
|
+
* A fully-qualified path representing IdentityMappingStore resource.
|
1045
|
+
* @returns {string} A string representing the identity_mapping_store.
|
1046
|
+
*/
|
1047
|
+
matchIdentityMappingStoreFromIdentityMappingStoreName(identityMappingStoreName) {
|
1048
|
+
return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).identity_mapping_store;
|
1049
|
+
}
|
990
1050
|
/**
|
991
1051
|
* Return a fully-qualified project resource name string.
|
992
1052
|
*
|
@@ -1008,6 +1068,84 @@ class DataStoreServiceClient {
|
|
1008
1068
|
matchProjectFromProjectName(projectName) {
|
1009
1069
|
return this.pathTemplates.projectPathTemplate.match(projectName).project;
|
1010
1070
|
}
|
1071
|
+
/**
|
1072
|
+
* Return a fully-qualified projectLocationCmekConfig resource name string.
|
1073
|
+
*
|
1074
|
+
* @param {string} project
|
1075
|
+
* @param {string} location
|
1076
|
+
* @returns {string} Resource name string.
|
1077
|
+
*/
|
1078
|
+
projectLocationCmekConfigPath(project, location) {
|
1079
|
+
return this.pathTemplates.projectLocationCmekConfigPathTemplate.render({
|
1080
|
+
project: project,
|
1081
|
+
location: location,
|
1082
|
+
});
|
1083
|
+
}
|
1084
|
+
/**
|
1085
|
+
* Parse the project from ProjectLocationCmekConfig resource.
|
1086
|
+
*
|
1087
|
+
* @param {string} projectLocationCmekConfigName
|
1088
|
+
* A fully-qualified path representing project_location_cmekConfig resource.
|
1089
|
+
* @returns {string} A string representing the project.
|
1090
|
+
*/
|
1091
|
+
matchProjectFromProjectLocationCmekConfigName(projectLocationCmekConfigName) {
|
1092
|
+
return this.pathTemplates.projectLocationCmekConfigPathTemplate.match(projectLocationCmekConfigName).project;
|
1093
|
+
}
|
1094
|
+
/**
|
1095
|
+
* Parse the location from ProjectLocationCmekConfig resource.
|
1096
|
+
*
|
1097
|
+
* @param {string} projectLocationCmekConfigName
|
1098
|
+
* A fully-qualified path representing project_location_cmekConfig resource.
|
1099
|
+
* @returns {string} A string representing the location.
|
1100
|
+
*/
|
1101
|
+
matchLocationFromProjectLocationCmekConfigName(projectLocationCmekConfigName) {
|
1102
|
+
return this.pathTemplates.projectLocationCmekConfigPathTemplate.match(projectLocationCmekConfigName).location;
|
1103
|
+
}
|
1104
|
+
/**
|
1105
|
+
* Return a fully-qualified projectLocationCmekConfigs resource name string.
|
1106
|
+
*
|
1107
|
+
* @param {string} project
|
1108
|
+
* @param {string} location
|
1109
|
+
* @param {string} cmek_config
|
1110
|
+
* @returns {string} Resource name string.
|
1111
|
+
*/
|
1112
|
+
projectLocationCmekConfigsPath(project, location, cmekConfig) {
|
1113
|
+
return this.pathTemplates.projectLocationCmekConfigsPathTemplate.render({
|
1114
|
+
project: project,
|
1115
|
+
location: location,
|
1116
|
+
cmek_config: cmekConfig,
|
1117
|
+
});
|
1118
|
+
}
|
1119
|
+
/**
|
1120
|
+
* Parse the project from ProjectLocationCmekConfigs resource.
|
1121
|
+
*
|
1122
|
+
* @param {string} projectLocationCmekConfigsName
|
1123
|
+
* A fully-qualified path representing project_location_cmekConfigs resource.
|
1124
|
+
* @returns {string} A string representing the project.
|
1125
|
+
*/
|
1126
|
+
matchProjectFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
|
1127
|
+
return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).project;
|
1128
|
+
}
|
1129
|
+
/**
|
1130
|
+
* Parse the location from ProjectLocationCmekConfigs resource.
|
1131
|
+
*
|
1132
|
+
* @param {string} projectLocationCmekConfigsName
|
1133
|
+
* A fully-qualified path representing project_location_cmekConfigs resource.
|
1134
|
+
* @returns {string} A string representing the location.
|
1135
|
+
*/
|
1136
|
+
matchLocationFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
|
1137
|
+
return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).location;
|
1138
|
+
}
|
1139
|
+
/**
|
1140
|
+
* Parse the cmek_config from ProjectLocationCmekConfigs resource.
|
1141
|
+
*
|
1142
|
+
* @param {string} projectLocationCmekConfigsName
|
1143
|
+
* A fully-qualified path representing project_location_cmekConfigs resource.
|
1144
|
+
* @returns {string} A string representing the cmek_config.
|
1145
|
+
*/
|
1146
|
+
matchCmekConfigFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
|
1147
|
+
return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).cmek_config;
|
1148
|
+
}
|
1011
1149
|
/**
|
1012
1150
|
* Return a fully-qualified projectLocationCollectionDataStore resource name string.
|
1013
1151
|
*
|
@@ -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
|
]
|
@@ -856,6 +856,39 @@ export declare class DocumentServiceClient {
|
|
856
856
|
* @returns {string} A string representing the engine.
|
857
857
|
*/
|
858
858
|
matchEngineFromEngineName(engineName: string): string | number;
|
859
|
+
/**
|
860
|
+
* Return a fully-qualified identityMappingStore resource name string.
|
861
|
+
*
|
862
|
+
* @param {string} project
|
863
|
+
* @param {string} location
|
864
|
+
* @param {string} identity_mapping_store
|
865
|
+
* @returns {string} Resource name string.
|
866
|
+
*/
|
867
|
+
identityMappingStorePath(project: string, location: string, identityMappingStore: string): string;
|
868
|
+
/**
|
869
|
+
* Parse the project from IdentityMappingStore resource.
|
870
|
+
*
|
871
|
+
* @param {string} identityMappingStoreName
|
872
|
+
* A fully-qualified path representing IdentityMappingStore resource.
|
873
|
+
* @returns {string} A string representing the project.
|
874
|
+
*/
|
875
|
+
matchProjectFromIdentityMappingStoreName(identityMappingStoreName: string): string | number;
|
876
|
+
/**
|
877
|
+
* Parse the location from IdentityMappingStore resource.
|
878
|
+
*
|
879
|
+
* @param {string} identityMappingStoreName
|
880
|
+
* A fully-qualified path representing IdentityMappingStore resource.
|
881
|
+
* @returns {string} A string representing the location.
|
882
|
+
*/
|
883
|
+
matchLocationFromIdentityMappingStoreName(identityMappingStoreName: string): string | number;
|
884
|
+
/**
|
885
|
+
* Parse the identity_mapping_store from IdentityMappingStore resource.
|
886
|
+
*
|
887
|
+
* @param {string} identityMappingStoreName
|
888
|
+
* A fully-qualified path representing IdentityMappingStore resource.
|
889
|
+
* @returns {string} A string representing the identity_mapping_store.
|
890
|
+
*/
|
891
|
+
matchIdentityMappingStoreFromIdentityMappingStoreName(identityMappingStoreName: string): string | number;
|
859
892
|
/**
|
860
893
|
* Return a fully-qualified project resource name string.
|
861
894
|
*
|
@@ -871,6 +904,63 @@ export declare class DocumentServiceClient {
|
|
871
904
|
* @returns {string} A string representing the project.
|
872
905
|
*/
|
873
906
|
matchProjectFromProjectName(projectName: string): string | number;
|
907
|
+
/**
|
908
|
+
* Return a fully-qualified projectLocationCmekConfig resource name string.
|
909
|
+
*
|
910
|
+
* @param {string} project
|
911
|
+
* @param {string} location
|
912
|
+
* @returns {string} Resource name string.
|
913
|
+
*/
|
914
|
+
projectLocationCmekConfigPath(project: string, location: string): string;
|
915
|
+
/**
|
916
|
+
* Parse the project from ProjectLocationCmekConfig resource.
|
917
|
+
*
|
918
|
+
* @param {string} projectLocationCmekConfigName
|
919
|
+
* A fully-qualified path representing project_location_cmekConfig resource.
|
920
|
+
* @returns {string} A string representing the project.
|
921
|
+
*/
|
922
|
+
matchProjectFromProjectLocationCmekConfigName(projectLocationCmekConfigName: string): string | number;
|
923
|
+
/**
|
924
|
+
* Parse the location from ProjectLocationCmekConfig resource.
|
925
|
+
*
|
926
|
+
* @param {string} projectLocationCmekConfigName
|
927
|
+
* A fully-qualified path representing project_location_cmekConfig resource.
|
928
|
+
* @returns {string} A string representing the location.
|
929
|
+
*/
|
930
|
+
matchLocationFromProjectLocationCmekConfigName(projectLocationCmekConfigName: string): string | number;
|
931
|
+
/**
|
932
|
+
* Return a fully-qualified projectLocationCmekConfigs resource name string.
|
933
|
+
*
|
934
|
+
* @param {string} project
|
935
|
+
* @param {string} location
|
936
|
+
* @param {string} cmek_config
|
937
|
+
* @returns {string} Resource name string.
|
938
|
+
*/
|
939
|
+
projectLocationCmekConfigsPath(project: string, location: string, cmekConfig: string): string;
|
940
|
+
/**
|
941
|
+
* Parse the project from ProjectLocationCmekConfigs resource.
|
942
|
+
*
|
943
|
+
* @param {string} projectLocationCmekConfigsName
|
944
|
+
* A fully-qualified path representing project_location_cmekConfigs resource.
|
945
|
+
* @returns {string} A string representing the project.
|
946
|
+
*/
|
947
|
+
matchProjectFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName: string): string | number;
|
948
|
+
/**
|
949
|
+
* Parse the location from ProjectLocationCmekConfigs resource.
|
950
|
+
*
|
951
|
+
* @param {string} projectLocationCmekConfigsName
|
952
|
+
* A fully-qualified path representing project_location_cmekConfigs resource.
|
953
|
+
* @returns {string} A string representing the location.
|
954
|
+
*/
|
955
|
+
matchLocationFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName: string): string | number;
|
956
|
+
/**
|
957
|
+
* Parse the cmek_config from ProjectLocationCmekConfigs resource.
|
958
|
+
*
|
959
|
+
* @param {string} projectLocationCmekConfigsName
|
960
|
+
* A fully-qualified path representing project_location_cmekConfigs resource.
|
961
|
+
* @returns {string} A string representing the cmek_config.
|
962
|
+
*/
|
963
|
+
matchCmekConfigFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName: string): string | number;
|
874
964
|
/**
|
875
965
|
* Return a fully-qualified projectLocationCollectionDataStore resource name string.
|
876
966
|
*
|