Class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1DeidentifyContentRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dlp_v2beta1/classes.rb,
generated/google/apis/dlp_v2beta1/representations.rb,
generated/google/apis/dlp_v2beta1/representations.rb

Overview

Request to de-identify a list of items.

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

Returns a new instance of GooglePrivacyDlpV2beta1DeidentifyContentRequest



1070
1071
1072
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1070

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

Instance Attribute Details

#deidentify_configGoogle::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1DeidentifyConfig

The configuration that controls how the data will change. Corresponds to the JSON property deidentifyConfig



1055
1056
1057
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1055

def deidentify_config
  @deidentify_config
end

#inspect_configGoogle::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InspectConfig

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



1062
1063
1064
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1062

def inspect_config
  @inspect_config
end

#itemsArray<Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ContentItem>

The list of items to inspect. Up to 100 are allowed per request. All items will be treated as text/*. Corresponds to the JSON property items



1068
1069
1070
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1068

def items
  @items
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1075
1076
1077
1078
1079
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 1075

def update!(**args)
  @deidentify_config = args[:deidentify_config] if args.key?(:deidentify_config)
  @inspect_config = args[:inspect_config] if args.key?(:inspect_config)
  @items = args[:items] if args.key?(:items)
end