Class: Google::Apis::DlpV2::GooglePrivacyDlpV2RequestedOptions
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2RequestedOptions
- 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
Snapshot of the inspection configuration.
Instance Attribute Summary collapse
-
#job_config ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2InspectJobConfig
Controls what and how to inspect for findings.
-
#snapshot_inspect_template ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate
The inspectTemplate contains a configuration (set of types of sensitive data to be detected) to be used anywhere you otherwise would normally specify InspectConfig.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2RequestedOptions
constructor
A new instance of GooglePrivacyDlpV2RequestedOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2RequestedOptions
Returns a new instance of GooglePrivacyDlpV2RequestedOptions.
5298 5299 5300 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 5298 def initialize(**args) update!(**args) end |
Instance Attribute Details
#job_config ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2InspectJobConfig
Controls what and how to inspect for findings.
Corresponds to the JSON property jobConfig
5288 5289 5290 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 5288 def job_config @job_config end |
#snapshot_inspect_template ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2InspectTemplate
The inspectTemplate contains a configuration (set of types of sensitive data
to be detected) to be used anywhere you otherwise would normally specify
InspectConfig. See https://cloud.google.com/dlp/docs/concepts-templates to
learn more.
Corresponds to the JSON property snapshotInspectTemplate
5296 5297 5298 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 5296 def snapshot_inspect_template @snapshot_inspect_template end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5303 5304 5305 5306 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 5303 def update!(**args) @job_config = args[:job_config] if args.key?(:job_config) @snapshot_inspect_template = args[:snapshot_inspect_template] if args.key?(:snapshot_inspect_template) end |