Reference documentation and code samples for the Data Loss Prevention V2 Client class 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.
Generated from protobuf message google.privacy.dlp.v2.InspectConfig.InfoTypeLikelihood
Namespace
Google \ Cloud \ Dlp \ V2 \ InspectConfigMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ info_type
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
int
Only returns findings equal to or above this threshold. This field is required or else the configuration fails.
getInfoType
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.
hasInfoType
clearInfoType
setInfoType
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.
$this
getMinLikelihood
Only returns findings equal to or above this threshold. This field is required or else the configuration fails.
int
setMinLikelihood
Only returns findings equal to or above this threshold. This field is required or else the configuration fails.
var
int
$this