Class: Google::Apis::DlpV2::GooglePrivacyDlpV2DataProfileAction
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2DataProfileAction
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dlp_v2/classes.rb,
lib/google/apis/dlp_v2/representations.rb,
lib/google/apis/dlp_v2/representations.rb
Overview
A task to execute when a data profile has been generated.
Instance Attribute Summary collapse
-
#export_data ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2Export
If set, the detailed data profiles will be persisted to the location of your choice whenever updated.
-
#pub_sub_notification ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2PubSubNotification
Send a Pub/Sub message into the given Pub/Sub topic to connect other systems to data profile generation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2DataProfileAction
constructor
A new instance of GooglePrivacyDlpV2DataProfileAction.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2DataProfileAction
Returns a new instance of GooglePrivacyDlpV2DataProfileAction.
2285 2286 2287 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 2285 def initialize(**args) update!(**args) end |
Instance Attribute Details
#export_data ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2Export
If set, the detailed data profiles will be persisted to the location of your
choice whenever updated.
Corresponds to the JSON property exportData
2276 2277 2278 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 2276 def export_data @export_data end |
#pub_sub_notification ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2PubSubNotification
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
.
Corresponds to the JSON property pubSubNotification
2283 2284 2285 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 2283 def pub_sub_notification @pub_sub_notification end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2290 2291 2292 2293 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 2290 def update!(**args) @export_data = args[:export_data] if args.key?(:export_data) @pub_sub_notification = args[:pub_sub_notification] if args.key?(:pub_sub_notification) end |