Class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectDataSourceRequest

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 for scheduling a scan of a data subset from a Google Platform data repository.

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

Returns a new instance of GooglePrivacyDlpV2beta2InspectDataSourceRequest



3759
3760
3761
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 3759

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

Instance Attribute Details

#job_configGoogle::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectJobConfig

A configuration for the job. Corresponds to the JSON property jobConfig



3748
3749
3750
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 3748

def job_config
  @job_config
end

#job_idString

Optional job ID to use for the created job. If not provided, a job ID will automatically be generated. Must be unique within the project. 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

Returns:

  • (String)


3757
3758
3759
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 3757

def job_id
  @job_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3764
3765
3766
3767
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 3764

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