infoTypes property

List<GooglePrivacyDlpV2InfoType>? infoTypes
getter/setter pair

A list of image-supported infoTypes—excluding document infoTypes—to be used as context for the exclusion rule.

A finding is excluded if its bounding box has the specified spatial relationship (defined by image_containment_type) with a finding of an infoType in this list. For example, if InspectionRuleSet.info_types includes OBJECT_TYPE/PERSON and this exclusion_rule specifies info_types as OBJECT_TYPE/PERSON/PASSPORT with image_containment_type set to encloses, then OBJECT_TYPE/PERSON findings will be excluded if they are fully contained within the bounding box of an OBJECT_TYPE/PERSON/PASSPORT finding.

Implementation

core.List<GooglePrivacyDlpV2InfoType>? infoTypes;