Class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectJobConfig

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

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

Returns a new instance of GooglePrivacyDlpV2beta2InspectJobConfig



3426
3427
3428
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 3426

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

Instance Attribute Details

#inspect_configGoogle::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2InspectConfig

Configuration description of the scanning process. When used with redactContent only info_types and min_likelihood are currently used. Corresponds to the JSON property inspectConfig



3407
3408
3409
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 3407

def inspect_config
  @inspect_config
end

#inspect_template_nameString

If provided, will be used as the default for all values in InspectConfig. inspect_config will be merged into the values persisted as part of the template. Corresponds to the JSON property inspectTemplateName

Returns:

  • (String)


3414
3415
3416
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 3414

def inspect_template_name
  @inspect_template_name
end

#output_configGoogle::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2OutputStorageConfig

Cloud repository for storing output. Corresponds to the JSON property outputConfig



3419
3420
3421
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 3419

def output_config
  @output_config
end

#storage_configGoogle::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2StorageConfig

Shared message indicating Cloud storage type. Corresponds to the JSON property storageConfig



3424
3425
3426
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 3424

def storage_config
  @storage_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3431
3432
3433
3434
3435
3436
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 3431

def update!(**args)
  @inspect_config = args[:inspect_config] if args.key?(:inspect_config)
  @inspect_template_name = args[:inspect_template_name] if args.key?(:inspect_template_name)
  @output_config = args[:output_config] if args.key?(:output_config)
  @storage_config = args[:storage_config] if args.key?(:storage_config)
end