Class: Google::Cloud::Dlp::V2::DataProfileAction::PubSubNotification

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/privacy/dlp/v2/dlp.rb

Overview

Send a Pub/Sub message into the given Pub/Sub topic to connect other systems to data profile generation. The message payload data will be the byte serialization of DataProfilePubSubMessage.

Defined Under Namespace

Modules: DetailLevel

Instance Attribute Summary collapse

Instance Attribute Details

#detail_of_message::Google::Cloud::Dlp::V2::DataProfileAction::PubSubNotification::DetailLevel

Returns How much data to include in the Pub/Sub message. If the user wishes to limit the size of the message, they can use resource_name and fetch the profile fields they wish to. Per table profile (not per column).

Returns:



4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 4114

class PubSubNotification
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The levels of detail that can be included in the Pub/Sub message.
  module DetailLevel
    # Unused.
    DETAIL_LEVEL_UNSPECIFIED = 0

    # The full table data profile.
    TABLE_PROFILE = 1

    # The name of the profiled resource.
    RESOURCE_NAME = 2

    # The full file store data profile.
    FILE_STORE_PROFILE = 3
  end
end

#event::Google::Cloud::Dlp::V2::DataProfileAction::EventType

Returns The type of event that triggers a Pub/Sub. At most one PubSubNotification per EventType is permitted.

Returns:



4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 4114

class PubSubNotification
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The levels of detail that can be included in the Pub/Sub message.
  module DetailLevel
    # Unused.
    DETAIL_LEVEL_UNSPECIFIED = 0

    # The full table data profile.
    TABLE_PROFILE = 1

    # The name of the profiled resource.
    RESOURCE_NAME = 2

    # The full file store data profile.
    FILE_STORE_PROFILE = 3
  end
end

#pubsub_condition::Google::Cloud::Dlp::V2::DataProfilePubSubCondition

Returns Conditions (e.g., data risk or sensitivity level) for triggering a Pub/Sub.

Returns:



4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 4114

class PubSubNotification
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The levels of detail that can be included in the Pub/Sub message.
  module DetailLevel
    # Unused.
    DETAIL_LEVEL_UNSPECIFIED = 0

    # The full table data profile.
    TABLE_PROFILE = 1

    # The name of the profiled resource.
    RESOURCE_NAME = 2

    # The full file store data profile.
    FILE_STORE_PROFILE = 3
  end
end

#topic::String

Returns Cloud Pub/Sub topic to send notifications to. Format is projects/{project}/topics/{topic}.

Returns:

  • (::String)

    Cloud Pub/Sub topic to send notifications to. Format is projects/{project}/topics/{topic}.



4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 4114

class PubSubNotification
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The levels of detail that can be included in the Pub/Sub message.
  module DetailLevel
    # Unused.
    DETAIL_LEVEL_UNSPECIFIED = 0

    # The full table data profile.
    TABLE_PROFILE = 1

    # The name of the profiled resource.
    RESOURCE_NAME = 2

    # The full file store data profile.
    FILE_STORE_PROFILE = 3
  end
end