Class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2RequestedOptions

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

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

Returns a new instance of GooglePrivacyDlpV2beta2RequestedOptions



5459
5460
5461
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 5459

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

Instance Attribute Details

#job_configGoogle::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectJobConfig

Corresponds to the JSON property jobConfig



5450
5451
5452
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 5450

def job_config
  @job_config
end

#snapshot_inspect_templateGoogle::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectTemplate

The inspectTemplate contains a configuration (set of types of sensitive data to be detected) to be used anywhere you otherwise would normally specify InspectConfig. Corresponds to the JSON property snapshotInspectTemplate



5457
5458
5459
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 5457

def snapshot_inspect_template
  @snapshot_inspect_template
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5464
5465
5466
5467
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 5464

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