Data Loss Prevention V2 Client - Class DataProfileFinding (2.6.1)

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.

↳ full_resource_name
string

The full resource name of the resource profiled for this finding.

↳ data_source_type
DataSourceType

The type of the resource that was profiled.

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
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
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

hasTimestamp

clearTimestamp

setTimestamp

Timestamp when the finding was detected.

Parameter
Name
Description
Returns
Type
Description
$this

getLocation

Where the content was found.

Returns
Type
Description

hasLocation

clearLocation

setLocation

Where the content was found.

Parameter
Name
Description
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

getFullResourceName

The full resource name of the resource profiled for this finding.

Returns
Type
Description
string

setFullResourceName

The full resource name of the resource profiled for this finding.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getDataSourceType

The type of the resource that was profiled.

Returns
Type
Description

hasDataSourceType

clearDataSourceType

setDataSourceType

The type of the resource that was profiled.

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: