Class: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryTableModifiedCadence
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryTableModifiedCadence
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dlp_v2/classes.rb,
lib/google/apis/dlp_v2/representations.rb,
lib/google/apis/dlp_v2/representations.rb
Overview
The cadence at which to update data profiles when a table is modified.
Instance Attribute Summary collapse
-
#frequency ⇒ String
How frequently data profiles can be updated when tables are modified.
-
#types ⇒ Array<String>
The type of events to consider when deciding if the table has been modified and should have the profile updated.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2DiscoveryTableModifiedCadence
constructor
A new instance of GooglePrivacyDlpV2DiscoveryTableModifiedCadence.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2DiscoveryTableModifiedCadence
Returns a new instance of GooglePrivacyDlpV2DiscoveryTableModifiedCadence.
3138 3139 3140 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 3138 def initialize(**args) update!(**args) end |
Instance Attribute Details
#frequency ⇒ String
How frequently data profiles can be updated when tables are modified. Defaults
to never.
Corresponds to the JSON property frequency
3130 3131 3132 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 3130 def frequency @frequency end |
#types ⇒ Array<String>
The type of events to consider when deciding if the table has been modified
and should have the profile updated. Defaults to MODIFIED_TIMESTAMP.
Corresponds to the JSON property types
3136 3137 3138 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 3136 def types @types end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3143 3144 3145 3146 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 3143 def update!(**args) @frequency = args[:frequency] if args.key?(:frequency) @types = args[:types] if args.key?(:types) end |