Class: Google::Cloud::Dlp::V2::DataProfileAction
- Inherits:
-
Object
- Object
- Google::Cloud::Dlp::V2::DataProfileAction
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/privacy/dlp/v2/dlp.rb
Overview
A task to execute when a data profile has been generated.
Defined Under Namespace
Modules: EventType Classes: Export, PubSubNotification
Instance Attribute Summary collapse
-
#export_data ⇒ ::Google::Cloud::Dlp::V2::DataProfileAction::Export
Export data profiles into a provided location.
-
#pub_sub_notification ⇒ ::Google::Cloud::Dlp::V2::DataProfileAction::PubSubNotification
Publish a message into the Pub/Sub topic.
Instance Attribute Details
#export_data ⇒ ::Google::Cloud::Dlp::V2::DataProfileAction::Export
Returns Export data profiles into a provided location.
3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 3735 class DataProfileAction include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # If set, the detailed data profiles will be persisted to the location # of your choice whenever updated. # @!attribute [rw] profile_table # @return [::Google::Cloud::Dlp::V2::BigQueryTable] # Store all table and column profiles in an existing table or a new table # in an existing dataset. Each re-generation will result in a new row in # BigQuery. class Export include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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`. # @!attribute [rw] topic # @return [::String] # Cloud Pub/Sub topic to send notifications to. # Format is projects/\\{project}/topics/\\{topic}. # @!attribute [rw] event # @return [::Google::Cloud::Dlp::V2::DataProfileAction::EventType] # The type of event that triggers a Pub/Sub. At most one # `PubSubNotification` per EventType is permitted. # @!attribute [rw] pubsub_condition # @return [::Google::Cloud::Dlp::V2::DataProfilePubSubCondition] # Conditions (e.g., data risk or sensitivity level) for triggering a # Pub/Sub. # @!attribute [rw] detail_of_message # @return [::Google::Cloud::Dlp::V2::DataProfileAction::PubSubNotification::DetailLevel] # 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). 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 resource name of the table. RESOURCE_NAME = 2 end end # Types of event that can trigger an action. module EventType # Unused. EVENT_TYPE_UNSPECIFIED = 0 # New profile (not a re-profile). NEW_PROFILE = 1 # Changed one of the following profile metrics: # * Table data risk score # * Table sensitivity score # * Table resource visibility # * Table encryption type # * Table predicted infoTypes # * Table other infoTypes CHANGED_PROFILE = 2 # Table data risk score or sensitivity score increased. SCORE_INCREASED = 3 # A user (non-internal) error occurred. ERROR_CHANGED = 4 end end |
#pub_sub_notification ⇒ ::Google::Cloud::Dlp::V2::DataProfileAction::PubSubNotification
Returns Publish a message into the Pub/Sub topic.
3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 |
# File 'proto_docs/google/privacy/dlp/v2/dlp.rb', line 3735 class DataProfileAction include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # If set, the detailed data profiles will be persisted to the location # of your choice whenever updated. # @!attribute [rw] profile_table # @return [::Google::Cloud::Dlp::V2::BigQueryTable] # Store all table and column profiles in an existing table or a new table # in an existing dataset. Each re-generation will result in a new row in # BigQuery. class Export include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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`. # @!attribute [rw] topic # @return [::String] # Cloud Pub/Sub topic to send notifications to. # Format is projects/\\{project}/topics/\\{topic}. # @!attribute [rw] event # @return [::Google::Cloud::Dlp::V2::DataProfileAction::EventType] # The type of event that triggers a Pub/Sub. At most one # `PubSubNotification` per EventType is permitted. # @!attribute [rw] pubsub_condition # @return [::Google::Cloud::Dlp::V2::DataProfilePubSubCondition] # Conditions (e.g., data risk or sensitivity level) for triggering a # Pub/Sub. # @!attribute [rw] detail_of_message # @return [::Google::Cloud::Dlp::V2::DataProfileAction::PubSubNotification::DetailLevel] # 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). 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 resource name of the table. RESOURCE_NAME = 2 end end # Types of event that can trigger an action. module EventType # Unused. EVENT_TYPE_UNSPECIFIED = 0 # New profile (not a re-profile). NEW_PROFILE = 1 # Changed one of the following profile metrics: # * Table data risk score # * Table sensitivity score # * Table resource visibility # * Table encryption type # * Table predicted infoTypes # * Table other infoTypes CHANGED_PROFILE = 2 # Table data risk score or sensitivity score increased. SCORE_INCREASED = 3 # A user (non-internal) error occurred. ERROR_CHANGED = 4 end end |