Class: Google::Apis::DlpV2::GooglePrivacyDlpV2Trigger
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2Trigger
 
- 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
What event needs to occur for a new job to be started.
Instance Attribute Summary collapse
- 
  
    
      #manual  ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2Manual 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Job trigger option for hybrid jobs. 
- 
  
    
      #schedule  ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2Schedule 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Schedule for inspect job triggers. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GooglePrivacyDlpV2Trigger 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of GooglePrivacyDlpV2Trigger. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2Trigger
Returns a new instance of GooglePrivacyDlpV2Trigger.
| 9789 9790 9791 | # File 'lib/google/apis/dlp_v2/classes.rb', line 9789 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#manual ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2Manual
Job trigger option for hybrid jobs. Jobs must be manually created and finished.
Corresponds to the JSON property manual
| 9782 9783 9784 | # File 'lib/google/apis/dlp_v2/classes.rb', line 9782 def manual @manual end | 
#schedule ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2Schedule
Schedule for inspect job triggers.
Corresponds to the JSON property schedule
| 9787 9788 9789 | # File 'lib/google/apis/dlp_v2/classes.rb', line 9787 def schedule @schedule end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 9794 9795 9796 9797 | # File 'lib/google/apis/dlp_v2/classes.rb', line 9794 def update!(**args) @manual = args[:manual] if args.key?(:manual) @schedule = args[:schedule] if args.key?(:schedule) end |