Dlp/src/V2/CustomInfoType.php
public function setExclusionType($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Dlp\V2\CustomInfoType_ExclusionType::class);
        $this->exclusion_type = $var;

        return $this;
    }
public function setExclusionType($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Dlp\V2\CustomInfoType_ExclusionType::class);
        $this->exclusion_type = $var;

        return $this;
    }
public function setExclusionType ( $ var ) { GPBUtil :: checkEnum ( $ var , \ Google \ Cloud \ Dlp \ V2 \ CustomInfoType_ExclusionType :: class ) ; $ this -> exclusion_type = $ var ; return $ this ; }
If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding
to be returned. It still can be used for rules matching.

Generated from protobuf field <code>.google.privacy.dlp.v2.CustomInfoType.ExclusionType exclusion_type = 8;</code>
@param int $var
@return $this
If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding to be returned . It still can be used for rules matching .