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.
7034 7035 7036 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 7034 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
7026 7027 7028 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 7026 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
7032 7033 7034 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 7032 def min_row_count @min_row_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7039 7040 7041 7042 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 7039 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 |