class Google::Apis::DlpV2::GooglePrivacyDlpV2CreateJobTriggerRequest

Request message for CreateJobTrigger.

Attributes

job_trigger[RW]

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` @return [Google::Apis::DlpV2::GooglePrivacyDlpV2JobTrigger]

location_id[RW]

Deprecated. This field has no effect. Corresponds to the JSON property `locationId` @return [String]

trigger_id[RW]

The trigger id can contain uppercase and lowercase letters, numbers, and hyphens; that is, it must match the regular expression: `[a-zA-Zd-_]+`. The maximum length is 100 characters. Can be empty to allow the system to generate one. Corresponds to the JSON property `triggerId` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dlp_v2/classes.rb, line 1238
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dlp_v2/classes.rb, line 1243
def update!(**args)
  @job_trigger = args[:job_trigger] if args.key?(:job_trigger)
  @location_id = args[:location_id] if args.key?(:location_id)
  @trigger_id = args[:trigger_id] if args.key?(:trigger_id)
end