Class: Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDlpJobRequest
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2CreateDlpJobRequest
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dlp_v2/classes.rb,
 generated/google/apis/dlp_v2/representations.rb,
 generated/google/apis/dlp_v2/representations.rb
Overview
Request message for CreateDlpJobRequest. Used to initiate long running jobs such as calculating risk metrics or inspecting Google Cloud Storage.
Instance Attribute Summary collapse
- 
  
    
      #inspect_job  ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2InspectJobConfig 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Corresponds to the JSON property inspectJob.
- 
  
    
      #job_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The job id can contain uppercase and lowercase letters, numbers, and hyphens; that is, it must match the regular expression: [a-zA-Z\\d-]+.
- 
  
    
      #risk_job  ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2RiskAnalysisJobConfig 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Configuration for a risk analysis job. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GooglePrivacyDlpV2CreateDlpJobRequest 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of GooglePrivacyDlpV2CreateDlpJobRequest. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2CreateDlpJobRequest
Returns a new instance of GooglePrivacyDlpV2CreateDlpJobRequest
| 872 873 874 | # File 'generated/google/apis/dlp_v2/classes.rb', line 872 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#inspect_job ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2InspectJobConfig
Corresponds to the JSON property inspectJob
| 857 858 859 | # File 'generated/google/apis/dlp_v2/classes.rb', line 857 def inspect_job @inspect_job end | 
#job_id ⇒ String
The job id can contain uppercase and lowercase letters,
numbers, and hyphens; that is, it must match the regular
expression: [a-zA-Z\\d-]+. The maximum length is 100
characters. Can be empty to allow the system to generate one.
Corresponds to the JSON property jobId
| 865 866 867 | # File 'generated/google/apis/dlp_v2/classes.rb', line 865 def job_id @job_id end | 
#risk_job ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2RiskAnalysisJobConfig
Configuration for a risk analysis job.
Corresponds to the JSON property riskJob
| 870 871 872 | # File 'generated/google/apis/dlp_v2/classes.rb', line 870 def risk_job @risk_job end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 877 878 879 880 881 | # File 'generated/google/apis/dlp_v2/classes.rb', line 877 def update!(**args) @inspect_job = args[:inspect_job] if args.key?(:inspect_job) @job_id = args[:job_id] if args.key?(:job_id) @risk_job = args[:risk_job] if args.key?(:risk_job) end |