Data Loss Prevention V2 Client - Class DataProfileFinding (2.4.0)

Reference documentation and code samples for the Data Loss Prevention V2 Client class DataProfileFinding.

Details about a piece of potentially sensitive information that was detected when the data resource was profiled.

Generated from protobuf message google.privacy.dlp.v2.DataProfileFinding

Namespace

Google \ Cloud \ Dlp \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ quote string

The content that was found. Even if the content is not textual, it may be converted to a textual representation here. If the finding exceeds 4096 bytes in length, the quote may be omitted.

↳ infotype InfoType

The type of content that might have been found.

↳ quote_info QuoteInfo

Contains data parsed from quotes. Currently supported infoTypes: DATE, DATE_OF_BIRTH, and TIME.

↳ data_profile_resource_name string

Resource name of the data profile associated with the finding.

↳ finding_id string

A unique identifier for the finding.

↳ timestamp Google\Protobuf\Timestamp

Timestamp when the finding was detected.

↳ location DataProfileFindingLocation

Where the content was found.

↳ resource_visibility int

How broadly a resource has been shared.

getQuote

The content that was found. Even if the content is not textual, it may be converted to a textual representation here. If the finding exceeds 4096 bytes in length, the quote may be omitted.

Returns
Type Description
string

setQuote

The content that was found. Even if the content is not textual, it may be converted to a textual representation here. If the finding exceeds 4096 bytes in length, the quote may be omitted.

Parameter
Name Description
var string
Returns
Type Description
$this

getInfotype

The type of content that might have been found.

Returns
Type Description
InfoType|null

hasInfotype

clearInfotype

setInfotype

The type of content that might have been found.

Parameter
Name Description
var InfoType
Returns
Type Description
$this

getQuoteInfo

Contains data parsed from quotes. Currently supported infoTypes: DATE, DATE_OF_BIRTH, and TIME.

Returns
Type Description
QuoteInfo|null

hasQuoteInfo

clearQuoteInfo

setQuoteInfo

Contains data parsed from quotes. Currently supported infoTypes: DATE, DATE_OF_BIRTH, and TIME.

Parameter
Name Description
var QuoteInfo
Returns
Type Description
$this

getDataProfileResourceName

Resource name of the data profile associated with the finding.

Returns
Type Description
string

setDataProfileResourceName

Resource name of the data profile associated with the finding.

Parameter
Name Description
var string
Returns
Type Description
$this

getFindingId

A unique identifier for the finding.

Returns
Type Description
string

setFindingId

A unique identifier for the finding.

Parameter
Name Description
var string
Returns
Type Description
$this

getTimestamp

Timestamp when the finding was detected.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasTimestamp

clearTimestamp

setTimestamp

Timestamp when the finding was detected.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getLocation

Where the content was found.

Returns
Type Description
DataProfileFindingLocation|null

hasLocation

clearLocation

setLocation

Where the content was found.

Parameter
Name Description
var DataProfileFindingLocation
Returns
Type Description
$this

getResourceVisibility

How broadly a resource has been shared.

Returns
Type Description
int

setResourceVisibility

How broadly a resource has been shared.

Parameter
Name Description
var int
Returns
Type Description
$this