Class: Google::Apis::DlpV2::GooglePrivacyDlpV2DeidentifyContentResponse

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

Overview

Results of de-identifying a ContentItem.

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

Returns a new instance of GooglePrivacyDlpV2DeidentifyContentResponse.



1873
1874
1875
# File 'generated/google/apis/dlp_v2/classes.rb', line 1873

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

Instance Attribute Details

#itemGoogle::Apis::DlpV2::GooglePrivacyDlpV2ContentItem

Container structure for the content to inspect. Corresponds to the JSON property item



1866
1867
1868
# File 'generated/google/apis/dlp_v2/classes.rb', line 1866

def item
  @item
end

#overviewGoogle::Apis::DlpV2::GooglePrivacyDlpV2TransformationOverview

Overview of the modifications that occurred. Corresponds to the JSON property overview



1871
1872
1873
# File 'generated/google/apis/dlp_v2/classes.rb', line 1871

def overview
  @overview
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1878
1879
1880
1881
# File 'generated/google/apis/dlp_v2/classes.rb', line 1878

def update!(**args)
  @item = args[:item] if args.key?(:item)
  @overview = args[:overview] if args.key?(:overview)
end