@google-cloud/dlp 5.0.0 → 5.1.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 +14 -0
- package/README.md +5 -0
- package/build/protos/google/privacy/dlp/v2/dlp.proto +1088 -262
- package/build/protos/google/privacy/dlp/v2/storage.proto +85 -39
- package/build/protos/protos.d.ts +4101 -40
- package/build/protos/protos.js +17268 -6356
- package/build/protos/protos.json +1140 -20
- package/build/src/v2/dlp_service_client.d.ts +412 -90
- package/build/src/v2/dlp_service_client.js +359 -46
- package/build/src/v2/dlp_service_client_config.json +25 -0
- package/package.json +6 -6
|
@@ -65,8 +65,7 @@ export declare class DlpServiceClient {
|
|
|
65
65
|
* API remote host.
|
|
66
66
|
* @param {gax.ClientConfig} [options.clientConfig] - Client configuration override.
|
|
67
67
|
* Follows the structure of {@link gapicConfig}.
|
|
68
|
-
* @param {boolean
|
|
69
|
-
* Pass "rest" to use HTTP/1.1 REST API instead of gRPC.
|
|
68
|
+
* @param {boolean} [options.fallback] - Use HTTP/1.1 REST mode.
|
|
70
69
|
* For more information, please check the
|
|
71
70
|
* {@link https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md#http11-rest-api-mode documentation}.
|
|
72
71
|
* @param {gax} [gaxInstance]: loaded instance of `google-gax`. Useful if you
|
|
@@ -74,7 +73,7 @@ export declare class DlpServiceClient {
|
|
|
74
73
|
* HTTP implementation. Load only fallback version and pass it to the constructor:
|
|
75
74
|
* ```
|
|
76
75
|
* const gax = require('google-gax/build/src/fallback'); // avoids loading google-gax with gRPC
|
|
77
|
-
* const client = new DlpServiceClient({fallback:
|
|
76
|
+
* const client = new DlpServiceClient({fallback: true}, gax);
|
|
78
77
|
* ```
|
|
79
78
|
*/
|
|
80
79
|
constructor(opts?: ClientOptions, gaxInstance?: typeof gax | typeof gax.fallback);
|
|
@@ -477,8 +476,8 @@ export declare class DlpServiceClient {
|
|
|
477
476
|
* @param {Object} request
|
|
478
477
|
* The request object that will be sent.
|
|
479
478
|
* @param {string} request.name
|
|
480
|
-
* Required. Resource name of organization and inspectTemplate to be updated,
|
|
481
|
-
* example `organizations/433245324/inspectTemplates/432452342` or
|
|
479
|
+
* Required. Resource name of organization and inspectTemplate to be updated,
|
|
480
|
+
* for example `organizations/433245324/inspectTemplates/432452342` or
|
|
482
481
|
* projects/project-id/inspectTemplates/432452342.
|
|
483
482
|
* @param {google.privacy.dlp.v2.InspectTemplate} request.inspectTemplate
|
|
484
483
|
* New InspectTemplate value.
|
|
@@ -507,8 +506,8 @@ export declare class DlpServiceClient {
|
|
|
507
506
|
* @param {Object} request
|
|
508
507
|
* The request object that will be sent.
|
|
509
508
|
* @param {string} request.name
|
|
510
|
-
* Required. Resource name of the organization and inspectTemplate to be read,
|
|
511
|
-
* example `organizations/433245324/inspectTemplates/432452342` or
|
|
509
|
+
* Required. Resource name of the organization and inspectTemplate to be read,
|
|
510
|
+
* for example `organizations/433245324/inspectTemplates/432452342` or
|
|
512
511
|
* projects/project-id/inspectTemplates/432452342.
|
|
513
512
|
* @param {object} [options]
|
|
514
513
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
@@ -533,9 +532,9 @@ export declare class DlpServiceClient {
|
|
|
533
532
|
* @param {Object} request
|
|
534
533
|
* The request object that will be sent.
|
|
535
534
|
* @param {string} request.name
|
|
536
|
-
* Required. Resource name of the organization and inspectTemplate to be
|
|
537
|
-
* example `organizations/433245324/inspectTemplates/432452342`
|
|
538
|
-
* projects/project-id/inspectTemplates/432452342.
|
|
535
|
+
* Required. Resource name of the organization and inspectTemplate to be
|
|
536
|
+
* deleted, for example `organizations/433245324/inspectTemplates/432452342`
|
|
537
|
+
* or projects/project-id/inspectTemplates/432452342.
|
|
539
538
|
* @param {object} [options]
|
|
540
539
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
541
540
|
* @returns {Promise} - The promise which resolves to an array.
|
|
@@ -614,8 +613,9 @@ export declare class DlpServiceClient {
|
|
|
614
613
|
* @param {Object} request
|
|
615
614
|
* The request object that will be sent.
|
|
616
615
|
* @param {string} request.name
|
|
617
|
-
* Required. Resource name of organization and deidentify template to be
|
|
618
|
-
*
|
|
616
|
+
* Required. Resource name of organization and deidentify template to be
|
|
617
|
+
* updated, for example
|
|
618
|
+
* `organizations/433245324/deidentifyTemplates/432452342` or
|
|
619
619
|
* projects/project-id/deidentifyTemplates/432452342.
|
|
620
620
|
* @param {google.privacy.dlp.v2.DeidentifyTemplate} request.deidentifyTemplate
|
|
621
621
|
* New DeidentifyTemplate value.
|
|
@@ -645,9 +645,9 @@ export declare class DlpServiceClient {
|
|
|
645
645
|
* @param {Object} request
|
|
646
646
|
* The request object that will be sent.
|
|
647
647
|
* @param {string} request.name
|
|
648
|
-
* Required. Resource name of the organization and deidentify template to be
|
|
649
|
-
* example `organizations/433245324/deidentifyTemplates/432452342`
|
|
650
|
-
* projects/project-id/deidentifyTemplates/432452342.
|
|
648
|
+
* Required. Resource name of the organization and deidentify template to be
|
|
649
|
+
* read, for example `organizations/433245324/deidentifyTemplates/432452342`
|
|
650
|
+
* or projects/project-id/deidentifyTemplates/432452342.
|
|
651
651
|
* @param {object} [options]
|
|
652
652
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
653
653
|
* @returns {Promise} - The promise which resolves to an array.
|
|
@@ -672,8 +672,9 @@ export declare class DlpServiceClient {
|
|
|
672
672
|
* @param {Object} request
|
|
673
673
|
* The request object that will be sent.
|
|
674
674
|
* @param {string} request.name
|
|
675
|
-
* Required. Resource name of the organization and deidentify template to be
|
|
676
|
-
* for example
|
|
675
|
+
* Required. Resource name of the organization and deidentify template to be
|
|
676
|
+
* deleted, for example
|
|
677
|
+
* `organizations/433245324/deidentifyTemplates/432452342` or
|
|
677
678
|
* projects/project-id/deidentifyTemplates/432452342.
|
|
678
679
|
* @param {object} [options]
|
|
679
680
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
@@ -777,8 +778,8 @@ export declare class DlpServiceClient {
|
|
|
777
778
|
* @param {Object} request
|
|
778
779
|
* The request object that will be sent.
|
|
779
780
|
* @param {string} request.name
|
|
780
|
-
* Required. Resource name of the trigger to execute a hybrid inspect on, for
|
|
781
|
-
* `projects/dlp-test-project/jobTriggers/53234423`.
|
|
781
|
+
* Required. Resource name of the trigger to execute a hybrid inspect on, for
|
|
782
|
+
* example `projects/dlp-test-project/jobTriggers/53234423`.
|
|
782
783
|
* @param {google.privacy.dlp.v2.HybridContentItem} request.hybridItem
|
|
783
784
|
* The item to inspect.
|
|
784
785
|
* @param {object} [options]
|
|
@@ -872,6 +873,121 @@ export declare class DlpServiceClient {
|
|
|
872
873
|
]>;
|
|
873
874
|
activateJobTrigger(request: protos.google.privacy.dlp.v2.IActivateJobTriggerRequest, options: CallOptions, callback: Callback<protos.google.privacy.dlp.v2.IDlpJob, protos.google.privacy.dlp.v2.IActivateJobTriggerRequest | null | undefined, {} | null | undefined>): void;
|
|
874
875
|
activateJobTrigger(request: protos.google.privacy.dlp.v2.IActivateJobTriggerRequest, callback: Callback<protos.google.privacy.dlp.v2.IDlpJob, protos.google.privacy.dlp.v2.IActivateJobTriggerRequest | null | undefined, {} | null | undefined>): void;
|
|
876
|
+
/**
|
|
877
|
+
* Creates a config for discovery to scan and profile storage.
|
|
878
|
+
*
|
|
879
|
+
* @param {Object} request
|
|
880
|
+
* The request object that will be sent.
|
|
881
|
+
* @param {string} request.parent
|
|
882
|
+
* Required. Parent resource name.
|
|
883
|
+
*
|
|
884
|
+
* The format of this value is as follows:
|
|
885
|
+
* `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
|
886
|
+
*
|
|
887
|
+
* The following example `parent` string specifies a parent project with the
|
|
888
|
+
* identifier `example-project`, and specifies the `europe-west3` location
|
|
889
|
+
* for processing data:
|
|
890
|
+
*
|
|
891
|
+
* parent=projects/example-project/locations/europe-west3
|
|
892
|
+
* @param {google.privacy.dlp.v2.DiscoveryConfig} request.discoveryConfig
|
|
893
|
+
* Required. The DiscoveryConfig to create.
|
|
894
|
+
* @param {string} request.configId
|
|
895
|
+
* The config ID can contain uppercase and lowercase letters,
|
|
896
|
+
* numbers, and hyphens; that is, it must match the regular
|
|
897
|
+
* expression: `[a-zA-Z\d-_]+`. The maximum length is 100
|
|
898
|
+
* characters. Can be empty to allow the system to generate one.
|
|
899
|
+
* @param {object} [options]
|
|
900
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
901
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
902
|
+
* The first element of the array is an object representing {@link protos.google.privacy.dlp.v2.DiscoveryConfig|DiscoveryConfig}.
|
|
903
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
|
|
904
|
+
* for more details and examples.
|
|
905
|
+
* @example <caption>include:samples/generated/v2/dlp_service.create_discovery_config.js</caption>
|
|
906
|
+
* region_tag:dlp_v2_generated_DlpService_CreateDiscoveryConfig_async
|
|
907
|
+
*/
|
|
908
|
+
createDiscoveryConfig(request?: protos.google.privacy.dlp.v2.ICreateDiscoveryConfigRequest, options?: CallOptions): Promise<[
|
|
909
|
+
protos.google.privacy.dlp.v2.IDiscoveryConfig,
|
|
910
|
+
protos.google.privacy.dlp.v2.ICreateDiscoveryConfigRequest | undefined,
|
|
911
|
+
{} | undefined
|
|
912
|
+
]>;
|
|
913
|
+
createDiscoveryConfig(request: protos.google.privacy.dlp.v2.ICreateDiscoveryConfigRequest, options: CallOptions, callback: Callback<protos.google.privacy.dlp.v2.IDiscoveryConfig, protos.google.privacy.dlp.v2.ICreateDiscoveryConfigRequest | null | undefined, {} | null | undefined>): void;
|
|
914
|
+
createDiscoveryConfig(request: protos.google.privacy.dlp.v2.ICreateDiscoveryConfigRequest, callback: Callback<protos.google.privacy.dlp.v2.IDiscoveryConfig, protos.google.privacy.dlp.v2.ICreateDiscoveryConfigRequest | null | undefined, {} | null | undefined>): void;
|
|
915
|
+
/**
|
|
916
|
+
* Updates a discovery configuration.
|
|
917
|
+
*
|
|
918
|
+
* @param {Object} request
|
|
919
|
+
* The request object that will be sent.
|
|
920
|
+
* @param {string} request.name
|
|
921
|
+
* Required. Resource name of the project and the configuration, for example
|
|
922
|
+
* `projects/dlp-test-project/discoveryConfigs/53234423`.
|
|
923
|
+
* @param {google.privacy.dlp.v2.DiscoveryConfig} request.discoveryConfig
|
|
924
|
+
* Required. New DiscoveryConfig value.
|
|
925
|
+
* @param {google.protobuf.FieldMask} request.updateMask
|
|
926
|
+
* Mask to control which fields get updated.
|
|
927
|
+
* @param {object} [options]
|
|
928
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
929
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
930
|
+
* The first element of the array is an object representing {@link protos.google.privacy.dlp.v2.DiscoveryConfig|DiscoveryConfig}.
|
|
931
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
|
|
932
|
+
* for more details and examples.
|
|
933
|
+
* @example <caption>include:samples/generated/v2/dlp_service.update_discovery_config.js</caption>
|
|
934
|
+
* region_tag:dlp_v2_generated_DlpService_UpdateDiscoveryConfig_async
|
|
935
|
+
*/
|
|
936
|
+
updateDiscoveryConfig(request?: protos.google.privacy.dlp.v2.IUpdateDiscoveryConfigRequest, options?: CallOptions): Promise<[
|
|
937
|
+
protos.google.privacy.dlp.v2.IDiscoveryConfig,
|
|
938
|
+
protos.google.privacy.dlp.v2.IUpdateDiscoveryConfigRequest | undefined,
|
|
939
|
+
{} | undefined
|
|
940
|
+
]>;
|
|
941
|
+
updateDiscoveryConfig(request: protos.google.privacy.dlp.v2.IUpdateDiscoveryConfigRequest, options: CallOptions, callback: Callback<protos.google.privacy.dlp.v2.IDiscoveryConfig, protos.google.privacy.dlp.v2.IUpdateDiscoveryConfigRequest | null | undefined, {} | null | undefined>): void;
|
|
942
|
+
updateDiscoveryConfig(request: protos.google.privacy.dlp.v2.IUpdateDiscoveryConfigRequest, callback: Callback<protos.google.privacy.dlp.v2.IDiscoveryConfig, protos.google.privacy.dlp.v2.IUpdateDiscoveryConfigRequest | null | undefined, {} | null | undefined>): void;
|
|
943
|
+
/**
|
|
944
|
+
* Gets a discovery configuration.
|
|
945
|
+
*
|
|
946
|
+
* @param {Object} request
|
|
947
|
+
* The request object that will be sent.
|
|
948
|
+
* @param {string} request.name
|
|
949
|
+
* Required. Resource name of the project and the configuration, for example
|
|
950
|
+
* `projects/dlp-test-project/discoveryConfigs/53234423`.
|
|
951
|
+
* @param {object} [options]
|
|
952
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
953
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
954
|
+
* The first element of the array is an object representing {@link protos.google.privacy.dlp.v2.DiscoveryConfig|DiscoveryConfig}.
|
|
955
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
|
|
956
|
+
* for more details and examples.
|
|
957
|
+
* @example <caption>include:samples/generated/v2/dlp_service.get_discovery_config.js</caption>
|
|
958
|
+
* region_tag:dlp_v2_generated_DlpService_GetDiscoveryConfig_async
|
|
959
|
+
*/
|
|
960
|
+
getDiscoveryConfig(request?: protos.google.privacy.dlp.v2.IGetDiscoveryConfigRequest, options?: CallOptions): Promise<[
|
|
961
|
+
protos.google.privacy.dlp.v2.IDiscoveryConfig,
|
|
962
|
+
protos.google.privacy.dlp.v2.IGetDiscoveryConfigRequest | undefined,
|
|
963
|
+
{} | undefined
|
|
964
|
+
]>;
|
|
965
|
+
getDiscoveryConfig(request: protos.google.privacy.dlp.v2.IGetDiscoveryConfigRequest, options: CallOptions, callback: Callback<protos.google.privacy.dlp.v2.IDiscoveryConfig, protos.google.privacy.dlp.v2.IGetDiscoveryConfigRequest | null | undefined, {} | null | undefined>): void;
|
|
966
|
+
getDiscoveryConfig(request: protos.google.privacy.dlp.v2.IGetDiscoveryConfigRequest, callback: Callback<protos.google.privacy.dlp.v2.IDiscoveryConfig, protos.google.privacy.dlp.v2.IGetDiscoveryConfigRequest | null | undefined, {} | null | undefined>): void;
|
|
967
|
+
/**
|
|
968
|
+
* Deletes a discovery configuration.
|
|
969
|
+
*
|
|
970
|
+
* @param {Object} request
|
|
971
|
+
* The request object that will be sent.
|
|
972
|
+
* @param {string} request.name
|
|
973
|
+
* Required. Resource name of the project and the config, for example
|
|
974
|
+
* `projects/dlp-test-project/discoveryConfigs/53234423`.
|
|
975
|
+
* @param {object} [options]
|
|
976
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
977
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
978
|
+
* The first element of the array is an object representing {@link protos.google.protobuf.Empty|Empty}.
|
|
979
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods | documentation }
|
|
980
|
+
* for more details and examples.
|
|
981
|
+
* @example <caption>include:samples/generated/v2/dlp_service.delete_discovery_config.js</caption>
|
|
982
|
+
* region_tag:dlp_v2_generated_DlpService_DeleteDiscoveryConfig_async
|
|
983
|
+
*/
|
|
984
|
+
deleteDiscoveryConfig(request?: protos.google.privacy.dlp.v2.IDeleteDiscoveryConfigRequest, options?: CallOptions): Promise<[
|
|
985
|
+
protos.google.protobuf.IEmpty,
|
|
986
|
+
protos.google.privacy.dlp.v2.IDeleteDiscoveryConfigRequest | undefined,
|
|
987
|
+
{} | undefined
|
|
988
|
+
]>;
|
|
989
|
+
deleteDiscoveryConfig(request: protos.google.privacy.dlp.v2.IDeleteDiscoveryConfigRequest, options: CallOptions, callback: Callback<protos.google.protobuf.IEmpty, protos.google.privacy.dlp.v2.IDeleteDiscoveryConfigRequest | null | undefined, {} | null | undefined>): void;
|
|
990
|
+
deleteDiscoveryConfig(request: protos.google.privacy.dlp.v2.IDeleteDiscoveryConfigRequest, callback: Callback<protos.google.protobuf.IEmpty, protos.google.privacy.dlp.v2.IDeleteDiscoveryConfigRequest | null | undefined, {} | null | undefined>): void;
|
|
875
991
|
/**
|
|
876
992
|
* Creates a new job to inspect storage or calculate risk metrics.
|
|
877
993
|
* See https://cloud.google.com/dlp/docs/inspecting-storage and
|
|
@@ -1069,8 +1185,8 @@ export declare class DlpServiceClient {
|
|
|
1069
1185
|
* @param {Object} request
|
|
1070
1186
|
* The request object that will be sent.
|
|
1071
1187
|
* @param {string} request.name
|
|
1072
|
-
* Required. Resource name of organization and storedInfoType to be updated,
|
|
1073
|
-
* example `organizations/433245324/storedInfoTypes/432452342` or
|
|
1188
|
+
* Required. Resource name of organization and storedInfoType to be updated,
|
|
1189
|
+
* for example `organizations/433245324/storedInfoTypes/432452342` or
|
|
1074
1190
|
* projects/project-id/storedInfoTypes/432452342.
|
|
1075
1191
|
* @param {google.privacy.dlp.v2.StoredInfoTypeConfig} request.config
|
|
1076
1192
|
* Updated configuration for the storedInfoType. If not provided, a new
|
|
@@ -1102,8 +1218,8 @@ export declare class DlpServiceClient {
|
|
|
1102
1218
|
* @param {Object} request
|
|
1103
1219
|
* The request object that will be sent.
|
|
1104
1220
|
* @param {string} request.name
|
|
1105
|
-
* Required. Resource name of the organization and storedInfoType to be read,
|
|
1106
|
-
* example `organizations/433245324/storedInfoTypes/432452342` or
|
|
1221
|
+
* Required. Resource name of the organization and storedInfoType to be read,
|
|
1222
|
+
* for example `organizations/433245324/storedInfoTypes/432452342` or
|
|
1107
1223
|
* projects/project-id/storedInfoTypes/432452342.
|
|
1108
1224
|
* @param {object} [options]
|
|
1109
1225
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
@@ -1129,8 +1245,8 @@ export declare class DlpServiceClient {
|
|
|
1129
1245
|
* @param {Object} request
|
|
1130
1246
|
* The request object that will be sent.
|
|
1131
1247
|
* @param {string} request.name
|
|
1132
|
-
* Required. Resource name of the organization and storedInfoType to be
|
|
1133
|
-
* example `organizations/433245324/storedInfoTypes/432452342` or
|
|
1248
|
+
* Required. Resource name of the organization and storedInfoType to be
|
|
1249
|
+
* deleted, for example `organizations/433245324/storedInfoTypes/432452342` or
|
|
1134
1250
|
* projects/project-id/storedInfoTypes/432452342.
|
|
1135
1251
|
* @param {object} [options]
|
|
1136
1252
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
@@ -1156,8 +1272,8 @@ export declare class DlpServiceClient {
|
|
|
1156
1272
|
* @param {Object} request
|
|
1157
1273
|
* The request object that will be sent.
|
|
1158
1274
|
* @param {string} request.name
|
|
1159
|
-
* Required. Resource name of the job to execute a hybrid inspect on, for
|
|
1160
|
-
* `projects/dlp-test-project/dlpJob/53234423`.
|
|
1275
|
+
* Required. Resource name of the job to execute a hybrid inspect on, for
|
|
1276
|
+
* example `projects/dlp-test-project/dlpJob/53234423`.
|
|
1161
1277
|
* @param {google.privacy.dlp.v2.HybridContentItem} request.hybridItem
|
|
1162
1278
|
* The item to inspect.
|
|
1163
1279
|
* @param {object} [options]
|
|
@@ -1228,15 +1344,15 @@ export declare class DlpServiceClient {
|
|
|
1228
1344
|
*
|
|
1229
1345
|
* parent=projects/example-project/locations/europe-west3
|
|
1230
1346
|
* @param {string} request.pageToken
|
|
1231
|
-
* Page token to continue retrieval. Comes from previous call
|
|
1347
|
+
* Page token to continue retrieval. Comes from the previous call
|
|
1232
1348
|
* to `ListInspectTemplates`.
|
|
1233
1349
|
* @param {number} request.pageSize
|
|
1234
|
-
* Size of the page
|
|
1235
|
-
* a page of max size 100.
|
|
1350
|
+
* Size of the page. This value can be limited by the server. If zero server
|
|
1351
|
+
* returns a page of max size 100.
|
|
1236
1352
|
* @param {string} request.orderBy
|
|
1237
1353
|
* Comma separated list of fields to order by,
|
|
1238
|
-
* followed by `asc` or `desc` postfix. This list is case
|
|
1239
|
-
* default sorting order is ascending
|
|
1354
|
+
* followed by `asc` or `desc` postfix. This list is case insensitive. The
|
|
1355
|
+
* default sorting order is ascending. Redundant space characters are
|
|
1240
1356
|
* insignificant.
|
|
1241
1357
|
*
|
|
1242
1358
|
* Example: `name asc,update_time, create_time desc`
|
|
@@ -1294,15 +1410,15 @@ export declare class DlpServiceClient {
|
|
|
1294
1410
|
*
|
|
1295
1411
|
* parent=projects/example-project/locations/europe-west3
|
|
1296
1412
|
* @param {string} request.pageToken
|
|
1297
|
-
* Page token to continue retrieval. Comes from previous call
|
|
1413
|
+
* Page token to continue retrieval. Comes from the previous call
|
|
1298
1414
|
* to `ListInspectTemplates`.
|
|
1299
1415
|
* @param {number} request.pageSize
|
|
1300
|
-
* Size of the page
|
|
1301
|
-
* a page of max size 100.
|
|
1416
|
+
* Size of the page. This value can be limited by the server. If zero server
|
|
1417
|
+
* returns a page of max size 100.
|
|
1302
1418
|
* @param {string} request.orderBy
|
|
1303
1419
|
* Comma separated list of fields to order by,
|
|
1304
|
-
* followed by `asc` or `desc` postfix. This list is case
|
|
1305
|
-
* default sorting order is ascending
|
|
1420
|
+
* followed by `asc` or `desc` postfix. This list is case insensitive. The
|
|
1421
|
+
* default sorting order is ascending. Redundant space characters are
|
|
1306
1422
|
* insignificant.
|
|
1307
1423
|
*
|
|
1308
1424
|
* Example: `name asc,update_time, create_time desc`
|
|
@@ -1355,15 +1471,15 @@ export declare class DlpServiceClient {
|
|
|
1355
1471
|
*
|
|
1356
1472
|
* parent=projects/example-project/locations/europe-west3
|
|
1357
1473
|
* @param {string} request.pageToken
|
|
1358
|
-
* Page token to continue retrieval. Comes from previous call
|
|
1474
|
+
* Page token to continue retrieval. Comes from the previous call
|
|
1359
1475
|
* to `ListInspectTemplates`.
|
|
1360
1476
|
* @param {number} request.pageSize
|
|
1361
|
-
* Size of the page
|
|
1362
|
-
* a page of max size 100.
|
|
1477
|
+
* Size of the page. This value can be limited by the server. If zero server
|
|
1478
|
+
* returns a page of max size 100.
|
|
1363
1479
|
* @param {string} request.orderBy
|
|
1364
1480
|
* Comma separated list of fields to order by,
|
|
1365
|
-
* followed by `asc` or `desc` postfix. This list is case
|
|
1366
|
-
* default sorting order is ascending
|
|
1481
|
+
* followed by `asc` or `desc` postfix. This list is case insensitive. The
|
|
1482
|
+
* default sorting order is ascending. Redundant space characters are
|
|
1367
1483
|
* insignificant.
|
|
1368
1484
|
*
|
|
1369
1485
|
* Example: `name asc,update_time, create_time desc`
|
|
@@ -1418,15 +1534,15 @@ export declare class DlpServiceClient {
|
|
|
1418
1534
|
*
|
|
1419
1535
|
* parent=projects/example-project/locations/europe-west3
|
|
1420
1536
|
* @param {string} request.pageToken
|
|
1421
|
-
* Page token to continue retrieval. Comes from previous call
|
|
1537
|
+
* Page token to continue retrieval. Comes from the previous call
|
|
1422
1538
|
* to `ListDeidentifyTemplates`.
|
|
1423
1539
|
* @param {number} request.pageSize
|
|
1424
|
-
* Size of the page
|
|
1425
|
-
* a page of max size 100.
|
|
1540
|
+
* Size of the page. This value can be limited by the server. If zero server
|
|
1541
|
+
* returns a page of max size 100.
|
|
1426
1542
|
* @param {string} request.orderBy
|
|
1427
1543
|
* Comma separated list of fields to order by,
|
|
1428
|
-
* followed by `asc` or `desc` postfix. This list is case
|
|
1429
|
-
* default sorting order is ascending
|
|
1544
|
+
* followed by `asc` or `desc` postfix. This list is case insensitive. The
|
|
1545
|
+
* default sorting order is ascending. Redundant space characters are
|
|
1430
1546
|
* insignificant.
|
|
1431
1547
|
*
|
|
1432
1548
|
* Example: `name asc,update_time, create_time desc`
|
|
@@ -1484,15 +1600,15 @@ export declare class DlpServiceClient {
|
|
|
1484
1600
|
*
|
|
1485
1601
|
* parent=projects/example-project/locations/europe-west3
|
|
1486
1602
|
* @param {string} request.pageToken
|
|
1487
|
-
* Page token to continue retrieval. Comes from previous call
|
|
1603
|
+
* Page token to continue retrieval. Comes from the previous call
|
|
1488
1604
|
* to `ListDeidentifyTemplates`.
|
|
1489
1605
|
* @param {number} request.pageSize
|
|
1490
|
-
* Size of the page
|
|
1491
|
-
* a page of max size 100.
|
|
1606
|
+
* Size of the page. This value can be limited by the server. If zero server
|
|
1607
|
+
* returns a page of max size 100.
|
|
1492
1608
|
* @param {string} request.orderBy
|
|
1493
1609
|
* Comma separated list of fields to order by,
|
|
1494
|
-
* followed by `asc` or `desc` postfix. This list is case
|
|
1495
|
-
* default sorting order is ascending
|
|
1610
|
+
* followed by `asc` or `desc` postfix. This list is case insensitive. The
|
|
1611
|
+
* default sorting order is ascending. Redundant space characters are
|
|
1496
1612
|
* insignificant.
|
|
1497
1613
|
*
|
|
1498
1614
|
* Example: `name asc,update_time, create_time desc`
|
|
@@ -1545,15 +1661,15 @@ export declare class DlpServiceClient {
|
|
|
1545
1661
|
*
|
|
1546
1662
|
* parent=projects/example-project/locations/europe-west3
|
|
1547
1663
|
* @param {string} request.pageToken
|
|
1548
|
-
* Page token to continue retrieval. Comes from previous call
|
|
1664
|
+
* Page token to continue retrieval. Comes from the previous call
|
|
1549
1665
|
* to `ListDeidentifyTemplates`.
|
|
1550
1666
|
* @param {number} request.pageSize
|
|
1551
|
-
* Size of the page
|
|
1552
|
-
* a page of max size 100.
|
|
1667
|
+
* Size of the page. This value can be limited by the server. If zero server
|
|
1668
|
+
* returns a page of max size 100.
|
|
1553
1669
|
* @param {string} request.orderBy
|
|
1554
1670
|
* Comma separated list of fields to order by,
|
|
1555
|
-
* followed by `asc` or `desc` postfix. This list is case
|
|
1556
|
-
* default sorting order is ascending
|
|
1671
|
+
* followed by `asc` or `desc` postfix. This list is case insensitive. The
|
|
1672
|
+
* default sorting order is ascending. Redundant space characters are
|
|
1557
1673
|
* insignificant.
|
|
1558
1674
|
*
|
|
1559
1675
|
* Example: `name asc,update_time, create_time desc`
|
|
@@ -1603,15 +1719,15 @@ export declare class DlpServiceClient {
|
|
|
1603
1719
|
*
|
|
1604
1720
|
* parent=projects/example-project/locations/europe-west3
|
|
1605
1721
|
* @param {string} request.pageToken
|
|
1606
|
-
* Page token to continue retrieval. Comes from previous call
|
|
1722
|
+
* Page token to continue retrieval. Comes from the previous call
|
|
1607
1723
|
* to ListJobTriggers. `order_by` field must not
|
|
1608
1724
|
* change for subsequent calls.
|
|
1609
1725
|
* @param {number} request.pageSize
|
|
1610
|
-
* Size of the page
|
|
1726
|
+
* Size of the page. This value can be limited by a server.
|
|
1611
1727
|
* @param {string} request.orderBy
|
|
1612
1728
|
* Comma separated list of triggeredJob fields to order by,
|
|
1613
|
-
* followed by `asc` or `desc` postfix. This list is case
|
|
1614
|
-
* default sorting order is ascending
|
|
1729
|
+
* followed by `asc` or `desc` postfix. This list is case insensitive. The
|
|
1730
|
+
* default sorting order is ascending. Redundant space characters are
|
|
1615
1731
|
* insignificant.
|
|
1616
1732
|
*
|
|
1617
1733
|
* Example: `name asc,update_time, create_time desc`
|
|
@@ -1694,15 +1810,15 @@ export declare class DlpServiceClient {
|
|
|
1694
1810
|
*
|
|
1695
1811
|
* parent=projects/example-project/locations/europe-west3
|
|
1696
1812
|
* @param {string} request.pageToken
|
|
1697
|
-
* Page token to continue retrieval. Comes from previous call
|
|
1813
|
+
* Page token to continue retrieval. Comes from the previous call
|
|
1698
1814
|
* to ListJobTriggers. `order_by` field must not
|
|
1699
1815
|
* change for subsequent calls.
|
|
1700
1816
|
* @param {number} request.pageSize
|
|
1701
|
-
* Size of the page
|
|
1817
|
+
* Size of the page. This value can be limited by a server.
|
|
1702
1818
|
* @param {string} request.orderBy
|
|
1703
1819
|
* Comma separated list of triggeredJob fields to order by,
|
|
1704
|
-
* followed by `asc` or `desc` postfix. This list is case
|
|
1705
|
-
* default sorting order is ascending
|
|
1820
|
+
* followed by `asc` or `desc` postfix. This list is case insensitive. The
|
|
1821
|
+
* default sorting order is ascending. Redundant space characters are
|
|
1706
1822
|
* insignificant.
|
|
1707
1823
|
*
|
|
1708
1824
|
* Example: `name asc,update_time, create_time desc`
|
|
@@ -1780,15 +1896,15 @@ export declare class DlpServiceClient {
|
|
|
1780
1896
|
*
|
|
1781
1897
|
* parent=projects/example-project/locations/europe-west3
|
|
1782
1898
|
* @param {string} request.pageToken
|
|
1783
|
-
* Page token to continue retrieval. Comes from previous call
|
|
1899
|
+
* Page token to continue retrieval. Comes from the previous call
|
|
1784
1900
|
* to ListJobTriggers. `order_by` field must not
|
|
1785
1901
|
* change for subsequent calls.
|
|
1786
1902
|
* @param {number} request.pageSize
|
|
1787
|
-
* Size of the page
|
|
1903
|
+
* Size of the page. This value can be limited by a server.
|
|
1788
1904
|
* @param {string} request.orderBy
|
|
1789
1905
|
* Comma separated list of triggeredJob fields to order by,
|
|
1790
|
-
* followed by `asc` or `desc` postfix. This list is case
|
|
1791
|
-
* default sorting order is ascending
|
|
1906
|
+
* followed by `asc` or `desc` postfix. This list is case insensitive. The
|
|
1907
|
+
* default sorting order is ascending. Redundant space characters are
|
|
1792
1908
|
* insignificant.
|
|
1793
1909
|
*
|
|
1794
1910
|
* Example: `name asc,update_time, create_time desc`
|
|
@@ -1843,6 +1959,155 @@ export declare class DlpServiceClient {
|
|
|
1843
1959
|
* region_tag:dlp_v2_generated_DlpService_ListJobTriggers_async
|
|
1844
1960
|
*/
|
|
1845
1961
|
listJobTriggersAsync(request?: protos.google.privacy.dlp.v2.IListJobTriggersRequest, options?: CallOptions): AsyncIterable<protos.google.privacy.dlp.v2.IJobTrigger>;
|
|
1962
|
+
/**
|
|
1963
|
+
* Lists discovery configurations.
|
|
1964
|
+
*
|
|
1965
|
+
* @param {Object} request
|
|
1966
|
+
* The request object that will be sent.
|
|
1967
|
+
* @param {string} request.parent
|
|
1968
|
+
* Required. Parent resource name.
|
|
1969
|
+
*
|
|
1970
|
+
* The format of this value is as follows:
|
|
1971
|
+
* `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
|
1972
|
+
*
|
|
1973
|
+
* The following example `parent` string specifies a parent project with the
|
|
1974
|
+
* identifier `example-project`, and specifies the `europe-west3` location
|
|
1975
|
+
* for processing data:
|
|
1976
|
+
*
|
|
1977
|
+
* parent=projects/example-project/locations/europe-west3
|
|
1978
|
+
* @param {string} request.pageToken
|
|
1979
|
+
* Page token to continue retrieval. Comes from the previous call
|
|
1980
|
+
* to ListDiscoveryConfigs. `order_by` field must not
|
|
1981
|
+
* change for subsequent calls.
|
|
1982
|
+
* @param {number} request.pageSize
|
|
1983
|
+
* Size of the page. This value can be limited by a server.
|
|
1984
|
+
* @param {string} request.orderBy
|
|
1985
|
+
* Comma separated list of config fields to order by,
|
|
1986
|
+
* followed by `asc` or `desc` postfix. This list is case insensitive. The
|
|
1987
|
+
* default sorting order is ascending. Redundant space characters are
|
|
1988
|
+
* insignificant.
|
|
1989
|
+
*
|
|
1990
|
+
* Example: `name asc,update_time, create_time desc`
|
|
1991
|
+
*
|
|
1992
|
+
* Supported fields are:
|
|
1993
|
+
*
|
|
1994
|
+
* - `last_run_time`: corresponds to the last time the DiscoveryConfig ran.
|
|
1995
|
+
* - `name`: corresponds to the DiscoveryConfig's name.
|
|
1996
|
+
* - `status`: corresponds to DiscoveryConfig's status.
|
|
1997
|
+
* @param {object} [options]
|
|
1998
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
1999
|
+
* @returns {Promise} - The promise which resolves to an array.
|
|
2000
|
+
* The first element of the array is Array of {@link protos.google.privacy.dlp.v2.DiscoveryConfig|DiscoveryConfig}.
|
|
2001
|
+
* The client library will perform auto-pagination by default: it will call the API as many
|
|
2002
|
+
* times as needed and will merge results from all the pages into this array.
|
|
2003
|
+
* Note that it can affect your quota.
|
|
2004
|
+
* We recommend using `listDiscoveryConfigsAsync()`
|
|
2005
|
+
* method described below for async iteration which you can stop as needed.
|
|
2006
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
|
|
2007
|
+
* for more details and examples.
|
|
2008
|
+
*/
|
|
2009
|
+
listDiscoveryConfigs(request?: protos.google.privacy.dlp.v2.IListDiscoveryConfigsRequest, options?: CallOptions): Promise<[
|
|
2010
|
+
protos.google.privacy.dlp.v2.IDiscoveryConfig[],
|
|
2011
|
+
protos.google.privacy.dlp.v2.IListDiscoveryConfigsRequest | null,
|
|
2012
|
+
protos.google.privacy.dlp.v2.IListDiscoveryConfigsResponse
|
|
2013
|
+
]>;
|
|
2014
|
+
listDiscoveryConfigs(request: protos.google.privacy.dlp.v2.IListDiscoveryConfigsRequest, options: CallOptions, callback: PaginationCallback<protos.google.privacy.dlp.v2.IListDiscoveryConfigsRequest, protos.google.privacy.dlp.v2.IListDiscoveryConfigsResponse | null | undefined, protos.google.privacy.dlp.v2.IDiscoveryConfig>): void;
|
|
2015
|
+
listDiscoveryConfigs(request: protos.google.privacy.dlp.v2.IListDiscoveryConfigsRequest, callback: PaginationCallback<protos.google.privacy.dlp.v2.IListDiscoveryConfigsRequest, protos.google.privacy.dlp.v2.IListDiscoveryConfigsResponse | null | undefined, protos.google.privacy.dlp.v2.IDiscoveryConfig>): void;
|
|
2016
|
+
/**
|
|
2017
|
+
* Equivalent to `method.name.toCamelCase()`, but returns a NodeJS Stream object.
|
|
2018
|
+
* @param {Object} request
|
|
2019
|
+
* The request object that will be sent.
|
|
2020
|
+
* @param {string} request.parent
|
|
2021
|
+
* Required. Parent resource name.
|
|
2022
|
+
*
|
|
2023
|
+
* The format of this value is as follows:
|
|
2024
|
+
* `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
|
2025
|
+
*
|
|
2026
|
+
* The following example `parent` string specifies a parent project with the
|
|
2027
|
+
* identifier `example-project`, and specifies the `europe-west3` location
|
|
2028
|
+
* for processing data:
|
|
2029
|
+
*
|
|
2030
|
+
* parent=projects/example-project/locations/europe-west3
|
|
2031
|
+
* @param {string} request.pageToken
|
|
2032
|
+
* Page token to continue retrieval. Comes from the previous call
|
|
2033
|
+
* to ListDiscoveryConfigs. `order_by` field must not
|
|
2034
|
+
* change for subsequent calls.
|
|
2035
|
+
* @param {number} request.pageSize
|
|
2036
|
+
* Size of the page. This value can be limited by a server.
|
|
2037
|
+
* @param {string} request.orderBy
|
|
2038
|
+
* Comma separated list of config fields to order by,
|
|
2039
|
+
* followed by `asc` or `desc` postfix. This list is case insensitive. The
|
|
2040
|
+
* default sorting order is ascending. Redundant space characters are
|
|
2041
|
+
* insignificant.
|
|
2042
|
+
*
|
|
2043
|
+
* Example: `name asc,update_time, create_time desc`
|
|
2044
|
+
*
|
|
2045
|
+
* Supported fields are:
|
|
2046
|
+
*
|
|
2047
|
+
* - `last_run_time`: corresponds to the last time the DiscoveryConfig ran.
|
|
2048
|
+
* - `name`: corresponds to the DiscoveryConfig's name.
|
|
2049
|
+
* - `status`: corresponds to DiscoveryConfig's status.
|
|
2050
|
+
* @param {object} [options]
|
|
2051
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
2052
|
+
* @returns {Stream}
|
|
2053
|
+
* An object stream which emits an object representing {@link protos.google.privacy.dlp.v2.DiscoveryConfig|DiscoveryConfig} on 'data' event.
|
|
2054
|
+
* The client library will perform auto-pagination by default: it will call the API as many
|
|
2055
|
+
* times as needed. Note that it can affect your quota.
|
|
2056
|
+
* We recommend using `listDiscoveryConfigsAsync()`
|
|
2057
|
+
* method described below for async iteration which you can stop as needed.
|
|
2058
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
|
|
2059
|
+
* for more details and examples.
|
|
2060
|
+
*/
|
|
2061
|
+
listDiscoveryConfigsStream(request?: protos.google.privacy.dlp.v2.IListDiscoveryConfigsRequest, options?: CallOptions): Transform;
|
|
2062
|
+
/**
|
|
2063
|
+
* Equivalent to `listDiscoveryConfigs`, but returns an iterable object.
|
|
2064
|
+
*
|
|
2065
|
+
* `for`-`await`-`of` syntax is used with the iterable to get response elements on-demand.
|
|
2066
|
+
* @param {Object} request
|
|
2067
|
+
* The request object that will be sent.
|
|
2068
|
+
* @param {string} request.parent
|
|
2069
|
+
* Required. Parent resource name.
|
|
2070
|
+
*
|
|
2071
|
+
* The format of this value is as follows:
|
|
2072
|
+
* `projects/`<var>PROJECT_ID</var>`/locations/`<var>LOCATION_ID</var>
|
|
2073
|
+
*
|
|
2074
|
+
* The following example `parent` string specifies a parent project with the
|
|
2075
|
+
* identifier `example-project`, and specifies the `europe-west3` location
|
|
2076
|
+
* for processing data:
|
|
2077
|
+
*
|
|
2078
|
+
* parent=projects/example-project/locations/europe-west3
|
|
2079
|
+
* @param {string} request.pageToken
|
|
2080
|
+
* Page token to continue retrieval. Comes from the previous call
|
|
2081
|
+
* to ListDiscoveryConfigs. `order_by` field must not
|
|
2082
|
+
* change for subsequent calls.
|
|
2083
|
+
* @param {number} request.pageSize
|
|
2084
|
+
* Size of the page. This value can be limited by a server.
|
|
2085
|
+
* @param {string} request.orderBy
|
|
2086
|
+
* Comma separated list of config fields to order by,
|
|
2087
|
+
* followed by `asc` or `desc` postfix. This list is case insensitive. The
|
|
2088
|
+
* default sorting order is ascending. Redundant space characters are
|
|
2089
|
+
* insignificant.
|
|
2090
|
+
*
|
|
2091
|
+
* Example: `name asc,update_time, create_time desc`
|
|
2092
|
+
*
|
|
2093
|
+
* Supported fields are:
|
|
2094
|
+
*
|
|
2095
|
+
* - `last_run_time`: corresponds to the last time the DiscoveryConfig ran.
|
|
2096
|
+
* - `name`: corresponds to the DiscoveryConfig's name.
|
|
2097
|
+
* - `status`: corresponds to DiscoveryConfig's status.
|
|
2098
|
+
* @param {object} [options]
|
|
2099
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
2100
|
+
* @returns {Object}
|
|
2101
|
+
* An iterable Object that allows {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | async iteration }.
|
|
2102
|
+
* When you iterate the returned iterable, each element will be an object representing
|
|
2103
|
+
* {@link protos.google.privacy.dlp.v2.DiscoveryConfig|DiscoveryConfig}. The API will be called under the hood as needed, once per the page,
|
|
2104
|
+
* so you can stop the iteration when you don't need more results.
|
|
2105
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#auto-pagination | documentation }
|
|
2106
|
+
* for more details and examples.
|
|
2107
|
+
* @example <caption>include:samples/generated/v2/dlp_service.list_discovery_configs.js</caption>
|
|
2108
|
+
* region_tag:dlp_v2_generated_DlpService_ListDiscoveryConfigs_async
|
|
2109
|
+
*/
|
|
2110
|
+
listDiscoveryConfigsAsync(request?: protos.google.privacy.dlp.v2.IListDiscoveryConfigsRequest, options?: CallOptions): AsyncIterable<protos.google.privacy.dlp.v2.IDiscoveryConfig>;
|
|
1846
2111
|
/**
|
|
1847
2112
|
* Lists DlpJobs that match the specified filter in the request.
|
|
1848
2113
|
* See https://cloud.google.com/dlp/docs/inspecting-storage and
|
|
@@ -1904,8 +2169,8 @@ export declare class DlpServiceClient {
|
|
|
1904
2169
|
* The type of job. Defaults to `DlpJobType.INSPECT`
|
|
1905
2170
|
* @param {string} request.orderBy
|
|
1906
2171
|
* Comma separated list of fields to order by,
|
|
1907
|
-
* followed by `asc` or `desc` postfix. This list is case
|
|
1908
|
-
* default sorting order is ascending
|
|
2172
|
+
* followed by `asc` or `desc` postfix. This list is case insensitive. The
|
|
2173
|
+
* default sorting order is ascending. Redundant space characters are
|
|
1909
2174
|
* insignificant.
|
|
1910
2175
|
*
|
|
1911
2176
|
* Example: `name asc, end_time asc, create_time desc`
|
|
@@ -1995,8 +2260,8 @@ export declare class DlpServiceClient {
|
|
|
1995
2260
|
* The type of job. Defaults to `DlpJobType.INSPECT`
|
|
1996
2261
|
* @param {string} request.orderBy
|
|
1997
2262
|
* Comma separated list of fields to order by,
|
|
1998
|
-
* followed by `asc` or `desc` postfix. This list is case
|
|
1999
|
-
* default sorting order is ascending
|
|
2263
|
+
* followed by `asc` or `desc` postfix. This list is case insensitive. The
|
|
2264
|
+
* default sorting order is ascending. Redundant space characters are
|
|
2000
2265
|
* insignificant.
|
|
2001
2266
|
*
|
|
2002
2267
|
* Example: `name asc, end_time asc, create_time desc`
|
|
@@ -2081,8 +2346,8 @@ export declare class DlpServiceClient {
|
|
|
2081
2346
|
* The type of job. Defaults to `DlpJobType.INSPECT`
|
|
2082
2347
|
* @param {string} request.orderBy
|
|
2083
2348
|
* Comma separated list of fields to order by,
|
|
2084
|
-
* followed by `asc` or `desc` postfix. This list is case
|
|
2085
|
-
* default sorting order is ascending
|
|
2349
|
+
* followed by `asc` or `desc` postfix. This list is case insensitive. The
|
|
2350
|
+
* default sorting order is ascending. Redundant space characters are
|
|
2086
2351
|
* insignificant.
|
|
2087
2352
|
*
|
|
2088
2353
|
* Example: `name asc, end_time asc, create_time desc`
|
|
@@ -2133,15 +2398,15 @@ export declare class DlpServiceClient {
|
|
|
2133
2398
|
*
|
|
2134
2399
|
* parent=projects/example-project/locations/europe-west3
|
|
2135
2400
|
* @param {string} request.pageToken
|
|
2136
|
-
* Page token to continue retrieval. Comes from previous call
|
|
2401
|
+
* Page token to continue retrieval. Comes from the previous call
|
|
2137
2402
|
* to `ListStoredInfoTypes`.
|
|
2138
2403
|
* @param {number} request.pageSize
|
|
2139
|
-
* Size of the page
|
|
2140
|
-
* a page of max size 100.
|
|
2404
|
+
* Size of the page. This value can be limited by the server. If zero server
|
|
2405
|
+
* returns a page of max size 100.
|
|
2141
2406
|
* @param {string} request.orderBy
|
|
2142
2407
|
* Comma separated list of fields to order by,
|
|
2143
|
-
* followed by `asc` or `desc` postfix. This list is case
|
|
2144
|
-
* default sorting order is ascending
|
|
2408
|
+
* followed by `asc` or `desc` postfix. This list is case insensitive. The
|
|
2409
|
+
* default sorting order is ascending. Redundant space characters are
|
|
2145
2410
|
* insignificant.
|
|
2146
2411
|
*
|
|
2147
2412
|
* Example: `name asc, display_name, create_time desc`
|
|
@@ -2196,15 +2461,15 @@ export declare class DlpServiceClient {
|
|
|
2196
2461
|
*
|
|
2197
2462
|
* parent=projects/example-project/locations/europe-west3
|
|
2198
2463
|
* @param {string} request.pageToken
|
|
2199
|
-
* Page token to continue retrieval. Comes from previous call
|
|
2464
|
+
* Page token to continue retrieval. Comes from the previous call
|
|
2200
2465
|
* to `ListStoredInfoTypes`.
|
|
2201
2466
|
* @param {number} request.pageSize
|
|
2202
|
-
* Size of the page
|
|
2203
|
-
* a page of max size 100.
|
|
2467
|
+
* Size of the page. This value can be limited by the server. If zero server
|
|
2468
|
+
* returns a page of max size 100.
|
|
2204
2469
|
* @param {string} request.orderBy
|
|
2205
2470
|
* Comma separated list of fields to order by,
|
|
2206
|
-
* followed by `asc` or `desc` postfix. This list is case
|
|
2207
|
-
* default sorting order is ascending
|
|
2471
|
+
* followed by `asc` or `desc` postfix. This list is case insensitive. The
|
|
2472
|
+
* default sorting order is ascending. Redundant space characters are
|
|
2208
2473
|
* insignificant.
|
|
2209
2474
|
*
|
|
2210
2475
|
* Example: `name asc, display_name, create_time desc`
|
|
@@ -2254,15 +2519,15 @@ export declare class DlpServiceClient {
|
|
|
2254
2519
|
*
|
|
2255
2520
|
* parent=projects/example-project/locations/europe-west3
|
|
2256
2521
|
* @param {string} request.pageToken
|
|
2257
|
-
* Page token to continue retrieval. Comes from previous call
|
|
2522
|
+
* Page token to continue retrieval. Comes from the previous call
|
|
2258
2523
|
* to `ListStoredInfoTypes`.
|
|
2259
2524
|
* @param {number} request.pageSize
|
|
2260
|
-
* Size of the page
|
|
2261
|
-
* a page of max size 100.
|
|
2525
|
+
* Size of the page. This value can be limited by the server. If zero server
|
|
2526
|
+
* returns a page of max size 100.
|
|
2262
2527
|
* @param {string} request.orderBy
|
|
2263
2528
|
* Comma separated list of fields to order by,
|
|
2264
|
-
* followed by `asc` or `desc` postfix. This list is case
|
|
2265
|
-
* default sorting order is ascending
|
|
2529
|
+
* followed by `asc` or `desc` postfix. This list is case insensitive. The
|
|
2530
|
+
* default sorting order is ascending. Redundant space characters are
|
|
2266
2531
|
* insignificant.
|
|
2267
2532
|
*
|
|
2268
2533
|
* Example: `name asc, display_name, create_time desc`
|
|
@@ -2340,6 +2605,39 @@ export declare class DlpServiceClient {
|
|
|
2340
2605
|
* ```
|
|
2341
2606
|
*/
|
|
2342
2607
|
listLocationsAsync(request: LocationProtos.google.cloud.location.IListLocationsRequest, options?: CallOptions): AsyncIterable<LocationProtos.google.cloud.location.ILocation>;
|
|
2608
|
+
/**
|
|
2609
|
+
* Return a fully-qualified discoveryConfig resource name string.
|
|
2610
|
+
*
|
|
2611
|
+
* @param {string} project
|
|
2612
|
+
* @param {string} location
|
|
2613
|
+
* @param {string} discovery_config
|
|
2614
|
+
* @returns {string} Resource name string.
|
|
2615
|
+
*/
|
|
2616
|
+
discoveryConfigPath(project: string, location: string, discoveryConfig: string): string;
|
|
2617
|
+
/**
|
|
2618
|
+
* Parse the project from DiscoveryConfig resource.
|
|
2619
|
+
*
|
|
2620
|
+
* @param {string} discoveryConfigName
|
|
2621
|
+
* A fully-qualified path representing DiscoveryConfig resource.
|
|
2622
|
+
* @returns {string} A string representing the project.
|
|
2623
|
+
*/
|
|
2624
|
+
matchProjectFromDiscoveryConfigName(discoveryConfigName: string): string | number;
|
|
2625
|
+
/**
|
|
2626
|
+
* Parse the location from DiscoveryConfig resource.
|
|
2627
|
+
*
|
|
2628
|
+
* @param {string} discoveryConfigName
|
|
2629
|
+
* A fully-qualified path representing DiscoveryConfig resource.
|
|
2630
|
+
* @returns {string} A string representing the location.
|
|
2631
|
+
*/
|
|
2632
|
+
matchLocationFromDiscoveryConfigName(discoveryConfigName: string): string | number;
|
|
2633
|
+
/**
|
|
2634
|
+
* Parse the discovery_config from DiscoveryConfig resource.
|
|
2635
|
+
*
|
|
2636
|
+
* @param {string} discoveryConfigName
|
|
2637
|
+
* A fully-qualified path representing DiscoveryConfig resource.
|
|
2638
|
+
* @returns {string} A string representing the discovery_config.
|
|
2639
|
+
*/
|
|
2640
|
+
matchDiscoveryConfigFromDiscoveryConfigName(discoveryConfigName: string): string | number;
|
|
2343
2641
|
/**
|
|
2344
2642
|
* Return a fully-qualified finding resource name string.
|
|
2345
2643
|
*
|
|
@@ -2373,6 +2671,30 @@ export declare class DlpServiceClient {
|
|
|
2373
2671
|
* @returns {string} A string representing the finding.
|
|
2374
2672
|
*/
|
|
2375
2673
|
matchFindingFromFindingName(findingName: string): string | number;
|
|
2674
|
+
/**
|
|
2675
|
+
* Return a fully-qualified location resource name string.
|
|
2676
|
+
*
|
|
2677
|
+
* @param {string} project
|
|
2678
|
+
* @param {string} location
|
|
2679
|
+
* @returns {string} Resource name string.
|
|
2680
|
+
*/
|
|
2681
|
+
locationPath(project: string, location: string): string;
|
|
2682
|
+
/**
|
|
2683
|
+
* Parse the project from Location resource.
|
|
2684
|
+
*
|
|
2685
|
+
* @param {string} locationName
|
|
2686
|
+
* A fully-qualified path representing Location resource.
|
|
2687
|
+
* @returns {string} A string representing the project.
|
|
2688
|
+
*/
|
|
2689
|
+
matchProjectFromLocationName(locationName: string): string | number;
|
|
2690
|
+
/**
|
|
2691
|
+
* Parse the location from Location resource.
|
|
2692
|
+
*
|
|
2693
|
+
* @param {string} locationName
|
|
2694
|
+
* A fully-qualified path representing Location resource.
|
|
2695
|
+
* @returns {string} A string representing the location.
|
|
2696
|
+
*/
|
|
2697
|
+
matchLocationFromLocationName(locationName: string): string | number;
|
|
2376
2698
|
/**
|
|
2377
2699
|
* Return a fully-qualified organization resource name string.
|
|
2378
2700
|
*
|