Class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2UpdateJobTriggerRequest

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

Request message for UpdateJobTrigger.

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

Returns a new instance of GooglePrivacyDlpV2beta2UpdateJobTriggerRequest



6076
6077
6078
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 6076

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

Instance Attribute Details

#job_triggerGoogle::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2JobTrigger

Contains a configuration to make dlp api calls on a repeating basis. Corresponds to the JSON property jobTrigger



6069
6070
6071
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 6069

def job_trigger
  @job_trigger
end

#update_maskString

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

Returns:

  • (String)


6074
6075
6076
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 6074

def update_mask
  @update_mask
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6081
6082
6083
6084
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 6081

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