IfDetailLevelisFILE_STORE_PROFILEthis will be fully populated. Otherwise, ifDetailLevelisRESOURCE_NAME, then onlynameandfile_store_pathwill be populated.
↳ event
int
The event that caused the Pub/Sub message to be sent.
getProfile
IfDetailLevelisTABLE_PROFILEthis will be fully populated.
Otherwise, ifDetailLevelisRESOURCE_NAME, then onlynameandfull_resourcewill be populated.
[[["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 DataProfilePubSubMessage (2.6.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.6.1 (latest)](/php/docs/reference/cloud-dlp/latest/V2.DataProfilePubSubMessage)\n- [2.6.0](/php/docs/reference/cloud-dlp/2.6.0/V2.DataProfilePubSubMessage)\n- [2.4.1](/php/docs/reference/cloud-dlp/2.4.1/V2.DataProfilePubSubMessage)\n- [2.3.0](/php/docs/reference/cloud-dlp/2.3.0/V2.DataProfilePubSubMessage)\n- [2.2.3](/php/docs/reference/cloud-dlp/2.2.3/V2.DataProfilePubSubMessage)\n- [2.1.0](/php/docs/reference/cloud-dlp/2.1.0/V2.DataProfilePubSubMessage)\n- [2.0.0](/php/docs/reference/cloud-dlp/2.0.0/V2.DataProfilePubSubMessage)\n- [1.19.0](/php/docs/reference/cloud-dlp/1.19.0/V2.DataProfilePubSubMessage)\n- [1.18.0](/php/docs/reference/cloud-dlp/1.18.0/V2.DataProfilePubSubMessage)\n- [1.17.0](/php/docs/reference/cloud-dlp/1.17.0/V2.DataProfilePubSubMessage)\n- [1.16.0](/php/docs/reference/cloud-dlp/1.16.0/V2.DataProfilePubSubMessage)\n- [1.15.1](/php/docs/reference/cloud-dlp/1.15.1/V2.DataProfilePubSubMessage)\n- [1.14.0](/php/docs/reference/cloud-dlp/1.14.0/V2.DataProfilePubSubMessage)\n- [1.13.2](/php/docs/reference/cloud-dlp/1.13.2/V2.DataProfilePubSubMessage)\n- [1.12.0](/php/docs/reference/cloud-dlp/1.12.0/V2.DataProfilePubSubMessage)\n- [1.11.0](/php/docs/reference/cloud-dlp/1.11.0/V2.DataProfilePubSubMessage)\n- [1.10.2](/php/docs/reference/cloud-dlp/1.10.2/V2.DataProfilePubSubMessage)\n- [1.9.0](/php/docs/reference/cloud-dlp/1.9.0/V2.DataProfilePubSubMessage)\n- [1.8.6](/php/docs/reference/cloud-dlp/1.8.6/V2.DataProfilePubSubMessage) \nReference documentation and code samples for the Data Loss Prevention V2 Client class DataProfilePubSubMessage.\n\nPub/Sub topic message for a DataProfileAction.PubSubNotification event.\n\nTo receive a message of protocol buffer schema type, convert the message data\nto an object of this proto class.\n\nGenerated from protobuf message `google.privacy.dlp.v2.DataProfilePubSubMessage`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Dlp \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getProfile\n\nIf `DetailLevel` is `TABLE_PROFILE` this will be fully populated.\n\nOtherwise, if `DetailLevel` is `RESOURCE_NAME`, then only `name` and\n`full_resource` will be populated.\n\n### hasProfile\n\n### clearProfile\n\n### setProfile\n\nIf `DetailLevel` is `TABLE_PROFILE` this will be fully populated.\n\nOtherwise, if `DetailLevel` is `RESOURCE_NAME`, then only `name` and\n`full_resource` will be populated.\n\n### getFileStoreProfile\n\nIf `DetailLevel` is `FILE_STORE_PROFILE` this will be fully populated.\n\nOtherwise, if `DetailLevel` is `RESOURCE_NAME`, then only `name` and\n`file_store_path` will be populated.\n\n### hasFileStoreProfile\n\n### clearFileStoreProfile\n\n### setFileStoreProfile\n\nIf `DetailLevel` is `FILE_STORE_PROFILE` this will be fully populated.\n\nOtherwise, if `DetailLevel` is `RESOURCE_NAME`, then only `name` and\n`file_store_path` will be populated.\n\n### getEvent\n\nThe event that caused the Pub/Sub message to be sent.\n\n### setEvent\n\nThe event that caused the Pub/Sub message to be sent."]]