Class: Google::Apis::DlpV2::GooglePrivacyDlpV2InspectJobConfig

Inherits:
Object
  • Object
show all
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

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

Returns a new instance of GooglePrivacyDlpV2InspectJobConfig



2966
2967
2968
# File 'generated/google/apis/dlp_v2/classes.rb', line 2966

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

Instance Attribute Details

#actionsArray<Google::Apis::DlpV2::GooglePrivacyDlpV2Action>

Actions to execute at the completion of the job. Corresponds to the JSON property actions



2945
2946
2947
# File 'generated/google/apis/dlp_v2/classes.rb', line 2945

def actions
  @actions
end

#inspect_configGoogle::Apis::DlpV2::GooglePrivacyDlpV2InspectConfig

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



2952
2953
2954
# File 'generated/google/apis/dlp_v2/classes.rb', line 2952

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)


2959
2960
2961
# File 'generated/google/apis/dlp_v2/classes.rb', line 2959

def inspect_template_name
  @inspect_template_name
end

#storage_configGoogle::Apis::DlpV2::GooglePrivacyDlpV2StorageConfig

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



2964
2965
2966
# File 'generated/google/apis/dlp_v2/classes.rb', line 2964

def storage_config
  @storage_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2971
2972
2973
2974
2975
2976
# File 'generated/google/apis/dlp_v2/classes.rb', line 2971

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