Google Cloud Data Loss Prevention v2 API - Class CustomInfoType (4.8.0)

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

Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class CustomInfoType.

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
RepeatedFieldCustomInfoTypeTypesDetectionRule

Dictionary

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

A list of phrases to detect as a CustomInfoType.

Property Value
TypeDescription
CustomInfoTypeTypesDictionary

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
CustomInfoTypeTypesExclusionType

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
CustomInfoTypeTypesRegex

SensitivityScore

public SensitivityScore SensitivityScore { get; set; }

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.

Property Value
TypeDescription
SensitivityScore

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
CustomInfoTypeTypesSurrogateType

TypeCase

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