Class: Google::Apis::DlpV2::GooglePrivacyDlpV2Schedule
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2Schedule
- 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
Schedule for inspect job triggers.
Instance Attribute Summary collapse
-
#recurrence_period_duration ⇒ String
With this option a job is started on a regular periodic basis.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2Schedule
constructor
A new instance of GooglePrivacyDlpV2Schedule.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2Schedule
Returns a new instance of GooglePrivacyDlpV2Schedule.
8471 8472 8473 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 8471 def initialize(**args) update!(**args) end |
Instance Attribute Details
#recurrence_period_duration ⇒ String
With this option a job is started on a regular periodic basis. For example:
every day (86400 seconds). A scheduled start time will be skipped if the
previous execution has not ended when its scheduled time occurs. This value
must be set to a time duration greater than or equal to 1 day and can be no
longer than 60 days.
Corresponds to the JSON property recurrencePeriodDuration
8469 8470 8471 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 8469 def recurrence_period_duration @recurrence_period_duration end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8476 8477 8478 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 8476 def update!(**args) @recurrence_period_duration = args[:recurrence_period_duration] if args.key?(:recurrence_period_duration) end |