Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::InspectConfig::InfoTypeLikelihood.
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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#info_type
def info_type() -> ::Google::Cloud::Dlp::V2::InfoType
- (::Google::Cloud::Dlp::V2::InfoType) — 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.
#info_type=
def info_type=(value) -> ::Google::Cloud::Dlp::V2::InfoType
- value (::Google::Cloud::Dlp::V2::InfoType) — 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.
- (::Google::Cloud::Dlp::V2::InfoType) — 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.
#min_likelihood
def min_likelihood() -> ::Google::Cloud::Dlp::V2::Likelihood
- (::Google::Cloud::Dlp::V2::Likelihood) — Only returns findings equal to or above this threshold. This field is required or else the configuration fails.
#min_likelihood=
def min_likelihood=(value) -> ::Google::Cloud::Dlp::V2::Likelihood
- value (::Google::Cloud::Dlp::V2::Likelihood) — Only returns findings equal to or above this threshold. This field is required or else the configuration fails.
- (::Google::Cloud::Dlp::V2::Likelihood) — Only returns findings equal to or above this threshold. This field is required or else the configuration fails.