Class: Google::Apis::DlpV2::GooglePrivacyDlpV2UpdateJobTriggerRequest

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

Request message for UpdateJobTrigger.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2UpdateJobTriggerRequest

Returns a new instance of GooglePrivacyDlpV2UpdateJobTriggerRequest.



7443
7444
7445
# File 'lib/google/apis/dlp_v2/classes.rb', line 7443

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

Instance Attribute Details

#job_triggerGoogle::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger

Contains a configuration to make dlp api calls on a repeating basis. See https: //cloud.google.com/dlp/docs/concepts-job-triggers to learn more. Corresponds to the JSON property jobTrigger



7436
7437
7438
# File 'lib/google/apis/dlp_v2/classes.rb', line 7436

def job_trigger
  @job_trigger
end

#update_maskString

Mask to control which fields get updated. Corresponds to the JSON property updateMask

Returns:

  • (String)


7441
7442
7443
# File 'lib/google/apis/dlp_v2/classes.rb', line 7441

def update_mask
  @update_mask
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7448
7449
7450
7451
# File 'lib/google/apis/dlp_v2/classes.rb', line 7448

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