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



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

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



969
970
971
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 969

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



976
977
978
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 976

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



982
983
984
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 982

def items
  @items
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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