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.



2986
2987
2988
# File 'lib/google/apis/dlp_v2/classes.rb', line 2986

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

Instance Attribute Details

#itemGoogle::Apis::DlpV2::GooglePrivacyDlpV2ContentItem

Type of content to inspect. Corresponds to the JSON property item



2979
2980
2981
# File 'lib/google/apis/dlp_v2/classes.rb', line 2979

def item
  @item
end

#overviewGoogle::Apis::DlpV2::GooglePrivacyDlpV2TransformationOverview

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



2984
2985
2986
# File 'lib/google/apis/dlp_v2/classes.rb', line 2984

def overview
  @overview
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2991
2992
2993
2994
# File 'lib/google/apis/dlp_v2/classes.rb', line 2991

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