Class: Google::Apis::DlpV2::GooglePrivacyDlpV2UpdateJobTriggerRequest
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2UpdateJobTriggerRequest
- 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
Request message for UpdateJobTrigger.
Instance Attribute Summary collapse
-
#job_trigger ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger
Contains a configuration to make API calls on a repeating basis.
-
#update_mask ⇒ String
Mask to control which fields get updated.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2UpdateJobTriggerRequest
constructor
A new instance of GooglePrivacyDlpV2UpdateJobTriggerRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2UpdateJobTriggerRequest
Returns a new instance of GooglePrivacyDlpV2UpdateJobTriggerRequest.
10522 10523 10524 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 10522 def initialize(**args) update!(**args) end |
Instance Attribute Details
#job_trigger ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger
Contains a configuration to make API calls on a repeating basis. See https://
cloud.google.com/sensitive-data-protection/docs/concepts-job-triggers to learn
more.
Corresponds to the JSON property jobTrigger
10515 10516 10517 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 10515 def job_trigger @job_trigger end |
#update_mask ⇒ String
Mask to control which fields get updated.
Corresponds to the JSON property updateMask
10520 10521 10522 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 10520 def update_mask @update_mask end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10527 10528 10529 10530 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 10527 def update!(**args) @job_trigger = args[:job_trigger] if args.key?(:job_trigger) @update_mask = args[:update_mask] if args.key?(:update_mask) end |