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



986
987
988
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 986

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



971
972
973
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 971

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



978
979
980
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 978

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



984
985
986
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 984

def items
  @items
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



991
992
993
994
995
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 991

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