Class: Google::Apis::DlpV2::GooglePrivacyDlpV2HybridContentItem

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

An individual hybrid item to inspect. Will be stored temporarily during processing.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2HybridContentItem

Returns a new instance of GooglePrivacyDlpV2HybridContentItem.



2910
2911
2912
# File 'lib/google/apis/dlp_v2/classes.rb', line 2910

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

Instance Attribute Details

#finding_detailsGoogle::Apis::DlpV2::GooglePrivacyDlpV2HybridFindingDetails

Populate to associate additional data with each finding. Corresponds to the JSON property findingDetails



2903
2904
2905
# File 'lib/google/apis/dlp_v2/classes.rb', line 2903

def finding_details
  @finding_details
end

#itemGoogle::Apis::DlpV2::GooglePrivacyDlpV2ContentItem

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



2908
2909
2910
# File 'lib/google/apis/dlp_v2/classes.rb', line 2908

def item
  @item
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2915
2916
2917
2918
# File 'lib/google/apis/dlp_v2/classes.rb', line 2915

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