Cloud Data Loss Prevention (DLP) V2 API - Class Google::Cloud::Dlp::V2::DataProfilePubSubMessage (v0.11.0)

Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::DataProfilePubSubMessage.

The message that will be published to a Pub/Sub topic. To receive a message of protocol buffer schema type, convert the message data to an object of this proto class. https://cloud.google.com/pubsub/docs/samples/pubsub-subscribe-proto-messages

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#event

def event() -> ::Google::Cloud::Dlp::V2::DataProfileAction::EventType
Returns

#event=

def event=(value) -> ::Google::Cloud::Dlp::V2::DataProfileAction::EventType
Parameter
Returns

#profile

def profile() -> ::Google::Cloud::Dlp::V2::TableDataProfile
Returns

#profile=

def profile=(value) -> ::Google::Cloud::Dlp::V2::TableDataProfile
Parameter
  • value (::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.
Returns