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.



3768
3769
3770
# File 'lib/google/apis/dlp_v2/classes.rb', line 3768

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)


3766
3767
3768
# File 'lib/google/apis/dlp_v2/classes.rb', line 3766

def frequency
  @frequency
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3773
3774
3775
# File 'lib/google/apis/dlp_v2/classes.rb', line 3773

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