Class: Google::Apis::DlpV2::GooglePrivacyDlpV2Trigger
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2Trigger
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dlp_v2/classes.rb,
generated/google/apis/dlp_v2/representations.rb,
generated/google/apis/dlp_v2/representations.rb
Overview
What event needs to occur for a new job to be started.
Instance Attribute Summary collapse
-
#schedule ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2Schedule
Schedule for triggeredJobs.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2Trigger
constructor
A new instance of GooglePrivacyDlpV2Trigger.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2Trigger
Returns a new instance of GooglePrivacyDlpV2Trigger
4465 4466 4467 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 4465 def initialize(**args) update!(**args) end |
Instance Attribute Details
#schedule ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2Schedule
Schedule for triggeredJobs.
Corresponds to the JSON property schedule
4463 4464 4465 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 4463 def schedule @schedule end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4470 4471 4472 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 4470 def update!(**args) @schedule = args[:schedule] if args.key?(:schedule) end |