Class: Google::Apis::DlpV2::GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence

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

The cadence at which to update data profiles when the inspection rules defined by the InspectTemplate change.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence

Returns a new instance of GooglePrivacyDlpV2DiscoveryInspectTemplateModifiedCadence.



3966
3967
3968
# File 'lib/google/apis/dlp_v2/classes.rb', line 3966

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

Instance Attribute Details

#frequencyString

How frequently data profiles can be updated when the template is modified. Defaults to never. Corresponds to the JSON property frequency

Returns:

  • (String)


3964
3965
3966
# File 'lib/google/apis/dlp_v2/classes.rb', line 3964

def frequency
  @frequency
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3971
3972
3973
# File 'lib/google/apis/dlp_v2/classes.rb', line 3971

def update!(**args)
  @frequency = args[:frequency] if args.key?(:frequency)
end