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 messagegoogle.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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Data Loss Prevention V2 Client - Class DataProfileFinding (2.6.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.6.1 (latest)](/php/docs/reference/cloud-dlp/latest/V2.DataProfileFinding)\n- [2.6.0](/php/docs/reference/cloud-dlp/2.6.0/V2.DataProfileFinding)\n- [2.4.1](/php/docs/reference/cloud-dlp/2.4.1/V2.DataProfileFinding)\n- [2.3.0](/php/docs/reference/cloud-dlp/2.3.0/V2.DataProfileFinding)\n- [2.2.3](/php/docs/reference/cloud-dlp/2.2.3/V2.DataProfileFinding)\n- [2.1.0](/php/docs/reference/cloud-dlp/2.1.0/V2.DataProfileFinding)\n- [2.0.0](/php/docs/reference/cloud-dlp/2.0.0/V2.DataProfileFinding)\n- [1.19.0](/php/docs/reference/cloud-dlp/1.19.0/V2.DataProfileFinding)\n- [1.18.0](/php/docs/reference/cloud-dlp/1.18.0/V2.DataProfileFinding)\n- [1.17.0](/php/docs/reference/cloud-dlp/1.17.0/V2.DataProfileFinding)\n- [1.16.0](/php/docs/reference/cloud-dlp/1.16.0/V2.DataProfileFinding)\n- [1.15.1](/php/docs/reference/cloud-dlp/1.15.1/V2.DataProfileFinding)\n- [1.14.0](/php/docs/reference/cloud-dlp/1.14.0/V2.DataProfileFinding)\n- [1.13.2](/php/docs/reference/cloud-dlp/1.13.2/V2.DataProfileFinding)\n- [1.12.0](/php/docs/reference/cloud-dlp/1.12.0/V2.DataProfileFinding)\n- [1.11.0](/php/docs/reference/cloud-dlp/1.11.0/V2.DataProfileFinding)\n- [1.10.2](/php/docs/reference/cloud-dlp/1.10.2/V2.DataProfileFinding)\n- [1.9.0](/php/docs/reference/cloud-dlp/1.9.0/V2.DataProfileFinding)\n- [1.8.6](/php/docs/reference/cloud-dlp/1.8.6/V2.DataProfileFinding) \nReference documentation and code samples for the Data Loss Prevention V2 Client class DataProfileFinding.\n\nDetails about a piece of potentially sensitive information that was detected\nwhen the data resource was profiled.\n\nGenerated from protobuf message `google.privacy.dlp.v2.DataProfileFinding`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Dlp \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getQuote\n\nThe content that was found. Even if the content is not textual, it\nmay be converted to a textual representation here. If the finding exceeds\n4096 bytes in length, the quote may be omitted.\n\n### setQuote\n\nThe content that was found. Even if the content is not textual, it\nmay be converted to a textual representation here. If the finding exceeds\n4096 bytes in length, the quote may be omitted.\n\n### getInfotype\n\nThe [type of\ncontent](https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference)\nthat might have been found.\n\n### hasInfotype\n\n### clearInfotype\n\n### setInfotype\n\nThe [type of\ncontent](https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference)\nthat might have been found.\n\n### getQuoteInfo\n\nContains data parsed from quotes. Currently supported infoTypes: DATE,\nDATE_OF_BIRTH, and TIME.\n\n### hasQuoteInfo\n\n### clearQuoteInfo\n\n### setQuoteInfo\n\nContains data parsed from quotes. Currently supported infoTypes: DATE,\nDATE_OF_BIRTH, and TIME.\n\n### getDataProfileResourceName\n\nResource name of the data profile associated with the finding.\n\n### setDataProfileResourceName\n\nResource name of the data profile associated with the finding.\n\n### getFindingId\n\nA unique identifier for the finding.\n\n### setFindingId\n\nA unique identifier for the finding.\n\n### getTimestamp\n\nTimestamp when the finding was detected.\n\n### hasTimestamp\n\n### clearTimestamp\n\n### setTimestamp\n\nTimestamp when the finding was detected.\n\n### getLocation\n\nWhere the content was found.\n\n### hasLocation\n\n### clearLocation\n\n### setLocation\n\nWhere the content was found.\n\n### getResourceVisibility\n\nHow broadly a resource has been shared.\n\n### setResourceVisibility\n\nHow broadly a resource has been shared.\n\n### getFullResourceName\n\nThe [full resource\nname](https://cloud.google.com/apis/design/resource_names#full_resource_name)\nof the resource profiled for this finding.\n\n### setFullResourceName\n\nThe [full resource\nname](https://cloud.google.com/apis/design/resource_names#full_resource_name)\nof the resource profiled for this finding.\n\n### getDataSourceType\n\nThe type of the resource that was profiled.\n\n### hasDataSourceType\n\n### clearDataSourceType\n\n### setDataSourceType\n\nThe type of the resource that was profiled."]]