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

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

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

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

Returns a new instance of GooglePrivacyDlpV2HybridContentItem.



2785
2786
2787
# File 'generated/google/apis/dlp_v2/classes.rb', line 2785

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



2778
2779
2780
# File 'generated/google/apis/dlp_v2/classes.rb', line 2778

def finding_details
  @finding_details
end

#itemGoogle::Apis::DlpV2::GooglePrivacyDlpV2ContentItem

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



2783
2784
2785
# File 'generated/google/apis/dlp_v2/classes.rb', line 2783

def item
  @item
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2790
2791
2792
2793
# File 'generated/google/apis/dlp_v2/classes.rb', line 2790

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