Class: Google::Cloud::Dlp::V2::InspectConfig::InfoTypeLikelihood
- Inherits:
-
Object
- Object
- Google::Cloud::Dlp::V2::InspectConfig::InfoTypeLikelihood
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/privacy/dlp/v2/dlp.rb
Overview
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.
Instance Attribute Summary collapse
-
#info_type ⇒ ::Google::Cloud::Dlp::V2::InfoType
Type of information the likelihood threshold applies to.
-
#min_likelihood ⇒ ::Google::Cloud::Dlp::V2::Likelihood
Only returns findings equal to or above this threshold.
Instance Attribute Details
#info_type ⇒ ::Google::Cloud::Dlp::V2::InfoType
Returns 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.
194 195 196 197 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 194 class InfoTypeLikelihood include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#min_likelihood ⇒ ::Google::Cloud::Dlp::V2::Likelihood
Returns Only returns findings equal to or above this threshold. This field is required or else the configuration fails.
194 195 196 197 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 194 class InfoTypeLikelihood include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |