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.
Implements
IMessage<CustomInfoType>, IEquatable<CustomInfoType>, IDeepCloneable<CustomInfoType>, IBufferMessage, IMessageNamespace
Google.Cloud.Dlp.V2Assembly
Google.Cloud.Dlp.V2.dll
Constructors
CustomInfoType()
public CustomInfoType()
CustomInfoType(CustomInfoType)
public CustomInfoType(CustomInfoType other)
Parameter | |
---|---|
Name | Description |
other | CustomInfoType |
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 | |
---|---|
Type | Description |
RepeatedField<CustomInfoType.Types.DetectionRule> |
Dictionary
public CustomInfoType.Types.Dictionary Dictionary { get; set; }
A list of phrases to detect as a CustomInfoType.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
Likelihood |
Regex
public CustomInfoType.Types.Regex Regex { get; set; }
Regular expression based CustomInfoType.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
StoredType |
SurrogateType
public CustomInfoType.Types.SurrogateType SurrogateType { get; set; }
Message for detecting output from deidentification transformations that support reversing.
Property Value | |
---|---|
Type | Description |
CustomInfoType.Types.SurrogateType |
TypeCase
public CustomInfoType.TypeOneofCase TypeCase { get; }
Property Value | |
---|---|
Type | Description |
CustomInfoType.TypeOneofCase |