Class: Google::Apis::DlpV2::GooglePrivacyDlpV2SchemaModifiedCadence
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2SchemaModifiedCadence
- 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
How frequently to modify the profile when the table's schema is modified.
Instance Attribute Summary collapse
-
#frequency ⇒ String
Frequency to regenerate data profiles when the schema is modified.
-
#types ⇒ Array<String>
The types of schema modifications to consider.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2SchemaModifiedCadence
constructor
A new instance of GooglePrivacyDlpV2SchemaModifiedCadence.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2SchemaModifiedCadence
Returns a new instance of GooglePrivacyDlpV2SchemaModifiedCadence.
8496 8497 8498 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 8496 def initialize(**args) update!(**args) end |
Instance Attribute Details
#frequency ⇒ String
Frequency to regenerate data profiles when the schema is modified. Defaults to
monthly.
Corresponds to the JSON property frequency
8489 8490 8491 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 8489 def frequency @frequency end |
#types ⇒ Array<String>
The types of schema modifications to consider. Defaults to NEW_COLUMNS.
Corresponds to the JSON property types
8494 8495 8496 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 8494 def types @types end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8501 8502 8503 8504 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 8501 def update!(**args) @frequency = args[:frequency] if args.key?(:frequency) @types = args[:types] if args.key?(:types) end |