@google-cloud/dlp 6.3.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 +305 -74
- package/build/protos/protos.d.ts +691 -2
- package/build/protos/protos.js +1842 -5
- package/build/protos/protos.json +147 -1
- package/build/src/v2/dlp_service_client.d.ts +248 -126
- package/build/src/v2/dlp_service_client.js +154 -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,22 +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
|
|
3125
|
-
*
|
|
3175
|
+
* - `profile_last_generated`: Date and time the profile was last
|
|
3176
|
+
* generated
|
|
3177
|
+
*
|
|
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.
|
|
3126
3182
|
*
|
|
3127
3183
|
* Examples:
|
|
3128
3184
|
*
|
|
3129
3185
|
* * `project_id = 12345 AND status_code = 1`
|
|
3130
3186
|
* * `project_id = 12345 AND sensitivity_level = HIGH`
|
|
3131
3187
|
* * `project_id = 12345 AND resource_visibility = PUBLIC`
|
|
3188
|
+
* * `profile_last_generated < "2025-01-01T00:00:00.000Z"`
|
|
3132
3189
|
*
|
|
3133
3190
|
* The length of this field should be no more than 500 characters.
|
|
3134
3191
|
* @param {object} [options]
|
|
@@ -3195,22 +3252,29 @@ export declare class DlpServiceClient {
|
|
|
3195
3252
|
* * Restrictions can be combined by `AND` or `OR` logical operators. A
|
|
3196
3253
|
* sequence of restrictions implicitly uses `AND`.
|
|
3197
3254
|
* * A restriction has the form of `{field} {operator} {value}`.
|
|
3198
|
-
* * Supported fields
|
|
3199
|
-
* - `project_id
|
|
3200
|
-
* - `dataset_id
|
|
3201
|
-
* - `table_id
|
|
3202
|
-
* - `sensitivity_level
|
|
3203
|
-
* - `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
|
|
3204
3261
|
* - `resource_visibility`: PUBLIC|RESTRICTED
|
|
3205
|
-
* - `status_code
|
|
3262
|
+
* - `status_code`: an RPC status code as defined in
|
|
3206
3263
|
* https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
|
|
3207
|
-
*
|
|
3264
|
+
* - `profile_last_generated`: Date and time the profile was last
|
|
3265
|
+
* generated
|
|
3266
|
+
*
|
|
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.
|
|
3208
3271
|
*
|
|
3209
3272
|
* Examples:
|
|
3210
3273
|
*
|
|
3211
3274
|
* * `project_id = 12345 AND status_code = 1`
|
|
3212
3275
|
* * `project_id = 12345 AND sensitivity_level = HIGH`
|
|
3213
3276
|
* * `project_id = 12345 AND resource_visibility = PUBLIC`
|
|
3277
|
+
* * `profile_last_generated < "2025-01-01T00:00:00.000Z"`
|
|
3214
3278
|
*
|
|
3215
3279
|
* The length of this field should be no more than 500 characters.
|
|
3216
3280
|
* @param {object} [options]
|
|
@@ -3272,22 +3336,29 @@ export declare class DlpServiceClient {
|
|
|
3272
3336
|
* * Restrictions can be combined by `AND` or `OR` logical operators. A
|
|
3273
3337
|
* sequence of restrictions implicitly uses `AND`.
|
|
3274
3338
|
* * A restriction has the form of `{field} {operator} {value}`.
|
|
3275
|
-
* * Supported fields
|
|
3276
|
-
* - `project_id
|
|
3277
|
-
* - `dataset_id
|
|
3278
|
-
* - `table_id
|
|
3279
|
-
* - `sensitivity_level
|
|
3280
|
-
* - `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
|
|
3281
3345
|
* - `resource_visibility`: PUBLIC|RESTRICTED
|
|
3282
|
-
* - `status_code
|
|
3346
|
+
* - `status_code`: an RPC status code as defined in
|
|
3283
3347
|
* https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
|
|
3284
|
-
*
|
|
3348
|
+
* - `profile_last_generated`: Date and time the profile was last
|
|
3349
|
+
* generated
|
|
3350
|
+
*
|
|
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.
|
|
3285
3355
|
*
|
|
3286
3356
|
* Examples:
|
|
3287
3357
|
*
|
|
3288
3358
|
* * `project_id = 12345 AND status_code = 1`
|
|
3289
3359
|
* * `project_id = 12345 AND sensitivity_level = HIGH`
|
|
3290
3360
|
* * `project_id = 12345 AND resource_visibility = PUBLIC`
|
|
3361
|
+
* * `profile_last_generated < "2025-01-01T00:00:00.000Z"`
|
|
3291
3362
|
*
|
|
3292
3363
|
* The length of this field should be no more than 500 characters.
|
|
3293
3364
|
* @param {object} [options]
|
|
@@ -3347,26 +3418,32 @@ export declare class DlpServiceClient {
|
|
|
3347
3418
|
* * Restrictions can be combined by `AND` or `OR` logical operators. A
|
|
3348
3419
|
* sequence of restrictions implicitly uses `AND`.
|
|
3349
3420
|
* * A restriction has the form of `{field} {operator} {value}`.
|
|
3350
|
-
* * Supported fields
|
|
3351
|
-
* - `table_data_profile_name
|
|
3352
|
-
* profile
|
|
3353
|
-
* - `project_id
|
|
3354
|
-
* - `dataset_id
|
|
3355
|
-
* - `table_id
|
|
3356
|
-
* - `field_id
|
|
3357
|
-
* - `info_type
|
|
3358
|
-
* - `sensitivity_level
|
|
3359
|
-
* - `data_risk_level`: How much risk is associated with this data
|
|
3360
|
-
* - `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
|
|
3361
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
|
|
3362
3435
|
* * The operator must be `=` for project_id, dataset_id, and table_id. Other
|
|
3363
|
-
* 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.
|
|
3364
3440
|
*
|
|
3365
3441
|
* Examples:
|
|
3366
3442
|
*
|
|
3367
3443
|
* * project_id = 12345 AND status_code = 1
|
|
3368
3444
|
* * project_id = 12345 AND sensitivity_level = HIGH
|
|
3369
3445
|
* * project_id = 12345 AND info_type = STREET_ADDRESS
|
|
3446
|
+
* * profile_last_generated < "2025-01-01T00:00:00.000Z"
|
|
3370
3447
|
*
|
|
3371
3448
|
* The length of this field should be no more than 500 characters.
|
|
3372
3449
|
* @param {object} [options]
|
|
@@ -3431,26 +3508,32 @@ export declare class DlpServiceClient {
|
|
|
3431
3508
|
* * Restrictions can be combined by `AND` or `OR` logical operators. A
|
|
3432
3509
|
* sequence of restrictions implicitly uses `AND`.
|
|
3433
3510
|
* * A restriction has the form of `{field} {operator} {value}`.
|
|
3434
|
-
* * Supported fields
|
|
3435
|
-
* - `table_data_profile_name
|
|
3436
|
-
* profile
|
|
3437
|
-
* - `project_id
|
|
3438
|
-
* - `dataset_id
|
|
3439
|
-
* - `table_id
|
|
3440
|
-
* - `field_id
|
|
3441
|
-
* - `info_type
|
|
3442
|
-
* - `sensitivity_level
|
|
3443
|
-
* - `data_risk_level`: How much risk is associated with this data
|
|
3444
|
-
* - `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
|
|
3445
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
|
|
3446
3525
|
* * The operator must be `=` for project_id, dataset_id, and table_id. Other
|
|
3447
|
-
* 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.
|
|
3448
3530
|
*
|
|
3449
3531
|
* Examples:
|
|
3450
3532
|
*
|
|
3451
3533
|
* * project_id = 12345 AND status_code = 1
|
|
3452
3534
|
* * project_id = 12345 AND sensitivity_level = HIGH
|
|
3453
3535
|
* * project_id = 12345 AND info_type = STREET_ADDRESS
|
|
3536
|
+
* * profile_last_generated < "2025-01-01T00:00:00.000Z"
|
|
3454
3537
|
*
|
|
3455
3538
|
* The length of this field should be no more than 500 characters.
|
|
3456
3539
|
* @param {object} [options]
|
|
@@ -3510,26 +3593,32 @@ export declare class DlpServiceClient {
|
|
|
3510
3593
|
* * Restrictions can be combined by `AND` or `OR` logical operators. A
|
|
3511
3594
|
* sequence of restrictions implicitly uses `AND`.
|
|
3512
3595
|
* * A restriction has the form of `{field} {operator} {value}`.
|
|
3513
|
-
* * Supported fields
|
|
3514
|
-
* - `table_data_profile_name
|
|
3515
|
-
* profile
|
|
3516
|
-
* - `project_id
|
|
3517
|
-
* - `dataset_id
|
|
3518
|
-
* - `table_id
|
|
3519
|
-
* - `field_id
|
|
3520
|
-
* - `info_type
|
|
3521
|
-
* - `sensitivity_level
|
|
3522
|
-
* - `data_risk_level`: How much risk is associated with this data
|
|
3523
|
-
* - `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
|
|
3524
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
|
|
3525
3610
|
* * The operator must be `=` for project_id, dataset_id, and table_id. Other
|
|
3526
|
-
* 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.
|
|
3527
3615
|
*
|
|
3528
3616
|
* Examples:
|
|
3529
3617
|
*
|
|
3530
3618
|
* * project_id = 12345 AND status_code = 1
|
|
3531
3619
|
* * project_id = 12345 AND sensitivity_level = HIGH
|
|
3532
3620
|
* * project_id = 12345 AND info_type = STREET_ADDRESS
|
|
3621
|
+
* * profile_last_generated < "2025-01-01T00:00:00.000Z"
|
|
3533
3622
|
*
|
|
3534
3623
|
* The length of this field should be no more than 500 characters.
|
|
3535
3624
|
* @param {object} [options]
|
|
@@ -3591,20 +3680,26 @@ export declare class DlpServiceClient {
|
|
|
3591
3680
|
* * Restrictions can be combined by `AND` or `OR` logical operators. A
|
|
3592
3681
|
* sequence of restrictions implicitly uses `AND`.
|
|
3593
3682
|
* * A restriction has the form of `{field} {operator} {value}`.
|
|
3594
|
-
* * Supported fields
|
|
3595
|
-
* - `project_id
|
|
3596
|
-
* - `account_id
|
|
3597
|
-
* - `file_store_path
|
|
3598
|
-
* - `data_source_type
|
|
3599
|
-
* "google/storage/bucket"
|
|
3600
|
-
* - `data_storage_location
|
|
3601
|
-
* stored, like "us-central1"
|
|
3602
|
-
* - `sensitivity_level
|
|
3603
|
-
* - `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
|
|
3604
3693
|
* - `resource_visibility`: PUBLIC|RESTRICTED
|
|
3605
|
-
* - `status_code
|
|
3694
|
+
* - `status_code`: an RPC status code as defined in
|
|
3606
3695
|
* https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
|
|
3607
|
-
*
|
|
3696
|
+
* - `profile_last_generated`: Date and time the profile was last
|
|
3697
|
+
* generated
|
|
3698
|
+
*
|
|
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.
|
|
3608
3703
|
*
|
|
3609
3704
|
* Examples:
|
|
3610
3705
|
*
|
|
@@ -3612,6 +3707,7 @@ export declare class DlpServiceClient {
|
|
|
3612
3707
|
* * `project_id = 12345 AND sensitivity_level = HIGH`
|
|
3613
3708
|
* * `project_id = 12345 AND resource_visibility = PUBLIC`
|
|
3614
3709
|
* * `file_store_path = "gs://mybucket"`
|
|
3710
|
+
* * `profile_last_generated < "2025-01-01T00:00:00.000Z"`
|
|
3615
3711
|
*
|
|
3616
3712
|
* The length of this field should be no more than 500 characters.
|
|
3617
3713
|
* @param {object} [options]
|
|
@@ -3678,20 +3774,26 @@ export declare class DlpServiceClient {
|
|
|
3678
3774
|
* * Restrictions can be combined by `AND` or `OR` logical operators. A
|
|
3679
3775
|
* sequence of restrictions implicitly uses `AND`.
|
|
3680
3776
|
* * A restriction has the form of `{field} {operator} {value}`.
|
|
3681
|
-
* * Supported fields
|
|
3682
|
-
* - `project_id
|
|
3683
|
-
* - `account_id
|
|
3684
|
-
* - `file_store_path
|
|
3685
|
-
* - `data_source_type
|
|
3686
|
-
* "google/storage/bucket"
|
|
3687
|
-
* - `data_storage_location
|
|
3688
|
-
* stored, like "us-central1"
|
|
3689
|
-
* - `sensitivity_level
|
|
3690
|
-
* - `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
|
|
3691
3787
|
* - `resource_visibility`: PUBLIC|RESTRICTED
|
|
3692
|
-
* - `status_code
|
|
3788
|
+
* - `status_code`: an RPC status code as defined in
|
|
3693
3789
|
* https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
|
|
3694
|
-
*
|
|
3790
|
+
* - `profile_last_generated`: Date and time the profile was last
|
|
3791
|
+
* generated
|
|
3792
|
+
*
|
|
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.
|
|
3695
3797
|
*
|
|
3696
3798
|
* Examples:
|
|
3697
3799
|
*
|
|
@@ -3699,6 +3801,7 @@ export declare class DlpServiceClient {
|
|
|
3699
3801
|
* * `project_id = 12345 AND sensitivity_level = HIGH`
|
|
3700
3802
|
* * `project_id = 12345 AND resource_visibility = PUBLIC`
|
|
3701
3803
|
* * `file_store_path = "gs://mybucket"`
|
|
3804
|
+
* * `profile_last_generated < "2025-01-01T00:00:00.000Z"`
|
|
3702
3805
|
*
|
|
3703
3806
|
* The length of this field should be no more than 500 characters.
|
|
3704
3807
|
* @param {object} [options]
|
|
@@ -3760,20 +3863,26 @@ export declare class DlpServiceClient {
|
|
|
3760
3863
|
* * Restrictions can be combined by `AND` or `OR` logical operators. A
|
|
3761
3864
|
* sequence of restrictions implicitly uses `AND`.
|
|
3762
3865
|
* * A restriction has the form of `{field} {operator} {value}`.
|
|
3763
|
-
* * Supported fields
|
|
3764
|
-
* - `project_id
|
|
3765
|
-
* - `account_id
|
|
3766
|
-
* - `file_store_path
|
|
3767
|
-
* - `data_source_type
|
|
3768
|
-
* "google/storage/bucket"
|
|
3769
|
-
* - `data_storage_location
|
|
3770
|
-
* stored, like "us-central1"
|
|
3771
|
-
* - `sensitivity_level
|
|
3772
|
-
* - `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
|
|
3773
3876
|
* - `resource_visibility`: PUBLIC|RESTRICTED
|
|
3774
|
-
* - `status_code
|
|
3877
|
+
* - `status_code`: an RPC status code as defined in
|
|
3775
3878
|
* https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto
|
|
3776
|
-
*
|
|
3879
|
+
* - `profile_last_generated`: Date and time the profile was last
|
|
3880
|
+
* generated
|
|
3881
|
+
*
|
|
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.
|
|
3777
3886
|
*
|
|
3778
3887
|
* Examples:
|
|
3779
3888
|
*
|
|
@@ -3781,6 +3890,7 @@ export declare class DlpServiceClient {
|
|
|
3781
3890
|
* * `project_id = 12345 AND sensitivity_level = HIGH`
|
|
3782
3891
|
* * `project_id = 12345 AND resource_visibility = PUBLIC`
|
|
3783
3892
|
* * `file_store_path = "gs://mybucket"`
|
|
3893
|
+
* * `profile_last_generated < "2025-01-01T00:00:00.000Z"`
|
|
3784
3894
|
*
|
|
3785
3895
|
* The length of this field should be no more than 500 characters.
|
|
3786
3896
|
* @param {object} [options]
|
|
@@ -3813,6 +3923,8 @@ export declare class DlpServiceClient {
|
|
|
3813
3923
|
* results. If set, all other request fields must match the original request.
|
|
3814
3924
|
* @param {string} [request.filter]
|
|
3815
3925
|
* Optional. Supported field/value: `state` - MISSING|AVAILABLE|ERROR
|
|
3926
|
+
*
|
|
3927
|
+
* The syntax is based on https://google.aip.dev/160.
|
|
3816
3928
|
* @param {object} [options]
|
|
3817
3929
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
3818
3930
|
* @returns {Promise} - The promise which resolves to an array.
|
|
@@ -3847,6 +3959,8 @@ export declare class DlpServiceClient {
|
|
|
3847
3959
|
* results. If set, all other request fields must match the original request.
|
|
3848
3960
|
* @param {string} [request.filter]
|
|
3849
3961
|
* Optional. Supported field/value: `state` - MISSING|AVAILABLE|ERROR
|
|
3962
|
+
*
|
|
3963
|
+
* The syntax is based on https://google.aip.dev/160.
|
|
3850
3964
|
* @param {object} [options]
|
|
3851
3965
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
3852
3966
|
* @returns {Stream}
|
|
@@ -3876,6 +3990,8 @@ export declare class DlpServiceClient {
|
|
|
3876
3990
|
* results. If set, all other request fields must match the original request.
|
|
3877
3991
|
* @param {string} [request.filter]
|
|
3878
3992
|
* Optional. Supported field/value: `state` - MISSING|AVAILABLE|ERROR
|
|
3993
|
+
*
|
|
3994
|
+
* The syntax is based on https://google.aip.dev/160.
|
|
3879
3995
|
* @param {object} [options]
|
|
3880
3996
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
3881
3997
|
* @returns {Object}
|
|
@@ -3905,6 +4021,8 @@ export declare class DlpServiceClient {
|
|
|
3905
4021
|
* results. If set, all other request fields must match the original request.
|
|
3906
4022
|
* @param {string} [request.filter]
|
|
3907
4023
|
* Optional. Supported field/value: - `state` - MISSING|AVAILABLE|ERROR
|
|
4024
|
+
*
|
|
4025
|
+
* The syntax is based on https://google.aip.dev/160.
|
|
3908
4026
|
* @param {object} [options]
|
|
3909
4027
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
3910
4028
|
* @returns {Promise} - The promise which resolves to an array.
|
|
@@ -3939,6 +4057,8 @@ export declare class DlpServiceClient {
|
|
|
3939
4057
|
* results. If set, all other request fields must match the original request.
|
|
3940
4058
|
* @param {string} [request.filter]
|
|
3941
4059
|
* Optional. Supported field/value: - `state` - MISSING|AVAILABLE|ERROR
|
|
4060
|
+
*
|
|
4061
|
+
* The syntax is based on https://google.aip.dev/160.
|
|
3942
4062
|
* @param {object} [options]
|
|
3943
4063
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
3944
4064
|
* @returns {Stream}
|
|
@@ -3968,6 +4088,8 @@ export declare class DlpServiceClient {
|
|
|
3968
4088
|
* results. If set, all other request fields must match the original request.
|
|
3969
4089
|
* @param {string} [request.filter]
|
|
3970
4090
|
* Optional. Supported field/value: - `state` - MISSING|AVAILABLE|ERROR
|
|
4091
|
+
*
|
|
4092
|
+
* The syntax is based on https://google.aip.dev/160.
|
|
3971
4093
|
* @param {object} [options]
|
|
3972
4094
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
3973
4095
|
* @returns {Object}
|