GooglePrivacyDlpV2CustomInfoType class
Custom information type provided by the user. Used to find domain-specific sensitive information configurable to the data in question.
Constructors
-
GooglePrivacyDlpV2CustomInfoType({Input<
List< ? detectionRules, Input<GooglePrivacyDlpV2DetectionRule> >GooglePrivacyDlpV2Dictionary> ? dictionary, Input<GooglePrivacyDlpV2CustomInfoTypeExclusionType> ? exclusionType, Input<GooglePrivacyDlpV2InfoType> ? infoType, Input<GooglePrivacyDlpV2CustomInfoTypeLikelihood> ? likelihood, Input<GooglePrivacyDlpV2Regex> ? regex, Input<GooglePrivacyDlpV2SensitivityScore> ? sensitivityScore, Input<GooglePrivacyDlpV2StoredType> ? storedType, Input<Map< ? surrogateType})String, dynamic> > -
Creates a new GooglePrivacyDlpV2CustomInfoType.
detectionRulesSet of detection rules to apply to all findings of this CustomInfoType. Rules are applied in order that they are specified. Not supported for thesurrogate_typeCustomInfoType.dictionaryA list of phrases to detect as a CustomInfoType.exclusionTypeIf set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding to be returned. It still can be used for rules matching.infoTypeCustomInfoType can either be a new infoType, or an extension of built-in infoType, when the name matches one of existing infoTypes and that infoType is specified inInspectContent.info_typesfield. Specifying the latter adds findings to the one detected by the system. If built-in info type is not specified inInspectContent.info_typeslist then the name is treated as a custom info type.likelihoodLikelihood to return for this CustomInfoType. This base value can be altered by a detection rule if the finding meets the criteria specified by the rule. Defaults toVERY_LIKELYif not specified.regexRegular expression based CustomInfoType.sensitivityScoreSensitivity for this CustomInfoType. If this CustomInfoType extends an existing InfoType, the sensitivity here will take precedence over that of the original InfoType. If unset for a CustomInfoType, it will default to HIGH. This only applies to data profiling.storedTypeLoad an existingStoredInfoTyperesource for use inInspectDataSource. Not currently supported inInspectContent.surrogateTypeMessage for detecting output from deidentification transformations that support reversing.const -
GooglePrivacyDlpV2CustomInfoType.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
detectionRules
→ Input<
List< ?GooglePrivacyDlpV2DetectionRule> > -
Set of detection rules to apply to all findings of this CustomInfoType. Rules are applied in order that they are specified. Not supported for the
surrogate_typeCustomInfoType.final -
dictionary
→ Input<
GooglePrivacyDlpV2Dictionary> ? -
A list of phrases to detect as a CustomInfoType.
final
-
exclusionType
→ Input<
GooglePrivacyDlpV2CustomInfoTypeExclusionType> ? -
If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding to be returned. It still can be used for rules matching.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
infoType
→ Input<
GooglePrivacyDlpV2InfoType> ? -
CustomInfoType can either be a new infoType, or an extension of built-in infoType, when the name matches one of existing infoTypes and that infoType is specified in
InspectContent.info_typesfield. Specifying the latter adds findings to the one detected by the system. If built-in info type is not specified inInspectContent.info_typeslist then the name is treated as a custom info type.final -
likelihood
→ Input<
GooglePrivacyDlpV2CustomInfoTypeLikelihood> ? -
Likelihood to return for this CustomInfoType. This base value can be altered by a detection rule if the finding meets the criteria specified by the rule. Defaults to
VERY_LIKELYif not specified.final -
regex
→ Input<
GooglePrivacyDlpV2Regex> ? -
Regular expression based CustomInfoType.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sensitivityScore
→ Input<
GooglePrivacyDlpV2SensitivityScore> ? -
Sensitivity for this CustomInfoType. If this CustomInfoType extends an existing InfoType, the sensitivity here will take precedence over that of the original InfoType. If unset for a CustomInfoType, it will default to HIGH. This only applies to data profiling.
final
-
storedType
→ Input<
GooglePrivacyDlpV2StoredType> ? -
Load an existing
StoredInfoTyperesource for use inInspectDataSource. Not currently supported inInspectContent.final -
surrogateType
→ Input<
Map< ?String, dynamic> > -
Message for detecting output from deidentification transformations that support reversing.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited