Class: Google::Apis::DlpV2::GooglePrivacyDlpV2OrConditions

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2OrConditions

Returns a new instance of GooglePrivacyDlpV2OrConditions.



7336
7337
7338
# File 'lib/google/apis/dlp_v2/classes.rb', line 7336

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

Instance Attribute Details

#min_ageString

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

Returns:

  • (String)


7328
7329
7330
# File 'lib/google/apis/dlp_v2/classes.rb', line 7328

def min_age
  @min_age
end

#min_row_countFixnum

Minimum number of rows that should be present before Cloud DLP profiles a table Corresponds to the JSON property minRowCount

Returns:

  • (Fixnum)


7334
7335
7336
# File 'lib/google/apis/dlp_v2/classes.rb', line 7334

def min_row_count
  @min_row_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7341
7342
7343
7344
# File 'lib/google/apis/dlp_v2/classes.rb', line 7341

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