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

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.

Inheritance

object > Finding

Namespace

Google.Cloud.Dlp.V2

Assembly

Google.Cloud.Dlp.V2.dll

Constructors

Finding()

public Finding()

Finding(Finding)

public Finding(Finding other)
Parameter
NameDescription
otherFinding

Properties

CreateTime

public Timestamp CreateTime { get; set; }

Timestamp when finding was detected.

Property Value
TypeDescription
Timestamp

FindingId

public string FindingId { get; set; }

The unique finding id.

Property Value
TypeDescription
string

FindingName

public FindingName FindingName { get; set; }

FindingName-typed view over the Name resource name property.

Property Value
TypeDescription
FindingName

InfoType

public InfoType InfoType { get; set; }

The type of content that might have been found. Provided if excluded_types is false.

Property Value
TypeDescription
InfoType

JobCreateTime

public Timestamp JobCreateTime { get; set; }

Time the job started that produced this finding.

Property Value
TypeDescription
Timestamp

JobName

public string JobName { get; set; }

The job that stored the finding.

Property Value
TypeDescription
string

JobNameAsDlpJobName

public DlpJobName JobNameAsDlpJobName { get; set; }

DlpJobName-typed view over the JobName resource name property.

Property Value
TypeDescription
DlpJobName

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"
Property Value
TypeDescription
MapFieldstringstring

Likelihood

public Likelihood Likelihood { get; set; }

Confidence of how likely it is that the info_type is correct.

Property Value
TypeDescription
Likelihood

Location

public Location Location { get; set; }

Where the content was found.

Property Value
TypeDescription
Location

Name

public string Name { get; set; }

Resource name in format projects/{project}/locations/{location}/findings/{finding} Populated only when viewing persisted findings.

Property Value
TypeDescription
string

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.

Property Value
TypeDescription
string

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.

Property Value
TypeDescription
QuoteInfo

ResourceName

public string ResourceName { get; set; }

The job that stored the finding.

Property Value
TypeDescription
string

ResourceNameAsDlpJobName

public DlpJobName ResourceNameAsDlpJobName { get; set; }

DlpJobName-typed view over the ResourceName resource name property.

Property Value
TypeDescription
DlpJobName

TriggerName

public string TriggerName { get; set; }

Job trigger name, if applicable, for this finding.

Property Value
TypeDescription
string

TriggerNameAsJobTriggerName

public JobTriggerName TriggerNameAsJobTriggerName { get; set; }

JobTriggerName-typed view over the TriggerName resource name property.

Property Value
TypeDescription
JobTriggerName