Class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Action

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dlp_v2beta2/classes.rb,
generated/google/apis/dlp_v2beta2/representations.rb,
generated/google/apis/dlp_v2beta2/representations.rb

Overview

A task to execute on the completion of a job.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2beta2Action

Returns a new instance of GooglePrivacyDlpV2beta2Action



1601
1602
1603
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 1601

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#pub_subGoogle::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2PublishToPubSub

Publish the results of a DlpJob to a pub sub channel. Compatible with: Inpect, Risk Corresponds to the JSON property pubSub



1593
1594
1595
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 1593

def pub_sub
  @pub_sub
end

#save_findingsGoogle::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2SaveFindings

If set, the detailed findings will be persisted to the specified OutputStorageConfig. Compatible with: Inspect Corresponds to the JSON property saveFindings



1599
1600
1601
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 1599

def save_findings
  @save_findings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1606
1607
1608
1609
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 1606

def update!(**args)
  @pub_sub = args[:pub_sub] if args.key?(:pub_sub)
  @save_findings = args[:save_findings] if args.key?(:save_findings)
end