You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/dyn/dlp_v2.projects.image.html
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -104,6 +104,7 @@ <h3>Method Details</h3>
104
104
{ # Configuration for determining how redaction of images should occur.
105
105
"infoType": { # Type of information detected by the API. # Only one per info_type should be provided per request. If not specified, and redact_all_text is false, the DLP API will redact all text that it matches against all info_types that are found, but not specified in another ImageRedactionConfig.
106
106
"name": "A String", # Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference when specifying a built-in type. When sending Cloud DLP results to Data Catalog, infoType names should conform to the pattern `[A-Za-z0-9$-_]{1,64}`.
107
+
"version": "A String", # Optional version name for this InfoType.
107
108
},
108
109
"redactAllText": True or False, # If true, all text found in the image, regardless whether it matches an info_type, is redacted. Only one should be provided.
109
110
"redactionColor": { # Represents a color in the RGB color space. # The color to use when redacting content from an image. If not specified, the default is black.
@@ -153,6 +154,7 @@ <h3>Method Details</h3>
153
154
"exclusionType": "A String", # If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding to be returned. It still can be used for rules matching.
154
155
"infoType": { # Type of information detected by the API. # CustomInfoType can either be a new infoType, or an extension of built-in infoType, when the name matches one of existing infoTypes and that infoType is specified in `InspectContent.info_types` field. Specifying the latter adds findings to the one detected by the system. If built-in info type is not specified in `InspectContent.info_types` list then the name is treated as a custom info type.
155
156
"name": "A String", # Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference when specifying a built-in type. When sending Cloud DLP results to Data Catalog, infoType names should conform to the pattern `[A-Za-z0-9$-_]{1,64}`.
157
+
"version": "A String", # Optional version name for this InfoType.
156
158
},
157
159
"likelihood": "A String", # Likelihood to return for this CustomInfoType. This base value can be altered by a detection rule if the finding meets the criteria specified by the rule. Defaults to `VERY_LIKELY` if not specified.
158
160
"regex": { # Message defining a custom regular expression. # Regular expression based CustomInfoType.
@@ -174,13 +176,15 @@ <h3>Method Details</h3>
174
176
"infoTypes": [ # Restricts what info_types to look for. The values must correspond to InfoType values returned by ListInfoTypes or listed at https://cloud.google.com/dlp/docs/infotypes-reference. When no InfoTypes or CustomInfoTypes are specified in a request, the system may automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated. If you need precise control and predictability as to what detectors are run you should specify specific InfoTypes listed in the reference, otherwise a default list will be used, which may change over time.
175
177
{ # Type of information detected by the API.
176
178
"name": "A String", # Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference when specifying a built-in type. When sending Cloud DLP results to Data Catalog, infoType names should conform to the pattern `[A-Za-z0-9$-_]{1,64}`.
179
+
"version": "A String", # Optional version name for this InfoType.
177
180
},
178
181
],
179
182
"limits": { # Configuration to control the number of findings returned. Cannot be set if de-identification is requested. # Configuration to control the number of findings returned.
180
183
"maxFindingsPerInfoType": [ # Configuration of findings limit given for specified infoTypes.
181
184
{ # Max findings configuration per infoType, per content item or long running DlpJob.
182
185
"infoType": { # Type of information detected by the API. # Type of information the findings limit applies to. Only one limit per info_type should be provided. If InfoTypeLimit does not have an info_type, the DLP API applies the limit against all info_types that are found but not specified in another InfoTypeLimit.
183
186
"name": "A String", # Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference when specifying a built-in type. When sending Cloud DLP results to Data Catalog, infoType names should conform to the pattern `[A-Za-z0-9$-_]{1,64}`.
187
+
"version": "A String", # Optional version name for this InfoType.
184
188
},
185
189
"maxFindings": 42, # Max findings limit for the given infoType.
186
190
},
@@ -194,6 +198,7 @@ <h3>Method Details</h3>
194
198
"infoTypes": [ # List of infoTypes this rule set is applied to.
195
199
{ # Type of information detected by the API.
196
200
"name": "A String", # Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference when specifying a built-in type. When sending Cloud DLP results to Data Catalog, infoType names should conform to the pattern `[A-Za-z0-9$-_]{1,64}`.
201
+
"version": "A String", # Optional version name for this InfoType.
197
202
},
198
203
],
199
204
"rules": [ # Set of rules to be applied to infoTypes. The rules are applied in order.
@@ -213,6 +218,7 @@ <h3>Method Details</h3>
213
218
"infoTypes": [ # InfoType list in ExclusionRule rule drops a finding when it overlaps or contained within with a finding of an infoType from this list. For example, for `InspectionRuleSet.info_types` containing "PHONE_NUMBER"` and `exclusion_rule` containing `exclude_info_types.info_types` with "EMAIL_ADDRESS" the phone number findings are dropped if they overlap with EMAIL_ADDRESS finding. That leads to "[email protected]" to generate only a single finding, namely email address.
214
219
{ # Type of information detected by the API.
215
220
"name": "A String", # Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference when specifying a built-in type. When sending Cloud DLP results to Data Catalog, infoType names should conform to the pattern `[A-Za-z0-9$-_]{1,64}`.
221
+
"version": "A String", # Optional version name for this InfoType.
216
222
},
217
223
],
218
224
},
@@ -265,6 +271,7 @@ <h3>Method Details</h3>
265
271
"findingId": "A String", # The unique finding id.
266
272
"infoType": { # Type of information detected by the API. # The type of content that might have been found. Provided if `excluded_types` is false.
267
273
"name": "A String", # Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/dlp/docs/infotypes-reference when specifying a built-in type. When sending Cloud DLP results to Data Catalog, infoType names should conform to the pattern `[A-Za-z0-9$-_]{1,64}`.
274
+
"version": "A String", # Optional version name for this InfoType.
268
275
},
269
276
"jobCreateTime": "A String", # Time the job started that produced this finding.
270
277
"jobName": "A String", # The job that stored the finding.
0 commit comments