Skip to content

Commit

Permalink
feat(dlp): update the api
Browse files Browse the repository at this point in the history
#### dlp:v2

The following keys were added:
- schemas.GooglePrivacyDlpV2CustomInfoType.properties.sensitivityScore.$ref (Total Keys: 1)
- schemas.GooglePrivacyDlpV2InfoType.properties.sensitivityScore.$ref (Total Keys: 1)
  • Loading branch information
yoshi-automation committed May 24, 2023
1 parent 0dcb026 commit 419d8d3
Show file tree
Hide file tree
Showing 21 changed files with 3,075 additions and 61 deletions.
4 changes: 2 additions & 2 deletions docs/dyn/dlp_v2.infoTypes.html
Expand Up @@ -116,8 +116,8 @@ <h3>Method Details</h3>
&quot;description&quot;: &quot;A String&quot;, # Description of the infotype. Translated when language is provided in the request.
&quot;displayName&quot;: &quot;A String&quot;, # Human readable form of the infoType name.
&quot;name&quot;: &quot;A String&quot;, # Internal name of the infoType.
&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.
&quot;score&quot;: &quot;A String&quot;, # The score applied to the resource.
&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.
&quot;score&quot;: &quot;A String&quot;, # The sensitivity score applied to the resource.
},
&quot;supportedBy&quot;: [ # Which parts of the API supports this InfoType.
&quot;A String&quot;,
Expand Down
4 changes: 2 additions & 2 deletions docs/dyn/dlp_v2.locations.infoTypes.html
Expand Up @@ -116,8 +116,8 @@ <h3>Method Details</h3>
&quot;description&quot;: &quot;A String&quot;, # Description of the infotype. Translated when language is provided in the request.
&quot;displayName&quot;: &quot;A String&quot;, # Human readable form of the infoType name.
&quot;name&quot;: &quot;A String&quot;, # Internal name of the infoType.
&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.
&quot;score&quot;: &quot;A String&quot;, # The score applied to the resource.
&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.
&quot;score&quot;: &quot;A String&quot;, # The sensitivity score applied to the resource.
},
&quot;supportedBy&quot;: [ # Which parts of the API supports this InfoType.
&quot;A String&quot;,
Expand Down
162 changes: 162 additions & 0 deletions docs/dyn/dlp_v2.organizations.deidentifyTemplates.html

Large diffs are not rendered by default.

108 changes: 108 additions & 0 deletions docs/dyn/dlp_v2.organizations.inspectTemplates.html

Large diffs are not rendered by default.

162 changes: 162 additions & 0 deletions docs/dyn/dlp_v2.organizations.locations.deidentifyTemplates.html

Large diffs are not rendered by default.

142 changes: 137 additions & 5 deletions docs/dyn/dlp_v2.organizations.locations.dlpJobs.html

Large diffs are not rendered by default.

108 changes: 108 additions & 0 deletions docs/dyn/dlp_v2.organizations.locations.inspectTemplates.html

Large diffs are not rendered by default.

108 changes: 108 additions & 0 deletions docs/dyn/dlp_v2.organizations.locations.jobTriggers.html

Large diffs are not rendered by default.

159 changes: 159 additions & 0 deletions docs/dyn/dlp_v2.projects.content.html

Large diffs are not rendered by default.

162 changes: 162 additions & 0 deletions docs/dyn/dlp_v2.projects.deidentifyTemplates.html

Large diffs are not rendered by default.

450 changes: 435 additions & 15 deletions docs/dyn/dlp_v2.projects.dlpJobs.html

Large diffs are not rendered by default.

24 changes: 24 additions & 0 deletions docs/dyn/dlp_v2.projects.image.html
Expand Up @@ -104,6 +104,9 @@ <h3>Method Details</h3>
{ # Configuration for determining how redaction of images should occur.
&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.
&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}`.
&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.
&quot;score&quot;: &quot;A String&quot;, # The sensitivity score applied to the resource.
},
&quot;version&quot;: &quot;A String&quot;, # Optional version name for this InfoType.
},
&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.
Expand Down Expand Up @@ -154,6 +157,9 @@ <h3>Method Details</h3>
&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.
&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.
&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}`.
&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.
&quot;score&quot;: &quot;A String&quot;, # The sensitivity score applied to the resource.
},
&quot;version&quot;: &quot;A String&quot;, # Optional version name for this InfoType.
},
&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.
Expand All @@ -163,6 +169,9 @@ <h3>Method Details</h3>
],
&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.
},
&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.
&quot;score&quot;: &quot;A String&quot;, # The sensitivity score applied to the resource.
},
&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`.
&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.
&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`.
Expand All @@ -176,6 +185,9 @@ <h3>Method Details</h3>
&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.
{ # Type of information detected by the API.
&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}`.
&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.
&quot;score&quot;: &quot;A String&quot;, # The sensitivity score applied to the resource.
},
&quot;version&quot;: &quot;A String&quot;, # Optional version name for this InfoType.
},
],
Expand All @@ -184,6 +196,9 @@ <h3>Method Details</h3>
{ # Max findings configuration per infoType, per content item or long running DlpJob.
&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.
&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}`.
&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.
&quot;score&quot;: &quot;A String&quot;, # The sensitivity score applied to the resource.
},
&quot;version&quot;: &quot;A String&quot;, # Optional version name for this InfoType.
},
&quot;maxFindings&quot;: 42, # Max findings limit for the given infoType.
Expand All @@ -198,6 +213,9 @@ <h3>Method Details</h3>
&quot;infoTypes&quot;: [ # List of infoTypes this rule set is applied to.
{ # Type of information detected by the API.
&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}`.
&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.
&quot;score&quot;: &quot;A String&quot;, # The sensitivity score applied to the resource.
},
&quot;version&quot;: &quot;A String&quot;, # Optional version name for this InfoType.
},
],
Expand Down Expand Up @@ -230,6 +248,9 @@ <h3>Method Details</h3>
&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.
{ # Type of information detected by the API.
&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}`.
&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.
&quot;score&quot;: &quot;A String&quot;, # The sensitivity score applied to the resource.
},
&quot;version&quot;: &quot;A String&quot;, # Optional version name for this InfoType.
},
],
Expand Down Expand Up @@ -283,6 +304,9 @@ <h3>Method Details</h3>
&quot;findingId&quot;: &quot;A String&quot;, # The unique finding id.
&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.
&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}`.
&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.
&quot;score&quot;: &quot;A String&quot;, # The sensitivity score applied to the resource.
},
&quot;version&quot;: &quot;A String&quot;, # Optional version name for this InfoType.
},
&quot;jobCreateTime&quot;: &quot;A String&quot;, # Time the job started that produced this finding.
Expand Down

0 comments on commit 419d8d3

Please sign in to comment.