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. 
- 
  
    
      #publish_summary_to_cscc  ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2PublishSummaryToCscc 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Publish the result summary of a DlpJob to the Cloud Security Command Center (CSCC Alpha). 
- 
  
    
      #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
| 57 58 59 | # File 'generated/google/apis/dlp_v2/classes.rb', line 57 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: Inspect, 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 | 
#publish_summary_to_cscc ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2PublishSummaryToCscc
Publish the result summary of a DlpJob to the Cloud Security
Command Center (CSCC Alpha).
This action is only available for projects which are parts of
an organization and whitelisted for the alpha Cloud Security Command
Center.
The action will publish count of finding instances and their info types.
The summary of findings will be persisted in CSCC and are governed by CSCC
service-specific policy, see https://cloud.google.com/terms/service-terms
Only a single instance of this action can be specified.
Compatible with: Inspect
Corresponds to the JSON property publishSummaryToCscc
| 47 48 49 | # File 'generated/google/apis/dlp_v2/classes.rb', line 47 def publish_summary_to_cscc @publish_summary_to_cscc end | 
#save_findings ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2SaveFindings
If set, the detailed findings will be persisted to the specified
OutputStorageConfig. Only a single instance of this action can be
specified.
Compatible with: Inspect
Corresponds to the JSON property saveFindings
| 55 56 57 | # File 'generated/google/apis/dlp_v2/classes.rb', line 55 def save_findings @save_findings end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 62 63 64 65 66 | # File 'generated/google/apis/dlp_v2/classes.rb', line 62 def update!(**args) @pub_sub = args[:pub_sub] if args.key?(:pub_sub) @publish_summary_to_cscc = args[:publish_summary_to_cscc] if args.key?(:publish_summary_to_cscc) @save_findings = args[:save_findings] if args.key?(:save_findings) end |