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 \ V2Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description | 
| data | arrayOptional. Data for populating the Message object. | 
| ↳ quote | stringThe 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 | InfoTypeThe type of content that might have been found. | 
| ↳ quote_info | QuoteInfoContains data parsed from quotes. Currently supported infoTypes: DATE, DATE_OF_BIRTH, and TIME. | 
| ↳ data_profile_resource_name | stringResource name of the data profile associated with the finding. | 
| ↳ finding_id | stringA unique identifier for the finding. | 
| ↳ timestamp | Google\Protobuf\TimestampTimestamp when the finding was detected. | 
| ↳ location | DataProfileFindingLocationWhere the content was found. | 
| ↳ resource_visibility | intHow broadly a resource has been shared. | 
| ↳ full_resource_name | stringThe full resource name of the resource profiled for this finding. | 
| ↳ data_source_type | DataSourceTypeThe 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 | 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 | Enum of type ResourceVisibility. | 
setResourceVisibility
How broadly a resource has been shared.
| Parameter | |
|---|---|
| Name | Description | 
| var | intEnum of type ResourceVisibility. | 
| 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 | 
| DataSourceType|null | |
hasDataSourceType
clearDataSourceType
setDataSourceType
The type of the resource that was profiled.
| Parameter | |
|---|---|
| Name | Description | 
| var | DataSourceType | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |