View Source GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2CustomInfoType (google_api_dlp v0.46.0)

Custom information type provided by the user. Used to find domain-specific sensitive information configurable to the data in question.

Attributes

  • detectionRules (type: list(GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2DetectionRule.t), default: nil) - Set of detection rules to apply to all findings of this CustomInfoType. Rules are applied in order that they are specified. Not supported for the surrogate_type CustomInfoType.
  • dictionary (type: GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2Dictionary.t, default: nil) - A list of phrases to detect as a CustomInfoType.
  • exclusionType (type: String.t, default: nil) - If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding to be returned. It still can be used for rules matching.
  • infoType (type: GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2InfoType.t, default: nil) - 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.
  • likelihood (type: String.t, default: nil) - 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.
  • regex (type: GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2Regex.t, default: nil) - Regular expression based CustomInfoType.
  • sensitivityScore (type: GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2SensitivityScore.t, default: nil) - Sensitivity for this CustomInfoType. If this CustomInfoType extends an existing InfoType, the sensitivity here will take precedence over that of the original InfoType. If unset for a CustomInfoType, it will default to HIGH. This only applies to data profiling.
  • storedType (type: GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2StoredType.t, default: nil) - Load an existing StoredInfoType resource for use in InspectDataSource. Not currently supported in InspectContent.
  • surrogateType (type: GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2SurrogateType.t, default: nil) - Message for detecting output from deidentification transformations that support reversing.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2CustomInfoType{
  detectionRules:
    [GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2DetectionRule.t()] | nil,
  dictionary: GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2Dictionary.t() | nil,
  exclusionType: String.t() | nil,
  infoType: GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2InfoType.t() | nil,
  likelihood: String.t() | nil,
  regex: GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2Regex.t() | nil,
  sensitivityScore:
    GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2SensitivityScore.t() | nil,
  storedType: GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2StoredType.t() | nil,
  surrogateType:
    GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2SurrogateType.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.