Class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Trigger

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

What event needs to occur for a new job to be started.

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) ⇒ GooglePrivacyDlpV2beta2Trigger

Returns a new instance of GooglePrivacyDlpV2beta2Trigger



5979
5980
5981
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 5979

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

Instance Attribute Details

#scheduleGoogle::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Schedule

Schedule for triggeredJobs. Corresponds to the JSON property schedule



5977
5978
5979
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 5977

def schedule
  @schedule
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5984
5985
5986
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 5984

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