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

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

Overview

Results of de-identifying a ContentItem.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2DeidentifyContentResponse

Returns a new instance of GooglePrivacyDlpV2DeidentifyContentResponse.



1803
1804
1805
# File 'lib/google/apis/dlp_v2/classes.rb', line 1803

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



1796
1797
1798
# File 'lib/google/apis/dlp_v2/classes.rb', line 1796

def item
  @item
end

#overviewGoogle::Apis::DlpV2::GooglePrivacyDlpV2TransformationOverview

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



1801
1802
1803
# File 'lib/google/apis/dlp_v2/classes.rb', line 1801

def overview
  @overview
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1808
1809
1810
1811
# File 'lib/google/apis/dlp_v2/classes.rb', line 1808

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