Class: Google::Apis::DlpV2::GooglePrivacyDlpV2Action
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2Action
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dlp_v2/classes.rb,
generated/google/apis/dlp_v2/representations.rb,
generated/google/apis/dlp_v2/representations.rb
Overview
A task to execute on the completion of a job.
Instance Attribute Summary collapse
-
#pub_sub ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2PublishToPubSub
Publish the results of a DlpJob to a pub sub channel.
-
#save_findings ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2SaveFindings
If set, the detailed findings will be persisted to the specified OutputStorageConfig.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2Action
constructor
A new instance of GooglePrivacyDlpV2Action.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2Action
Returns a new instance of GooglePrivacyDlpV2Action
41 42 43 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 41 def initialize(**args) update!(**args) end |
Instance Attribute Details
#pub_sub ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2PublishToPubSub
Publish the results of a DlpJob to a pub sub channel.
Compatible with: Inpect, Risk
Corresponds to the JSON property pubSub
33 34 35 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 33 def pub_sub @pub_sub end |
#save_findings ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2SaveFindings
If set, the detailed findings will be persisted to the specified
OutputStorageConfig. Compatible with: Inspect
Corresponds to the JSON property saveFindings
39 40 41 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 39 def save_findings @save_findings end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
46 47 48 49 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 46 def update!(**args) @pub_sub = args[:pub_sub] if args.key?(:pub_sub) @save_findings = args[:save_findings] if args.key?(:save_findings) end |