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.



3805
3806
3807
# File 'lib/google/apis/dlp_v2/classes.rb', line 3805

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)


3803
3804
3805
# File 'lib/google/apis/dlp_v2/classes.rb', line 3803

def frequency
  @frequency
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3810
3811
3812
# File 'lib/google/apis/dlp_v2/classes.rb', line 3810

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