GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2InspectConfig (google_api_dlp v0.41.1) View Source

Configuration description of the scanning process. When used with redactContent only info_types and min_likelihood are currently used.

Attributes

  • contentOptions (type: list(String.t), default: nil) - List of options defining data content to scan. If empty, text, images, and other content will be included.
  • customInfoTypes (type: list(GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2CustomInfoType.t), default: nil) - CustomInfoTypes provided by the user. See https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn more.
  • excludeInfoTypes (type: boolean(), default: nil) - When true, excludes type information of the findings.
  • includeQuote (type: boolean(), default: nil) - When true, a contextual quote from the data that triggered a finding is included in the response; see Finding.quote.
  • infoTypes (type: list(GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2InfoType.t), default: nil) - 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.
  • limits (type: GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2FindingLimits.t, default: nil) - Configuration to control the number of findings returned.
  • minLikelihood (type: String.t, default: nil) - Only returns findings equal or above this threshold. The default is POSSIBLE. See https://cloud.google.com/dlp/docs/likelihood to learn more.
  • ruleSet (type: list(GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2InspectionRuleSet.t), default: nil) - Set of rules to apply to the findings for this InspectConfig. Exclusion rules, contained in the set are executed in the end, other rules are executed in the order they are specified for each info type.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2InspectConfig{
  contentOptions: [String.t()] | nil,
  customInfoTypes:
    [GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2CustomInfoType.t()] | nil,
  excludeInfoTypes: boolean() | nil,
  includeQuote: boolean() | nil,
  infoTypes: [GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2InfoType.t()] | nil,
  limits: GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2FindingLimits.t() | nil,
  minLikelihood: String.t() | nil,
  ruleSet:
    [GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2InspectionRuleSet.t()] | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.