Skip to content

Commit 08353cb

Browse files
feat(dlp): update the api
#### dlp:v2 The following keys were added: - schemas.GooglePrivacyDlpV2InfoType.properties.version.type (Total Keys: 1)
1 parent aad517c commit 08353cb

19 files changed

+666
-1
lines changed

docs/dyn/dlp_v2.organizations.deidentifyTemplates.html

Lines changed: 48 additions & 0 deletions
Large diffs are not rendered by default.

docs/dyn/dlp_v2.organizations.inspectTemplates.html

Lines changed: 30 additions & 0 deletions
Large diffs are not rendered by default.

docs/dyn/dlp_v2.organizations.locations.deidentifyTemplates.html

Lines changed: 48 additions & 0 deletions
Large diffs are not rendered by default.

docs/dyn/dlp_v2.organizations.locations.dlpJobs.html

Lines changed: 15 additions & 0 deletions
Large diffs are not rendered by default.

docs/dyn/dlp_v2.organizations.locations.inspectTemplates.html

Lines changed: 30 additions & 0 deletions
Large diffs are not rendered by default.

docs/dyn/dlp_v2.organizations.locations.jobTriggers.html

Lines changed: 30 additions & 0 deletions
Large diffs are not rendered by default.

docs/dyn/dlp_v2.projects.content.html

Lines changed: 48 additions & 0 deletions
Large diffs are not rendered by default.

docs/dyn/dlp_v2.projects.deidentifyTemplates.html

Lines changed: 48 additions & 0 deletions
Large diffs are not rendered by default.

docs/dyn/dlp_v2.projects.dlpJobs.html

Lines changed: 52 additions & 0 deletions
Large diffs are not rendered by default.

docs/dyn/dlp_v2.projects.image.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ <h3>Method Details</h3>
104104
{ # Configuration for determining how redaction of images should occur.
105105
&quot;infoType&quot;: { # 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.
106106
&quot;name&quot;: &quot;A String&quot;, # 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+
&quot;version&quot;: &quot;A String&quot;, # Optional version name for this InfoType.
107108
},
108109
&quot;redactAllText&quot;: 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.
109110
&quot;redactionColor&quot;: { # 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>
153154
&quot;exclusionType&quot;: &quot;A String&quot;, # If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding to be returned. It still can be used for rules matching.
154155
&quot;infoType&quot;: { # 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.
155156
&quot;name&quot;: &quot;A String&quot;, # 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+
&quot;version&quot;: &quot;A String&quot;, # Optional version name for this InfoType.
156158
},
157159
&quot;likelihood&quot;: &quot;A String&quot;, # 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.
158160
&quot;regex&quot;: { # Message defining a custom regular expression. # Regular expression based CustomInfoType.
@@ -174,13 +176,15 @@ <h3>Method Details</h3>
174176
&quot;infoTypes&quot;: [ # 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.
175177
{ # Type of information detected by the API.
176178
&quot;name&quot;: &quot;A String&quot;, # 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+
&quot;version&quot;: &quot;A String&quot;, # Optional version name for this InfoType.
177180
},
178181
],
179182
&quot;limits&quot;: { # Configuration to control the number of findings returned. Cannot be set if de-identification is requested. # Configuration to control the number of findings returned.
180183
&quot;maxFindingsPerInfoType&quot;: [ # Configuration of findings limit given for specified infoTypes.
181184
{ # Max findings configuration per infoType, per content item or long running DlpJob.
182185
&quot;infoType&quot;: { # 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.
183186
&quot;name&quot;: &quot;A String&quot;, # 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+
&quot;version&quot;: &quot;A String&quot;, # Optional version name for this InfoType.
184188
},
185189
&quot;maxFindings&quot;: 42, # Max findings limit for the given infoType.
186190
},
@@ -194,6 +198,7 @@ <h3>Method Details</h3>
194198
&quot;infoTypes&quot;: [ # List of infoTypes this rule set is applied to.
195199
{ # Type of information detected by the API.
196200
&quot;name&quot;: &quot;A String&quot;, # 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+
&quot;version&quot;: &quot;A String&quot;, # Optional version name for this InfoType.
197202
},
198203
],
199204
&quot;rules&quot;: [ # Set of rules to be applied to infoTypes. The rules are applied in order.
@@ -213,6 +218,7 @@ <h3>Method Details</h3>
213218
&quot;infoTypes&quot;: [ # 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 &quot;PHONE_NUMBER&quot;` and `exclusion_rule` containing `exclude_info_types.info_types` with &quot;EMAIL_ADDRESS&quot; the phone number findings are dropped if they overlap with EMAIL_ADDRESS finding. That leads to &quot;[email protected]&quot; to generate only a single finding, namely email address.
214219
{ # Type of information detected by the API.
215220
&quot;name&quot;: &quot;A String&quot;, # 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+
&quot;version&quot;: &quot;A String&quot;, # Optional version name for this InfoType.
216222
},
217223
],
218224
},
@@ -265,6 +271,7 @@ <h3>Method Details</h3>
265271
&quot;findingId&quot;: &quot;A String&quot;, # The unique finding id.
266272
&quot;infoType&quot;: { # Type of information detected by the API. # The type of content that might have been found. Provided if `excluded_types` is false.
267273
&quot;name&quot;: &quot;A String&quot;, # 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+
&quot;version&quot;: &quot;A String&quot;, # Optional version name for this InfoType.
268275
},
269276
&quot;jobCreateTime&quot;: &quot;A String&quot;, # Time the job started that produced this finding.
270277
&quot;jobName&quot;: &quot;A String&quot;, # The job that stored the finding.

0 commit comments

Comments
 (0)