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



3619
3620
3621
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 3619

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



3608
3609
3610
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 3608

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)


3617
3618
3619
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 3617

def job_id
  @job_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3624
3625
3626
3627
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 3624

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