Class CustomInfoType (3.4.0)

public sealed class CustomInfoType : IMessage<CustomInfoType>, IEquatable<CustomInfoType>, IDeepCloneable<CustomInfoType>, IBufferMessage, IMessage

Custom information type provided by the user. Used to find domain-specific sensitive information configurable to the data in question.

Inheritance

Object > CustomInfoType

Namespace

Google.Cloud.Dlp.V2

Assembly

Google.Cloud.Dlp.V2.dll

Constructors

CustomInfoType()

public CustomInfoType()

CustomInfoType(CustomInfoType)

public CustomInfoType(CustomInfoType other)
Parameter
NameDescription
otherCustomInfoType

Properties

DetectionRules

public RepeatedField<CustomInfoType.Types.DetectionRule> DetectionRules { get; }

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_type CustomInfoType.

Property Value
TypeDescription
RepeatedField<CustomInfoType.Types.DetectionRule>

Dictionary

public CustomInfoType.Types.Dictionary Dictionary { get; set; }

A list of phrases to detect as a CustomInfoType.

Property Value
TypeDescription
CustomInfoType.Types.Dictionary

ExclusionType

public CustomInfoType.Types.ExclusionType ExclusionType { get; set; }

If set to EXCLUSION_TYPE_EXCLUDE this infoType will not cause a finding to be returned. It still can be used for rules matching.

Property Value
TypeDescription
CustomInfoType.Types.ExclusionType

InfoType

public InfoType InfoType { get; set; }

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_types field. Specifying the latter adds findings to the one detected by the system. If built-in info type is not specified in InspectContent.info_types list then the name is treated as a custom info type.

Property Value
TypeDescription
InfoType

Likelihood

public Likelihood Likelihood { get; set; }

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_LIKELY if not specified.

Property Value
TypeDescription
Likelihood

Regex

public CustomInfoType.Types.Regex Regex { get; set; }

Regular expression based CustomInfoType.

Property Value
TypeDescription
CustomInfoType.Types.Regex

StoredType

public StoredType StoredType { get; set; }

Load an existing StoredInfoType resource for use in InspectDataSource. Not currently supported in InspectContent.

Property Value
TypeDescription
StoredType

SurrogateType

public CustomInfoType.Types.SurrogateType SurrogateType { get; set; }

Message for detecting output from deidentification transformations that support reversing.

Property Value
TypeDescription
CustomInfoType.Types.SurrogateType

TypeCase

public CustomInfoType.TypeOneofCase TypeCase { get; }
Property Value
TypeDescription
CustomInfoType.TypeOneofCase