Reference documentation and code samples for the Data Loss Prevention V2 Client class DataProfilePubSubMessage.
Pub/Sub topic message for a DataProfileAction.PubSubNotification event.
To receive a message of protocol buffer schema type, convert the message data to an object of this proto class.
Generated from protobuf message google.privacy.dlp.v2.DataProfilePubSubMessage
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ profile
Google\Cloud\Dlp\V2\TableDataProfile
If DetailLevel
is TABLE_PROFILE
this will be fully populated. Otherwise, if DetailLevel
is RESOURCE_NAME
, then only name
and full_resource
will be populated.
↳ event
int
The event that caused the Pub/Sub message to be sent.
getProfile
If DetailLevel
is TABLE_PROFILE
this will be fully populated.
Otherwise, if DetailLevel
is RESOURCE_NAME
, then only name
and full_resource
will be populated.
hasProfile
clearProfile
setProfile
If DetailLevel
is TABLE_PROFILE
this will be fully populated.
Otherwise, if DetailLevel
is RESOURCE_NAME
, then only name
and full_resource
will be populated.
$this
getEvent
The event that caused the Pub/Sub message to be sent.
int
setEvent
The event that caused the Pub/Sub message to be sent.
var
int
$this