@google-cloud/dlp 6.4.0 → 6.5.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 +83 -167
- package/build/protos/google/privacy/dlp/v2/dlp.proto +178 -55
- package/build/protos/protos.d.ts +330 -520
- package/build/protos/protos.js +1031 -1904
- package/build/protos/protos.json +83 -194
- package/build/src/v2/dlp_service_client.d.ts +242 -126
- package/build/src/v2/dlp_service_client.js +150 -84
- package/package.json +1 -1
|
@@ -225,6 +225,23 @@ export declare class DlpServiceClient {
|
|
|
225
225
|
* image.
|
|
226
226
|
* @param {google.privacy.dlp.v2.ByteContentItem} request.byteItem
|
|
227
227
|
* The content must be PNG, JPEG, SVG or BMP.
|
|
228
|
+
* @param {string} request.inspectTemplate
|
|
229
|
+
* The full resource name of the inspection template to use. Settings in the
|
|
230
|
+
* main `inspect_config` field override the corresponding settings in this
|
|
231
|
+
* inspection template.
|
|
232
|
+
*
|
|
233
|
+
* The merge behavior is as follows:
|
|
234
|
+
*
|
|
235
|
+
* - Singular field: The main field's value replaces the value of the
|
|
236
|
+
* corresponding field in the template.
|
|
237
|
+
* - Repeated fields: The field values are appended to the list defined in
|
|
238
|
+
* the template.
|
|
239
|
+
* - Sub-messages and groups: The fields are recursively merged.
|
|
240
|
+
* @param {string} request.deidentifyTemplate
|
|
241
|
+
* The full resource name of the de-identification template to use. Settings
|
|
242
|
+
* in the main `image_redaction_configs` field override the corresponding
|
|
243
|
+
* settings in this de-identification template. The request fails if the
|
|
244
|
+
* type of the template's deidentify_config is not image_transformations.
|
|
228
245
|
* @param {object} [options]
|
|
229
246
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
230
247
|
* @returns {Promise} - The promise which resolves to an array.
|
|
@@ -2069,6 +2086,8 @@ export declare class DlpServiceClient {
|
|
|
2069
2086
|
* - 'error_count' - Number of errors that have occurred while running.
|
|
2070
2087
|
* * The operator must be `=` or `!=` for status and inspected_storage.
|
|
2071
2088
|
*
|
|
2089
|
+
* The syntax is based on https://google.aip.dev/160.
|
|
2090
|
+
*
|
|
2072
2091
|
* Examples:
|
|
2073
2092
|
*
|
|
2074
2093
|
* * inspected_storage = cloud_storage AND status = HEALTHY
|
|
@@ -2160,6 +2179,8 @@ export declare class DlpServiceClient {
|
|
|
2160
2179
|
* - 'error_count' - Number of errors that have occurred while running.
|
|
2161
2180
|
* * The operator must be `=` or `!=` for status and inspected_storage.
|
|
2162
2181
|
*
|
|
2182
|
+
* The syntax is based on https://google.aip.dev/160.
|
|
2183
|
+
*
|
|
2163
2184
|
* Examples:
|
|
2164
2185
|
*
|
|
2165
2186
|
* * inspected_storage = cloud_storage AND status = HEALTHY
|
|
@@ -2246,6 +2267,8 @@ export declare class DlpServiceClient {
|
|
|
2246
2267
|
* - 'error_count' - Number of errors that have occurred while running.
|
|
2247
2268
|
* * The operator must be `=` or `!=` for status and inspected_storage.
|
|
2248
2269
|
*
|
|
2270
|
+
* The syntax is based on https://google.aip.dev/160.
|
|
2271
|
+
*
|
|
2249
2272
|
* Examples:
|
|
2250
2273
|
*
|
|
2251
2274
|
* * inspected_storage = cloud_storage AND status = HEALTHY
|
|
@@ -2468,6 +2491,8 @@ export declare class DlpServiceClient {
|
|
|
2468
2491
|
* - 'start_time` - Corresponds to the time the job finished.
|
|
2469
2492
|
* * The operator must be `=` or `!=`.
|
|
2470
2493
|
*
|
|
2494
|
+
* The syntax is based on https://google.aip.dev/160.
|
|
2495
|
+
*
|
|
2471
2496
|
* Examples:
|
|
2472
2497
|
*
|
|
2473
2498
|
* * inspected_storage = cloud_storage AND state = done
|
|
@@ -2559,6 +2584,8 @@ export declare class DlpServiceClient {
|
|
|
2559
2584
|
* - 'start_time` - Corresponds to the time the job finished.
|
|
2560
2585
|
* * The operator must be `=` or `!=`.
|
|
2561
2586
|
*
|
|
2587
|
+
* The syntax is based on https://google.aip.dev/160.
|
|
2588
|
+
*
|
|
2562
2589
|
* Examples:
|
|
2563
2590
|
*
|
|
2564
2591
|
* * inspected_storage = cloud_storage AND state = done
|
|
@@ -2645,6 +2672,8 @@ export declare class DlpServiceClient {
|
|
|
2645
2672
|
* - 'start_time` - Corresponds to the time the job finished.
|
|
2646
2673
|
* * The operator must be `=` or `!=`.
|
|
2647
2674
|
*
|
|
2675
|
+
* The syntax is based on https://google.aip.dev/160.
|
|
2676
|
+
*
|
|
2648
2677
|
* Examples:
|
|
2649
2678
|
*
|
|
2650
2679
|
* * inspected_storage = cloud_storage AND state = done
|
|
@@ -2892,13 +2921,13 @@ export declare class DlpServiceClient {
|
|
|
2892
2921
|
* * `project_id`
|
|
2893
2922
|
* * `sensitivity_level desc`
|
|
2894
2923
|
*
|
|
2895
|
-
* Supported fields
|
|
2924
|
+
* Supported fields:
|
|
2896
2925
|
*
|
|
2897
2926
|
* - `project_id`: Google Cloud project ID
|
|
2898
|
-
* - `sensitivity_level`: How sensitive the data in a project is, at most
|
|
2899
|
-
* - `data_risk_level`: How much risk is associated with this data
|
|
2900
|
-
* - `profile_last_generated`:
|
|
2901
|
-
*
|
|
2927
|
+
* - `sensitivity_level`: How sensitive the data in a project is, at most
|
|
2928
|
+
* - `data_risk_level`: How much risk is associated with this data
|
|
2929
|
+
* - `profile_last_generated`: Date and time (in epoch seconds) the profile
|
|
2930
|
+
* was last generated
|
|
2902
2931
|
* @param {string} request.filter
|
|
2903
2932
|
* Allows filtering.
|
|
2904
2933
|
*
|
|
@@ -2908,17 +2937,24 @@ export declare class DlpServiceClient {
|
|
|
2908
2937
|
* * Restrictions can be combined by `AND` or `OR` logical operators. A
|
|
2909
2938
|
* sequence of restrictions implicitly uses `AND`.
|
|
2910
2939
|
* * A restriction has the form of `{field} {operator} {value}`.
|
|
2911
|
-
* * Supported fields
|
|
2912
|
-
* - `
|
|
2913
|
-
* - `
|
|
2914
|
-
* - `
|
|
2940
|
+
* * Supported fields:
|
|
2941
|
+
* - `project_id`: the Google Cloud project ID
|
|
2942
|
+
* - `sensitivity_level`: HIGH|MODERATE|LOW
|
|
2943
|
+
* - `data_risk_level`: HIGH|MODERATE|LOW
|
|
2944
|
+
* - `status_code`: an RPC status code as defined in
|
|
2915
2945
|
* https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
|
|
2916
|
-
*
|
|
2946
|
+
* - `profile_last_generated`: Date and time the profile was last
|
|
2947
|
+
* generated
|
|
2948
|
+
* * The operator must be `=` or `!=`. The `profile_last_generated` filter
|
|
2949
|
+
* also supports `<` and `>`.
|
|
2950
|
+
*
|
|
2951
|
+
* The syntax is based on https://google.aip.dev/160.
|
|
2917
2952
|
*
|
|
2918
2953
|
* Examples:
|
|
2919
2954
|
*
|
|
2920
2955
|
* * `project_id = 12345 AND status_code = 1`
|
|
2921
2956
|
* * `project_id = 12345 AND sensitivity_level = HIGH`
|
|
2957
|
+
* * `profile_last_generated < "2025-01-01T00:00:00.000Z"`
|
|
2922
2958
|
*
|
|
2923
2959
|
* The length of this field should be no more than 500 characters.
|
|
2924
2960
|
* @param {object} [options]
|
|
@@ -2961,13 +2997,13 @@ export declare class DlpServiceClient {
|
|
|
2961
2997
|
* * `project_id`
|
|
2962
2998
|
* * `sensitivity_level desc`
|
|
2963
2999
|
*
|
|
2964
|
-
* Supported fields
|
|
3000
|
+
* Supported fields:
|
|
2965
3001
|
*
|
|
2966
3002
|
* - `project_id`: Google Cloud project ID
|
|
2967
|
-
* - `sensitivity_level`: How sensitive the data in a project is, at most
|
|
2968
|
-
* - `data_risk_level`: How much risk is associated with this data
|
|
2969
|
-
* - `profile_last_generated`:
|
|
2970
|
-
*
|
|
3003
|
+
* - `sensitivity_level`: How sensitive the data in a project is, at most
|
|
3004
|
+
* - `data_risk_level`: How much risk is associated with this data
|
|
3005
|
+
* - `profile_last_generated`: Date and time (in epoch seconds) the profile
|
|
3006
|
+
* was last generated
|
|
2971
3007
|
* @param {string} request.filter
|
|
2972
3008
|
* Allows filtering.
|
|
2973
3009
|
*
|
|
@@ -2977,17 +3013,24 @@ export declare class DlpServiceClient {
|
|
|
2977
3013
|
* * Restrictions can be combined by `AND` or `OR` logical operators. A
|
|
2978
3014
|
* sequence of restrictions implicitly uses `AND`.
|
|
2979
3015
|
* * A restriction has the form of `{field} {operator} {value}`.
|
|
2980
|
-
* * Supported fields
|
|
2981
|
-
* - `
|
|
2982
|
-
* - `
|
|
2983
|
-
* - `
|
|
3016
|
+
* * Supported fields:
|
|
3017
|
+
* - `project_id`: the Google Cloud project ID
|
|
3018
|
+
* - `sensitivity_level`: HIGH|MODERATE|LOW
|
|
3019
|
+
* - `data_risk_level`: HIGH|MODERATE|LOW
|
|
3020
|
+
* - `status_code`: an RPC status code as defined in
|
|
2984
3021
|
* https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
|
|
2985
|
-
*
|
|
3022
|
+
* - `profile_last_generated`: Date and time the profile was last
|
|
3023
|
+
* generated
|
|
3024
|
+
* * The operator must be `=` or `!=`. The `profile_last_generated` filter
|
|
3025
|
+
* also supports `<` and `>`.
|
|
3026
|
+
*
|
|
3027
|
+
* The syntax is based on https://google.aip.dev/160.
|
|
2986
3028
|
*
|
|
2987
3029
|
* Examples:
|
|
2988
3030
|
*
|
|
2989
3031
|
* * `project_id = 12345 AND status_code = 1`
|
|
2990
3032
|
* * `project_id = 12345 AND sensitivity_level = HIGH`
|
|
3033
|
+
* * `profile_last_generated < "2025-01-01T00:00:00.000Z"`
|
|
2991
3034
|
*
|
|
2992
3035
|
* The length of this field should be no more than 500 characters.
|
|
2993
3036
|
* @param {object} [options]
|
|
@@ -3025,13 +3068,13 @@ export declare class DlpServiceClient {
|
|
|
3025
3068
|
* * `project_id`
|
|
3026
3069
|
* * `sensitivity_level desc`
|
|
3027
3070
|
*
|
|
3028
|
-
* Supported fields
|
|
3071
|
+
* Supported fields:
|
|
3029
3072
|
*
|
|
3030
3073
|
* - `project_id`: Google Cloud project ID
|
|
3031
|
-
* - `sensitivity_level`: How sensitive the data in a project is, at most
|
|
3032
|
-
* - `data_risk_level`: How much risk is associated with this data
|
|
3033
|
-
* - `profile_last_generated`:
|
|
3034
|
-
*
|
|
3074
|
+
* - `sensitivity_level`: How sensitive the data in a project is, at most
|
|
3075
|
+
* - `data_risk_level`: How much risk is associated with this data
|
|
3076
|
+
* - `profile_last_generated`: Date and time (in epoch seconds) the profile
|
|
3077
|
+
* was last generated
|
|
3035
3078
|
* @param {string} request.filter
|
|
3036
3079
|
* Allows filtering.
|
|
3037
3080
|
*
|
|
@@ -3041,17 +3084,24 @@ export declare class DlpServiceClient {
|
|
|
3041
3084
|
* * Restrictions can be combined by `AND` or `OR` logical operators. A
|
|
3042
3085
|
* sequence of restrictions implicitly uses `AND`.
|
|
3043
3086
|
* * A restriction has the form of `{field} {operator} {value}`.
|
|
3044
|
-
* * Supported fields
|
|
3045
|
-
* - `
|
|
3046
|
-
* - `
|
|
3047
|
-
* - `
|
|
3087
|
+
* * Supported fields:
|
|
3088
|
+
* - `project_id`: the Google Cloud project ID
|
|
3089
|
+
* - `sensitivity_level`: HIGH|MODERATE|LOW
|
|
3090
|
+
* - `data_risk_level`: HIGH|MODERATE|LOW
|
|
3091
|
+
* - `status_code`: an RPC status code as defined in
|
|
3048
3092
|
* https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
|
|
3049
|
-
*
|
|
3093
|
+
* - `profile_last_generated`: Date and time the profile was last
|
|
3094
|
+
* generated
|
|
3095
|
+
* * The operator must be `=` or `!=`. The `profile_last_generated` filter
|
|
3096
|
+
* also supports `<` and `>`.
|
|
3097
|
+
*
|
|
3098
|
+
* The syntax is based on https://google.aip.dev/160.
|
|
3050
3099
|
*
|
|
3051
3100
|
* Examples:
|
|
3052
3101
|
*
|
|
3053
3102
|
* * `project_id = 12345 AND status_code = 1`
|
|
3054
3103
|
* * `project_id = 12345 AND sensitivity_level = HIGH`
|
|
3104
|
+
* * `profile_last_generated < "2025-01-01T00:00:00.000Z"`
|
|
3055
3105
|
*
|
|
3056
3106
|
* The length of this field should be no more than 500 characters.
|
|
3057
3107
|
* @param {object} [options]
|
|
@@ -3113,23 +3163,29 @@ export declare class DlpServiceClient {
|
|
|
3113
3163
|
* * Restrictions can be combined by `AND` or `OR` logical operators. A
|
|
3114
3164
|
* sequence of restrictions implicitly uses `AND`.
|
|
3115
3165
|
* * A restriction has the form of `{field} {operator} {value}`.
|
|
3116
|
-
* * Supported fields
|
|
3117
|
-
* - `project_id
|
|
3118
|
-
* - `dataset_id
|
|
3119
|
-
* - `table_id
|
|
3120
|
-
* - `sensitivity_level
|
|
3121
|
-
* - `data_risk_level
|
|
3166
|
+
* * Supported fields:
|
|
3167
|
+
* - `project_id`: The Google Cloud project ID
|
|
3168
|
+
* - `dataset_id`: The BigQuery dataset ID
|
|
3169
|
+
* - `table_id`: The ID of the BigQuery table
|
|
3170
|
+
* - `sensitivity_level`: HIGH|MODERATE|LOW
|
|
3171
|
+
* - `data_risk_level`: HIGH|MODERATE|LOW
|
|
3122
3172
|
* - `resource_visibility`: PUBLIC|RESTRICTED
|
|
3123
|
-
* - `status_code
|
|
3173
|
+
* - `status_code`: an RPC status code as defined in
|
|
3124
3174
|
* https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
|
|
3175
|
+
* - `profile_last_generated`: Date and time the profile was last
|
|
3176
|
+
* generated
|
|
3125
3177
|
*
|
|
3126
|
-
* * The operator must be `=` or `!=`.
|
|
3178
|
+
* * The operator must be `=` or `!=`. The `profile_last_generated` filter
|
|
3179
|
+
* also supports `<` and `>`.
|
|
3180
|
+
*
|
|
3181
|
+
* The syntax is based on https://google.aip.dev/160.
|
|
3127
3182
|
*
|
|
3128
3183
|
* Examples:
|
|
3129
3184
|
*
|
|
3130
3185
|
* * `project_id = 12345 AND status_code = 1`
|
|
3131
3186
|
* * `project_id = 12345 AND sensitivity_level = HIGH`
|
|
3132
3187
|
* * `project_id = 12345 AND resource_visibility = PUBLIC`
|
|
3188
|
+
* * `profile_last_generated < "2025-01-01T00:00:00.000Z"`
|
|
3133
3189
|
*
|
|
3134
3190
|
* The length of this field should be no more than 500 characters.
|
|
3135
3191
|
* @param {object} [options]
|
|
@@ -3196,23 +3252,29 @@ export declare class DlpServiceClient {
|
|
|
3196
3252
|
* * Restrictions can be combined by `AND` or `OR` logical operators. A
|
|
3197
3253
|
* sequence of restrictions implicitly uses `AND`.
|
|
3198
3254
|
* * A restriction has the form of `{field} {operator} {value}`.
|
|
3199
|
-
* * Supported fields
|
|
3200
|
-
* - `project_id
|
|
3201
|
-
* - `dataset_id
|
|
3202
|
-
* - `table_id
|
|
3203
|
-
* - `sensitivity_level
|
|
3204
|
-
* - `data_risk_level
|
|
3255
|
+
* * Supported fields:
|
|
3256
|
+
* - `project_id`: The Google Cloud project ID
|
|
3257
|
+
* - `dataset_id`: The BigQuery dataset ID
|
|
3258
|
+
* - `table_id`: The ID of the BigQuery table
|
|
3259
|
+
* - `sensitivity_level`: HIGH|MODERATE|LOW
|
|
3260
|
+
* - `data_risk_level`: HIGH|MODERATE|LOW
|
|
3205
3261
|
* - `resource_visibility`: PUBLIC|RESTRICTED
|
|
3206
|
-
* - `status_code
|
|
3262
|
+
* - `status_code`: an RPC status code as defined in
|
|
3207
3263
|
* https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
|
|
3264
|
+
* - `profile_last_generated`: Date and time the profile was last
|
|
3265
|
+
* generated
|
|
3208
3266
|
*
|
|
3209
|
-
* * The operator must be `=` or `!=`.
|
|
3267
|
+
* * The operator must be `=` or `!=`. The `profile_last_generated` filter
|
|
3268
|
+
* also supports `<` and `>`.
|
|
3269
|
+
*
|
|
3270
|
+
* The syntax is based on https://google.aip.dev/160.
|
|
3210
3271
|
*
|
|
3211
3272
|
* Examples:
|
|
3212
3273
|
*
|
|
3213
3274
|
* * `project_id = 12345 AND status_code = 1`
|
|
3214
3275
|
* * `project_id = 12345 AND sensitivity_level = HIGH`
|
|
3215
3276
|
* * `project_id = 12345 AND resource_visibility = PUBLIC`
|
|
3277
|
+
* * `profile_last_generated < "2025-01-01T00:00:00.000Z"`
|
|
3216
3278
|
*
|
|
3217
3279
|
* The length of this field should be no more than 500 characters.
|
|
3218
3280
|
* @param {object} [options]
|
|
@@ -3274,23 +3336,29 @@ export declare class DlpServiceClient {
|
|
|
3274
3336
|
* * Restrictions can be combined by `AND` or `OR` logical operators. A
|
|
3275
3337
|
* sequence of restrictions implicitly uses `AND`.
|
|
3276
3338
|
* * A restriction has the form of `{field} {operator} {value}`.
|
|
3277
|
-
* * Supported fields
|
|
3278
|
-
* - `project_id
|
|
3279
|
-
* - `dataset_id
|
|
3280
|
-
* - `table_id
|
|
3281
|
-
* - `sensitivity_level
|
|
3282
|
-
* - `data_risk_level
|
|
3339
|
+
* * Supported fields:
|
|
3340
|
+
* - `project_id`: The Google Cloud project ID
|
|
3341
|
+
* - `dataset_id`: The BigQuery dataset ID
|
|
3342
|
+
* - `table_id`: The ID of the BigQuery table
|
|
3343
|
+
* - `sensitivity_level`: HIGH|MODERATE|LOW
|
|
3344
|
+
* - `data_risk_level`: HIGH|MODERATE|LOW
|
|
3283
3345
|
* - `resource_visibility`: PUBLIC|RESTRICTED
|
|
3284
|
-
* - `status_code
|
|
3346
|
+
* - `status_code`: an RPC status code as defined in
|
|
3285
3347
|
* https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
|
|
3348
|
+
* - `profile_last_generated`: Date and time the profile was last
|
|
3349
|
+
* generated
|
|
3286
3350
|
*
|
|
3287
|
-
* * The operator must be `=` or `!=`.
|
|
3351
|
+
* * The operator must be `=` or `!=`. The `profile_last_generated` filter
|
|
3352
|
+
* also supports `<` and `>`.
|
|
3353
|
+
*
|
|
3354
|
+
* The syntax is based on https://google.aip.dev/160.
|
|
3288
3355
|
*
|
|
3289
3356
|
* Examples:
|
|
3290
3357
|
*
|
|
3291
3358
|
* * `project_id = 12345 AND status_code = 1`
|
|
3292
3359
|
* * `project_id = 12345 AND sensitivity_level = HIGH`
|
|
3293
3360
|
* * `project_id = 12345 AND resource_visibility = PUBLIC`
|
|
3361
|
+
* * `profile_last_generated < "2025-01-01T00:00:00.000Z"`
|
|
3294
3362
|
*
|
|
3295
3363
|
* The length of this field should be no more than 500 characters.
|
|
3296
3364
|
* @param {object} [options]
|
|
@@ -3350,26 +3418,32 @@ export declare class DlpServiceClient {
|
|
|
3350
3418
|
* * Restrictions can be combined by `AND` or `OR` logical operators. A
|
|
3351
3419
|
* sequence of restrictions implicitly uses `AND`.
|
|
3352
3420
|
* * A restriction has the form of `{field} {operator} {value}`.
|
|
3353
|
-
* * Supported fields
|
|
3354
|
-
* - `table_data_profile_name
|
|
3355
|
-
* profile
|
|
3356
|
-
* - `project_id
|
|
3357
|
-
* - `dataset_id
|
|
3358
|
-
* - `table_id
|
|
3359
|
-
* - `field_id
|
|
3360
|
-
* - `info_type
|
|
3361
|
-
* - `sensitivity_level
|
|
3362
|
-
* - `data_risk_level`: How much risk is associated with this data
|
|
3363
|
-
* - `status_code
|
|
3421
|
+
* * Supported fields:
|
|
3422
|
+
* - `table_data_profile_name`: The name of the related table data
|
|
3423
|
+
* profile
|
|
3424
|
+
* - `project_id`: The Google Cloud project ID (REQUIRED)
|
|
3425
|
+
* - `dataset_id`: The BigQuery dataset ID (REQUIRED)
|
|
3426
|
+
* - `table_id`: The BigQuery table ID (REQUIRED)
|
|
3427
|
+
* - `field_id`: The ID of the BigQuery field
|
|
3428
|
+
* - `info_type`: The infotype detected in the resource
|
|
3429
|
+
* - `sensitivity_level`: HIGH|MEDIUM|LOW
|
|
3430
|
+
* - `data_risk_level`: How much risk is associated with this data
|
|
3431
|
+
* - `status_code`: An RPC status code as defined in
|
|
3364
3432
|
* https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
|
|
3433
|
+
* - `profile_last_generated`: Date and time the profile was last
|
|
3434
|
+
* generated
|
|
3365
3435
|
* * The operator must be `=` for project_id, dataset_id, and table_id. Other
|
|
3366
|
-
* filters also support `!=`.
|
|
3436
|
+
* filters also support `!=`. The `profile_last_generated` filter also
|
|
3437
|
+
* supports `<` and `>`.
|
|
3438
|
+
*
|
|
3439
|
+
* The syntax is based on https://google.aip.dev/160.
|
|
3367
3440
|
*
|
|
3368
3441
|
* Examples:
|
|
3369
3442
|
*
|
|
3370
3443
|
* * project_id = 12345 AND status_code = 1
|
|
3371
3444
|
* * project_id = 12345 AND sensitivity_level = HIGH
|
|
3372
3445
|
* * project_id = 12345 AND info_type = STREET_ADDRESS
|
|
3446
|
+
* * profile_last_generated < "2025-01-01T00:00:00.000Z"
|
|
3373
3447
|
*
|
|
3374
3448
|
* The length of this field should be no more than 500 characters.
|
|
3375
3449
|
* @param {object} [options]
|
|
@@ -3434,26 +3508,32 @@ export declare class DlpServiceClient {
|
|
|
3434
3508
|
* * Restrictions can be combined by `AND` or `OR` logical operators. A
|
|
3435
3509
|
* sequence of restrictions implicitly uses `AND`.
|
|
3436
3510
|
* * A restriction has the form of `{field} {operator} {value}`.
|
|
3437
|
-
* * Supported fields
|
|
3438
|
-
* - `table_data_profile_name
|
|
3439
|
-
* profile
|
|
3440
|
-
* - `project_id
|
|
3441
|
-
* - `dataset_id
|
|
3442
|
-
* - `table_id
|
|
3443
|
-
* - `field_id
|
|
3444
|
-
* - `info_type
|
|
3445
|
-
* - `sensitivity_level
|
|
3446
|
-
* - `data_risk_level`: How much risk is associated with this data
|
|
3447
|
-
* - `status_code
|
|
3511
|
+
* * Supported fields:
|
|
3512
|
+
* - `table_data_profile_name`: The name of the related table data
|
|
3513
|
+
* profile
|
|
3514
|
+
* - `project_id`: The Google Cloud project ID (REQUIRED)
|
|
3515
|
+
* - `dataset_id`: The BigQuery dataset ID (REQUIRED)
|
|
3516
|
+
* - `table_id`: The BigQuery table ID (REQUIRED)
|
|
3517
|
+
* - `field_id`: The ID of the BigQuery field
|
|
3518
|
+
* - `info_type`: The infotype detected in the resource
|
|
3519
|
+
* - `sensitivity_level`: HIGH|MEDIUM|LOW
|
|
3520
|
+
* - `data_risk_level`: How much risk is associated with this data
|
|
3521
|
+
* - `status_code`: An RPC status code as defined in
|
|
3448
3522
|
* https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
|
|
3523
|
+
* - `profile_last_generated`: Date and time the profile was last
|
|
3524
|
+
* generated
|
|
3449
3525
|
* * The operator must be `=` for project_id, dataset_id, and table_id. Other
|
|
3450
|
-
* filters also support `!=`.
|
|
3526
|
+
* filters also support `!=`. The `profile_last_generated` filter also
|
|
3527
|
+
* supports `<` and `>`.
|
|
3528
|
+
*
|
|
3529
|
+
* The syntax is based on https://google.aip.dev/160.
|
|
3451
3530
|
*
|
|
3452
3531
|
* Examples:
|
|
3453
3532
|
*
|
|
3454
3533
|
* * project_id = 12345 AND status_code = 1
|
|
3455
3534
|
* * project_id = 12345 AND sensitivity_level = HIGH
|
|
3456
3535
|
* * project_id = 12345 AND info_type = STREET_ADDRESS
|
|
3536
|
+
* * profile_last_generated < "2025-01-01T00:00:00.000Z"
|
|
3457
3537
|
*
|
|
3458
3538
|
* The length of this field should be no more than 500 characters.
|
|
3459
3539
|
* @param {object} [options]
|
|
@@ -3513,26 +3593,32 @@ export declare class DlpServiceClient {
|
|
|
3513
3593
|
* * Restrictions can be combined by `AND` or `OR` logical operators. A
|
|
3514
3594
|
* sequence of restrictions implicitly uses `AND`.
|
|
3515
3595
|
* * A restriction has the form of `{field} {operator} {value}`.
|
|
3516
|
-
* * Supported fields
|
|
3517
|
-
* - `table_data_profile_name
|
|
3518
|
-
* profile
|
|
3519
|
-
* - `project_id
|
|
3520
|
-
* - `dataset_id
|
|
3521
|
-
* - `table_id
|
|
3522
|
-
* - `field_id
|
|
3523
|
-
* - `info_type
|
|
3524
|
-
* - `sensitivity_level
|
|
3525
|
-
* - `data_risk_level`: How much risk is associated with this data
|
|
3526
|
-
* - `status_code
|
|
3596
|
+
* * Supported fields:
|
|
3597
|
+
* - `table_data_profile_name`: The name of the related table data
|
|
3598
|
+
* profile
|
|
3599
|
+
* - `project_id`: The Google Cloud project ID (REQUIRED)
|
|
3600
|
+
* - `dataset_id`: The BigQuery dataset ID (REQUIRED)
|
|
3601
|
+
* - `table_id`: The BigQuery table ID (REQUIRED)
|
|
3602
|
+
* - `field_id`: The ID of the BigQuery field
|
|
3603
|
+
* - `info_type`: The infotype detected in the resource
|
|
3604
|
+
* - `sensitivity_level`: HIGH|MEDIUM|LOW
|
|
3605
|
+
* - `data_risk_level`: How much risk is associated with this data
|
|
3606
|
+
* - `status_code`: An RPC status code as defined in
|
|
3527
3607
|
* https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
|
|
3608
|
+
* - `profile_last_generated`: Date and time the profile was last
|
|
3609
|
+
* generated
|
|
3528
3610
|
* * The operator must be `=` for project_id, dataset_id, and table_id. Other
|
|
3529
|
-
* filters also support `!=`.
|
|
3611
|
+
* filters also support `!=`. The `profile_last_generated` filter also
|
|
3612
|
+
* supports `<` and `>`.
|
|
3613
|
+
*
|
|
3614
|
+
* The syntax is based on https://google.aip.dev/160.
|
|
3530
3615
|
*
|
|
3531
3616
|
* Examples:
|
|
3532
3617
|
*
|
|
3533
3618
|
* * project_id = 12345 AND status_code = 1
|
|
3534
3619
|
* * project_id = 12345 AND sensitivity_level = HIGH
|
|
3535
3620
|
* * project_id = 12345 AND info_type = STREET_ADDRESS
|
|
3621
|
+
* * profile_last_generated < "2025-01-01T00:00:00.000Z"
|
|
3536
3622
|
*
|
|
3537
3623
|
* The length of this field should be no more than 500 characters.
|
|
3538
3624
|
* @param {object} [options]
|
|
@@ -3594,21 +3680,26 @@ export declare class DlpServiceClient {
|
|
|
3594
3680
|
* * Restrictions can be combined by `AND` or `OR` logical operators. A
|
|
3595
3681
|
* sequence of restrictions implicitly uses `AND`.
|
|
3596
3682
|
* * A restriction has the form of `{field} {operator} {value}`.
|
|
3597
|
-
* * Supported fields
|
|
3598
|
-
* - `project_id
|
|
3599
|
-
* - `account_id
|
|
3600
|
-
* - `file_store_path
|
|
3601
|
-
* - `data_source_type
|
|
3602
|
-
* "google/storage/bucket"
|
|
3603
|
-
* - `data_storage_location
|
|
3604
|
-
* stored, like "us-central1"
|
|
3605
|
-
* - `sensitivity_level
|
|
3606
|
-
* - `data_risk_level
|
|
3683
|
+
* * Supported fields:
|
|
3684
|
+
* - `project_id`: The Google Cloud project ID
|
|
3685
|
+
* - `account_id`: The AWS account ID
|
|
3686
|
+
* - `file_store_path`: The path like "gs://bucket"
|
|
3687
|
+
* - `data_source_type`: The profile's data source type, like
|
|
3688
|
+
* "google/storage/bucket"
|
|
3689
|
+
* - `data_storage_location`: The location where the file store's data is
|
|
3690
|
+
* stored, like "us-central1"
|
|
3691
|
+
* - `sensitivity_level`: HIGH|MODERATE|LOW
|
|
3692
|
+
* - `data_risk_level`: HIGH|MODERATE|LOW
|
|
3607
3693
|
* - `resource_visibility`: PUBLIC|RESTRICTED
|
|
3608
|
-
* - `status_code
|
|
3694
|
+
* - `status_code`: an RPC status code as defined in
|
|
3609
3695
|
* https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
|
|
3696
|
+
* - `profile_last_generated`: Date and time the profile was last
|
|
3697
|
+
* generated
|
|
3610
3698
|
*
|
|
3611
|
-
* * The operator must be `=` or `!=`.
|
|
3699
|
+
* * The operator must be `=` or `!=`. The `profile_last_generated` filter
|
|
3700
|
+
* also supports `<` and `>`.
|
|
3701
|
+
*
|
|
3702
|
+
* The syntax is based on https://google.aip.dev/160.
|
|
3612
3703
|
*
|
|
3613
3704
|
* Examples:
|
|
3614
3705
|
*
|
|
@@ -3616,6 +3707,7 @@ export declare class DlpServiceClient {
|
|
|
3616
3707
|
* * `project_id = 12345 AND sensitivity_level = HIGH`
|
|
3617
3708
|
* * `project_id = 12345 AND resource_visibility = PUBLIC`
|
|
3618
3709
|
* * `file_store_path = "gs://mybucket"`
|
|
3710
|
+
* * `profile_last_generated < "2025-01-01T00:00:00.000Z"`
|
|
3619
3711
|
*
|
|
3620
3712
|
* The length of this field should be no more than 500 characters.
|
|
3621
3713
|
* @param {object} [options]
|
|
@@ -3682,21 +3774,26 @@ export declare class DlpServiceClient {
|
|
|
3682
3774
|
* * Restrictions can be combined by `AND` or `OR` logical operators. A
|
|
3683
3775
|
* sequence of restrictions implicitly uses `AND`.
|
|
3684
3776
|
* * A restriction has the form of `{field} {operator} {value}`.
|
|
3685
|
-
* * Supported fields
|
|
3686
|
-
* - `project_id
|
|
3687
|
-
* - `account_id
|
|
3688
|
-
* - `file_store_path
|
|
3689
|
-
* - `data_source_type
|
|
3690
|
-
* "google/storage/bucket"
|
|
3691
|
-
* - `data_storage_location
|
|
3692
|
-
* stored, like "us-central1"
|
|
3693
|
-
* - `sensitivity_level
|
|
3694
|
-
* - `data_risk_level
|
|
3777
|
+
* * Supported fields:
|
|
3778
|
+
* - `project_id`: The Google Cloud project ID
|
|
3779
|
+
* - `account_id`: The AWS account ID
|
|
3780
|
+
* - `file_store_path`: The path like "gs://bucket"
|
|
3781
|
+
* - `data_source_type`: The profile's data source type, like
|
|
3782
|
+
* "google/storage/bucket"
|
|
3783
|
+
* - `data_storage_location`: The location where the file store's data is
|
|
3784
|
+
* stored, like "us-central1"
|
|
3785
|
+
* - `sensitivity_level`: HIGH|MODERATE|LOW
|
|
3786
|
+
* - `data_risk_level`: HIGH|MODERATE|LOW
|
|
3695
3787
|
* - `resource_visibility`: PUBLIC|RESTRICTED
|
|
3696
|
-
* - `status_code
|
|
3788
|
+
* - `status_code`: an RPC status code as defined in
|
|
3697
3789
|
* https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
|
|
3790
|
+
* - `profile_last_generated`: Date and time the profile was last
|
|
3791
|
+
* generated
|
|
3698
3792
|
*
|
|
3699
|
-
* * The operator must be `=` or `!=`.
|
|
3793
|
+
* * The operator must be `=` or `!=`. The `profile_last_generated` filter
|
|
3794
|
+
* also supports `<` and `>`.
|
|
3795
|
+
*
|
|
3796
|
+
* The syntax is based on https://google.aip.dev/160.
|
|
3700
3797
|
*
|
|
3701
3798
|
* Examples:
|
|
3702
3799
|
*
|
|
@@ -3704,6 +3801,7 @@ export declare class DlpServiceClient {
|
|
|
3704
3801
|
* * `project_id = 12345 AND sensitivity_level = HIGH`
|
|
3705
3802
|
* * `project_id = 12345 AND resource_visibility = PUBLIC`
|
|
3706
3803
|
* * `file_store_path = "gs://mybucket"`
|
|
3804
|
+
* * `profile_last_generated < "2025-01-01T00:00:00.000Z"`
|
|
3707
3805
|
*
|
|
3708
3806
|
* The length of this field should be no more than 500 characters.
|
|
3709
3807
|
* @param {object} [options]
|
|
@@ -3765,21 +3863,26 @@ export declare class DlpServiceClient {
|
|
|
3765
3863
|
* * Restrictions can be combined by `AND` or `OR` logical operators. A
|
|
3766
3864
|
* sequence of restrictions implicitly uses `AND`.
|
|
3767
3865
|
* * A restriction has the form of `{field} {operator} {value}`.
|
|
3768
|
-
* * Supported fields
|
|
3769
|
-
* - `project_id
|
|
3770
|
-
* - `account_id
|
|
3771
|
-
* - `file_store_path
|
|
3772
|
-
* - `data_source_type
|
|
3773
|
-
* "google/storage/bucket"
|
|
3774
|
-
* - `data_storage_location
|
|
3775
|
-
* stored, like "us-central1"
|
|
3776
|
-
* - `sensitivity_level
|
|
3777
|
-
* - `data_risk_level
|
|
3866
|
+
* * Supported fields:
|
|
3867
|
+
* - `project_id`: The Google Cloud project ID
|
|
3868
|
+
* - `account_id`: The AWS account ID
|
|
3869
|
+
* - `file_store_path`: The path like "gs://bucket"
|
|
3870
|
+
* - `data_source_type`: The profile's data source type, like
|
|
3871
|
+
* "google/storage/bucket"
|
|
3872
|
+
* - `data_storage_location`: The location where the file store's data is
|
|
3873
|
+
* stored, like "us-central1"
|
|
3874
|
+
* - `sensitivity_level`: HIGH|MODERATE|LOW
|
|
3875
|
+
* - `data_risk_level`: HIGH|MODERATE|LOW
|
|
3778
3876
|
* - `resource_visibility`: PUBLIC|RESTRICTED
|
|
3779
|
-
* - `status_code
|
|
3877
|
+
* - `status_code`: an RPC status code as defined in
|
|
3780
3878
|
* https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
|
|
3879
|
+
* - `profile_last_generated`: Date and time the profile was last
|
|
3880
|
+
* generated
|
|
3781
3881
|
*
|
|
3782
|
-
* * The operator must be `=` or `!=`.
|
|
3882
|
+
* * The operator must be `=` or `!=`. The `profile_last_generated` filter
|
|
3883
|
+
* also supports `<` and `>`.
|
|
3884
|
+
*
|
|
3885
|
+
* The syntax is based on https://google.aip.dev/160.
|
|
3783
3886
|
*
|
|
3784
3887
|
* Examples:
|
|
3785
3888
|
*
|
|
@@ -3787,6 +3890,7 @@ export declare class DlpServiceClient {
|
|
|
3787
3890
|
* * `project_id = 12345 AND sensitivity_level = HIGH`
|
|
3788
3891
|
* * `project_id = 12345 AND resource_visibility = PUBLIC`
|
|
3789
3892
|
* * `file_store_path = "gs://mybucket"`
|
|
3893
|
+
* * `profile_last_generated < "2025-01-01T00:00:00.000Z"`
|
|
3790
3894
|
*
|
|
3791
3895
|
* The length of this field should be no more than 500 characters.
|
|
3792
3896
|
* @param {object} [options]
|
|
@@ -3819,6 +3923,8 @@ export declare class DlpServiceClient {
|
|
|
3819
3923
|
* results. If set, all other request fields must match the original request.
|
|
3820
3924
|
* @param {string} [request.filter]
|
|
3821
3925
|
* Optional. Supported field/value: `state` - MISSING|AVAILABLE|ERROR
|
|
3926
|
+
*
|
|
3927
|
+
* The syntax is based on https://google.aip.dev/160.
|
|
3822
3928
|
* @param {object} [options]
|
|
3823
3929
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
3824
3930
|
* @returns {Promise} - The promise which resolves to an array.
|
|
@@ -3853,6 +3959,8 @@ export declare class DlpServiceClient {
|
|
|
3853
3959
|
* results. If set, all other request fields must match the original request.
|
|
3854
3960
|
* @param {string} [request.filter]
|
|
3855
3961
|
* Optional. Supported field/value: `state` - MISSING|AVAILABLE|ERROR
|
|
3962
|
+
*
|
|
3963
|
+
* The syntax is based on https://google.aip.dev/160.
|
|
3856
3964
|
* @param {object} [options]
|
|
3857
3965
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
3858
3966
|
* @returns {Stream}
|
|
@@ -3882,6 +3990,8 @@ export declare class DlpServiceClient {
|
|
|
3882
3990
|
* results. If set, all other request fields must match the original request.
|
|
3883
3991
|
* @param {string} [request.filter]
|
|
3884
3992
|
* Optional. Supported field/value: `state` - MISSING|AVAILABLE|ERROR
|
|
3993
|
+
*
|
|
3994
|
+
* The syntax is based on https://google.aip.dev/160.
|
|
3885
3995
|
* @param {object} [options]
|
|
3886
3996
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
3887
3997
|
* @returns {Object}
|
|
@@ -3911,6 +4021,8 @@ export declare class DlpServiceClient {
|
|
|
3911
4021
|
* results. If set, all other request fields must match the original request.
|
|
3912
4022
|
* @param {string} [request.filter]
|
|
3913
4023
|
* Optional. Supported field/value: - `state` - MISSING|AVAILABLE|ERROR
|
|
4024
|
+
*
|
|
4025
|
+
* The syntax is based on https://google.aip.dev/160.
|
|
3914
4026
|
* @param {object} [options]
|
|
3915
4027
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
3916
4028
|
* @returns {Promise} - The promise which resolves to an array.
|
|
@@ -3945,6 +4057,8 @@ export declare class DlpServiceClient {
|
|
|
3945
4057
|
* results. If set, all other request fields must match the original request.
|
|
3946
4058
|
* @param {string} [request.filter]
|
|
3947
4059
|
* Optional. Supported field/value: - `state` - MISSING|AVAILABLE|ERROR
|
|
4060
|
+
*
|
|
4061
|
+
* The syntax is based on https://google.aip.dev/160.
|
|
3948
4062
|
* @param {object} [options]
|
|
3949
4063
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
3950
4064
|
* @returns {Stream}
|
|
@@ -3974,6 +4088,8 @@ export declare class DlpServiceClient {
|
|
|
3974
4088
|
* results. If set, all other request fields must match the original request.
|
|
3975
4089
|
* @param {string} [request.filter]
|
|
3976
4090
|
* Optional. Supported field/value: - `state` - MISSING|AVAILABLE|ERROR
|
|
4091
|
+
*
|
|
4092
|
+
* The syntax is based on https://google.aip.dev/160.
|
|
3977
4093
|
* @param {object} [options]
|
|
3978
4094
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
3979
4095
|
* @returns {Object}
|