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

Configuration for setting a minimum likelihood per infotype. Used to customize the minimum likelihood level for specific infotypes in the request. For example, use this if you want to lower the precision for PERSON_NAME without lowering the precision for the other infotypes in the request.

Attributes

  • infoType (type: GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2InfoType.t, default: nil) - Type of information the likelihood threshold applies to. Only one likelihood per info_type should be provided. If InfoTypeLikelihood does not have an info_type, the configuration fails.
  • minLikelihood (type: String.t, default: nil) - Only returns findings equal to or above this threshold. This field is required or else the configuration fails.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2InfoTypeLikelihood{
  infoType: GoogleApi.DLP.V2.Model.GooglePrivacyDlpV2InfoType.t() | nil,
  minLikelihood: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.