public sealed class Finding : IMessage<Finding>, IEquatable<Finding>, IDeepCloneable<Finding>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class Finding.
Represents a piece of potentially sensitive content.
Implements
IMessage Finding , IEquatable Finding , IDeepCloneable Finding , IBufferMessage , IMessageNamespace
Google.Cloud.Dlp.V2Assembly
Google.Cloud.Dlp.V2.dll
Constructors
Finding()
public Finding()
Finding(Finding)
public Finding(Finding other)
Properties
CreateTime
public Timestamp CreateTime { get; set; }
Timestamp when finding was detected.
FindingId
public string FindingId { get; set; }
The unique finding id.
FindingName
public FindingName FindingName { get; set; }
FindingName -typed view over the Name resource name property.
InfoType
public InfoType InfoType { get; set; }
The type of content that might have been found.
Provided if excluded_types
is false.
JobCreateTime
public Timestamp JobCreateTime { get; set; }
Time the job started that produced this finding.
JobName
public string JobName { get; set; }
The job that stored the finding.
JobNameAsDlpJobName
public DlpJobName JobNameAsDlpJobName { get; set; }
DlpJobName -typed view over the JobName resource name property.
Labels
public MapField<string, string> Labels { get; }
The labels associated with this Finding
.
Label keys must be between 1 and 63 characters long and must conform
to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])?
.
Label values must be between 0 and 63 characters long and must conform
to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?
.
No more than 10 labels can be associated with a given finding.
Examples:
-
"environment" : "production"
-
"pipeline" : "etl"
Likelihood
public Likelihood Likelihood { get; set; }
Confidence of how likely it is that the info_type
is correct.
Location
public Location Location { get; set; }
Where the content was found.
Name
public string Name { get; set; }
Resource name in format projects/{project}/locations/{location}/findings/{finding} Populated only when viewing persisted findings.
Quote
public string Quote { get; set; }
The content that was found. Even if the content is not textual, it
may be converted to a textual representation here.
Provided if include_quote
is true and the finding is
less than or equal to 4096 bytes long. If the finding exceeds 4096 bytes
in length, the quote may be omitted.
QuoteInfo
public QuoteInfo QuoteInfo { get; set; }
Contains data parsed from quotes. Only populated if include_quote was set to true and a supported infoType was requested. Currently supported infoTypes: DATE, DATE_OF_BIRTH and TIME.
ResourceName
public string ResourceName { get; set; }
The job that stored the finding.
ResourceNameAsDlpJobName
public DlpJobName ResourceNameAsDlpJobName { get; set; }
DlpJobName -typed view over the ResourceName resource name property.
TriggerName
public string TriggerName { get; set; }
Job trigger name, if applicable, for this finding.
TriggerNameAsJobTriggerName
public JobTriggerName TriggerNameAsJobTriggerName { get; set; }
JobTriggerName -typed view over the TriggerName resource name property.