Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#event
def event() -> ::Google::Cloud::Dlp::V2::DataProfileAction::EventType
Returns
- (::Google::Cloud::Dlp::V2::DataProfileAction::EventType) — The event that caused the Pub/Sub message to be sent.
#event=
def event=(value) -> ::Google::Cloud::Dlp::V2::DataProfileAction::EventType
Parameter
- value (::Google::Cloud::Dlp::V2::DataProfileAction::EventType) — The event that caused the Pub/Sub message to be sent.
Returns
- (::Google::Cloud::Dlp::V2::DataProfileAction::EventType) — The event that caused the Pub/Sub message to be sent.
#profile
def profile() -> ::Google::Cloud::Dlp::V2::TableDataProfile
Returns
-
(::Google::Cloud::Dlp::V2::TableDataProfile) — If
DetailLevel
isTABLE_PROFILE
this will be fully populated. Otherwise, ifDetailLevel
isRESOURCE_NAME
, then onlyname
andfull_resource
will be populated.
#profile=
def profile=(value) -> ::Google::Cloud::Dlp::V2::TableDataProfile
Parameter
-
value (::Google::Cloud::Dlp::V2::TableDataProfile) — If
DetailLevel
isTABLE_PROFILE
this will be fully populated. Otherwise, ifDetailLevel
isRESOURCE_NAME
, then onlyname
andfull_resource
will be populated.
Returns
-
(::Google::Cloud::Dlp::V2::TableDataProfile) — If
DetailLevel
isTABLE_PROFILE
this will be fully populated. Otherwise, ifDetailLevel
isRESOURCE_NAME
, then onlyname
andfull_resource
will be populated.