Google Cloud Data Loss Prevention v2 API - Class Finding (4.10.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
Name Description
other Finding

Properties

CreateTime

public Timestamp CreateTime { get; set; }

Timestamp when finding was detected.

Property Value
Type Description
Timestamp

FindingId

public string FindingId { get; set; }

The unique finding id.

Property Value
Type Description
string

FindingName

public FindingName FindingName { get; set; }

FindingName-typed view over the Name resource name property.

Property Value
Type Description
FindingName

InfoType

public InfoType InfoType { get; set; }

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

Property Value
Type Description
InfoType

JobCreateTime

public Timestamp JobCreateTime { get; set; }

Time the job started that produced this finding.

Property Value
Type Description
Timestamp

JobName

public string JobName { get; set; }

The job that stored the finding.

Property Value
Type Description
string

JobNameAsDlpJobName

public DlpJobName JobNameAsDlpJobName { get; set; }

DlpJobName-typed view over the JobName resource name property.

Property Value
Type Description
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
Type Description
MapFieldstringstring

Likelihood

public Likelihood Likelihood { get; set; }

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

Property Value
Type Description
Likelihood

Location

public Location Location { get; set; }

Where the content was found.

Property Value
Type Description
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
Type Description
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
Type Description
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
Type Description
QuoteInfo

ResourceName

public string ResourceName { get; set; }

The job that stored the finding.

Property Value
Type Description
string

ResourceNameAsDlpJobName

public DlpJobName ResourceNameAsDlpJobName { get; set; }

DlpJobName-typed view over the ResourceName resource name property.

Property Value
Type Description
DlpJobName

TriggerName

public string TriggerName { get; set; }

Job trigger name, if applicable, for this finding.

Property Value
Type Description
string

TriggerNameAsJobTriggerName

public JobTriggerName TriggerNameAsJobTriggerName { get; set; }

JobTriggerName-typed view over the TriggerName resource name property.

Property Value
Type Description
JobTriggerName