Class: Google::Apis::DlpV2::GooglePrivacyDlpV2RequestedOptions

Inherits:
Object
  • Object
show all
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

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) ⇒ GooglePrivacyDlpV2RequestedOptions

Returns a new instance of GooglePrivacyDlpV2RequestedOptions



4802
4803
4804
# File 'generated/google/apis/dlp_v2/classes.rb', line 4802

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

Instance Attribute Details

#job_configGoogle::Apis::DlpV2::GooglePrivacyDlpV2InspectJobConfig

Corresponds to the JSON property jobConfig



4792
4793
4794
# File 'generated/google/apis/dlp_v2/classes.rb', line 4792

def job_config
  @job_config
end

#snapshot_inspect_templateGoogle::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



4800
4801
4802
# File 'generated/google/apis/dlp_v2/classes.rb', line 4800

def snapshot_inspect_template
  @snapshot_inspect_template
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4807
4808
4809
4810
# File 'generated/google/apis/dlp_v2/classes.rb', line 4807

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