Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 419d8d3

Browse files
committedMay 24, 2023
feat(dlp): update the api
#### dlp:v2 The following keys were added: - schemas.GooglePrivacyDlpV2CustomInfoType.properties.sensitivityScore.$ref (Total Keys: 1) - schemas.GooglePrivacyDlpV2InfoType.properties.sensitivityScore.$ref (Total Keys: 1)
1 parent 0dcb026 commit 419d8d3

21 files changed

+3075
-61
lines changed
 

‎docs/dyn/dlp_v2.infoTypes.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ <h3>Method Details</h3>
116116
&quot;description&quot;: &quot;A String&quot;, # Description of the infotype. Translated when language is provided in the request.
117117
&quot;displayName&quot;: &quot;A String&quot;, # Human readable form of the infoType name.
118118
&quot;name&quot;: &quot;A String&quot;, # Internal name of the infoType.
119-
&quot;sensitivityScore&quot;: { # Score is a summary of all elements in the data profile. A higher number means more sensitive. # The default sensitivity of the infoType.
120-
&quot;score&quot;: &quot;A String&quot;, # The score applied to the resource.
119+
&quot;sensitivityScore&quot;: { # Score is calculated from of all elements in the data profile. A higher level means the data is more sensitive. # The default sensitivity of the infoType.
120+
&quot;score&quot;: &quot;A String&quot;, # The sensitivity score applied to the resource.
121121
},
122122
&quot;supportedBy&quot;: [ # Which parts of the API supports this InfoType.
123123
&quot;A String&quot;,

‎docs/dyn/dlp_v2.locations.infoTypes.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ <h3>Method Details</h3>
116116
&quot;description&quot;: &quot;A String&quot;, # Description of the infotype. Translated when language is provided in the request.
117117
&quot;displayName&quot;: &quot;A String&quot;, # Human readable form of the infoType name.
118118
&quot;name&quot;: &quot;A String&quot;, # Internal name of the infoType.
119-
&quot;sensitivityScore&quot;: { # Score is a summary of all elements in the data profile. A higher number means more sensitive. # The default sensitivity of the infoType.
120-
&quot;score&quot;: &quot;A String&quot;, # The score applied to the resource.
119+
&quot;sensitivityScore&quot;: { # Score is calculated from of all elements in the data profile. A higher level means the data is more sensitive. # The default sensitivity of the infoType.
120+
&quot;score&quot;: &quot;A String&quot;, # The sensitivity score applied to the resource.
121121
},
122122
&quot;supportedBy&quot;: [ # Which parts of the API supports this InfoType.
123123
&quot;A String&quot;,

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

+162
Large diffs are not rendered by default.

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

+108
Large diffs are not rendered by default.

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

+162
Large diffs are not rendered by default.

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

+137-5
Large diffs are not rendered by default.

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

+108
Large diffs are not rendered by default.

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

+108
Large diffs are not rendered by default.

‎docs/dyn/dlp_v2.projects.content.html

+159
Large diffs are not rendered by default.

‎docs/dyn/dlp_v2.projects.deidentifyTemplates.html

+162
Large diffs are not rendered by default.

‎docs/dyn/dlp_v2.projects.dlpJobs.html

+435-15
Large diffs are not rendered by default.

‎docs/dyn/dlp_v2.projects.image.html

+24
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,9 @@ <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;sensitivityScore&quot;: { # Score is calculated from of all elements in the data profile. A higher level means the data is more sensitive. # Optional custom sensitivity for this InfoType. This only applies to data profiling.
108+
&quot;score&quot;: &quot;A String&quot;, # The sensitivity score applied to the resource.
109+
},
107110
&quot;version&quot;: &quot;A String&quot;, # Optional version name for this InfoType.
108111
},
109112
&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.
@@ -154,6 +157,9 @@ <h3>Method Details</h3>
154157
&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.
155158
&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.
156159
&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}`.
160+
&quot;sensitivityScore&quot;: { # Score is calculated from of all elements in the data profile. A higher level means the data is more sensitive. # Optional custom sensitivity for this InfoType. This only applies to data profiling.
161+
&quot;score&quot;: &quot;A String&quot;, # The sensitivity score applied to the resource.
162+
},
157163
&quot;version&quot;: &quot;A String&quot;, # Optional version name for this InfoType.
158164
},
159165
&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.
@@ -163,6 +169,9 @@ <h3>Method Details</h3>
163169
],
164170
&quot;pattern&quot;: &quot;A String&quot;, # Pattern defining the regular expression. Its syntax (https://github.com/google/re2/wiki/Syntax) can be found under the google/re2 repository on GitHub.
165171
},
172+
&quot;sensitivityScore&quot;: { # Score is calculated from of all elements in the data profile. A higher level means the data is more sensitive. # Sensitivity for this CustomInfoType. If this CustomInfoType extends an existing InfoType, the sensitivity here will take precedent over that of the original InfoType. If unset for a CustomInfoType, it will default to HIGH. This only applies to data profiling.
173+
&quot;score&quot;: &quot;A String&quot;, # The sensitivity score applied to the resource.
174+
},
166175
&quot;storedType&quot;: { # A reference to a StoredInfoType to use with scanning. # Load an existing `StoredInfoType` resource for use in `InspectDataSource`. Not currently supported in `InspectContent`.
167176
&quot;createTime&quot;: &quot;A String&quot;, # Timestamp indicating when the version of the `StoredInfoType` used for inspection was created. Output-only field, populated by the system.
168177
&quot;name&quot;: &quot;A String&quot;, # Resource name of the requested `StoredInfoType`, for example `organizations/433245324/storedInfoTypes/432452342` or `projects/project-id/storedInfoTypes/432452342`.
@@ -176,6 +185,9 @@ <h3>Method Details</h3>
176185
&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.
177186
{ # Type of information detected by the API.
178187
&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}`.
188+
&quot;sensitivityScore&quot;: { # Score is calculated from of all elements in the data profile. A higher level means the data is more sensitive. # Optional custom sensitivity for this InfoType. This only applies to data profiling.
189+
&quot;score&quot;: &quot;A String&quot;, # The sensitivity score applied to the resource.
190+
},
179191
&quot;version&quot;: &quot;A String&quot;, # Optional version name for this InfoType.
180192
},
181193
],
@@ -184,6 +196,9 @@ <h3>Method Details</h3>
184196
{ # Max findings configuration per infoType, per content item or long running DlpJob.
185197
&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.
186198
&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}`.
199+
&quot;sensitivityScore&quot;: { # Score is calculated from of all elements in the data profile. A higher level means the data is more sensitive. # Optional custom sensitivity for this InfoType. This only applies to data profiling.
200+
&quot;score&quot;: &quot;A String&quot;, # The sensitivity score applied to the resource.
201+
},
187202
&quot;version&quot;: &quot;A String&quot;, # Optional version name for this InfoType.
188203
},
189204
&quot;maxFindings&quot;: 42, # Max findings limit for the given infoType.
@@ -198,6 +213,9 @@ <h3>Method Details</h3>
198213
&quot;infoTypes&quot;: [ # List of infoTypes this rule set is applied to.
199214
{ # Type of information detected by the API.
200215
&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}`.
216+
&quot;sensitivityScore&quot;: { # Score is calculated from of all elements in the data profile. A higher level means the data is more sensitive. # Optional custom sensitivity for this InfoType. This only applies to data profiling.
217+
&quot;score&quot;: &quot;A String&quot;, # The sensitivity score applied to the resource.
218+
},
201219
&quot;version&quot;: &quot;A String&quot;, # Optional version name for this InfoType.
202220
},
203221
],
@@ -230,6 +248,9 @@ <h3>Method Details</h3>
230248
&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;555-222-2222@example.org&quot; to generate only a single finding, namely email address.
231249
{ # Type of information detected by the API.
232250
&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}`.
251+
&quot;sensitivityScore&quot;: { # Score is calculated from of all elements in the data profile. A higher level means the data is more sensitive. # Optional custom sensitivity for this InfoType. This only applies to data profiling.
252+
&quot;score&quot;: &quot;A String&quot;, # The sensitivity score applied to the resource.
253+
},
233254
&quot;version&quot;: &quot;A String&quot;, # Optional version name for this InfoType.
234255
},
235256
],
@@ -283,6 +304,9 @@ <h3>Method Details</h3>
283304
&quot;findingId&quot;: &quot;A String&quot;, # The unique finding id.
284305
&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.
285306
&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}`.
307+
&quot;sensitivityScore&quot;: { # Score is calculated from of all elements in the data profile. A higher level means the data is more sensitive. # Optional custom sensitivity for this InfoType. This only applies to data profiling.
308+
&quot;score&quot;: &quot;A String&quot;, # The sensitivity score applied to the resource.
309+
},
286310
&quot;version&quot;: &quot;A String&quot;, # Optional version name for this InfoType.
287311
},
288312
&quot;jobCreateTime&quot;: &quot;A String&quot;, # Time the job started that produced this finding.

0 commit comments

Comments
 (0)
Please sign in to comment.