Class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Schedule

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dlp_v2beta2/classes.rb,
generated/google/apis/dlp_v2beta2/representations.rb,
generated/google/apis/dlp_v2beta2/representations.rb

Overview

Schedule for triggeredJobs.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2beta2Schedule

Returns a new instance of GooglePrivacyDlpV2beta2Schedule



5591
5592
5593
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 5591

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

Instance Attribute Details

#reccurrence_period_durationString

With this option a job is started a regular periodic basis. For example: every 10 minutes. 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 60 minutes and can be no longer than 60 days. Corresponds to the JSON property reccurrencePeriodDuration

Returns:

  • (String)


5589
5590
5591
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 5589

def reccurrence_period_duration
  @reccurrence_period_duration
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5596
5597
5598
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 5596

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