Class: Google::Apis::DlpV2::GooglePrivacyDlpV2OrConditions
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2OrConditions
- 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
There is an OR relationship between these attributes. They are used to determine if a table should be scanned or not in Discovery.
Instance Attribute Summary collapse
-
#min_age ⇒ String
Minimum age a table must have before Cloud DLP can profile it.
-
#min_row_count ⇒ Fixnum
Minimum number of rows that should be present before Cloud DLP profiles a table Corresponds to the JSON property
minRowCount
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2OrConditions
constructor
A new instance of GooglePrivacyDlpV2OrConditions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2OrConditions
Returns a new instance of GooglePrivacyDlpV2OrConditions.
7335 7336 7337 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 7335 def initialize(**args) update!(**args) end |
Instance Attribute Details
#min_age ⇒ String
Minimum age a table must have before Cloud DLP can profile it. Value must be 1
hour or greater.
Corresponds to the JSON property minAge
7327 7328 7329 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 7327 def min_age @min_age end |
#min_row_count ⇒ Fixnum
Minimum number of rows that should be present before Cloud DLP profiles a
table
Corresponds to the JSON property minRowCount
7333 7334 7335 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 7333 def min_row_count @min_row_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7340 7341 7342 7343 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 7340 def update!(**args) @min_age = args[:min_age] if args.key?(:min_age) @min_row_count = args[:min_row_count] if args.key?(:min_row_count) end |