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.
#file_store_profile
def file_store_profile() -> ::Google::Cloud::Dlp::V2::FileStoreDataProfile
Returns
-
(::Google::Cloud::Dlp::V2::FileStoreDataProfile) — If
DetailLevel
isFILE_STORE_PROFILE
this will be fully populated. Otherwise, ifDetailLevel
isRESOURCE_NAME
, then onlyname
andfile_store_path
will be populated.
#file_store_profile=
def file_store_profile=(value) -> ::Google::Cloud::Dlp::V2::FileStoreDataProfile
Parameter
-
value (::Google::Cloud::Dlp::V2::FileStoreDataProfile) — If
DetailLevel
isFILE_STORE_PROFILE
this will be fully populated. Otherwise, ifDetailLevel
isRESOURCE_NAME
, then onlyname
andfile_store_path
will be populated.
Returns
-
(::Google::Cloud::Dlp::V2::FileStoreDataProfile) — If
DetailLevel
isFILE_STORE_PROFILE
this will be fully populated. Otherwise, ifDetailLevel
isRESOURCE_NAME
, then onlyname
andfile_store_path
will be populated.
#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.