class Google::Apis::DlpV2::GooglePrivacyDlpV2ContentItem

Container structure for the content to inspect.

Attributes

byte_item[RW]

Container for bytes to inspect or redact. Corresponds to the JSON property `byteItem` @return [Google::Apis::DlpV2::GooglePrivacyDlpV2ByteContentItem]

table[RW]

Structured content to inspect. Up to 50,000 `Value`s per request allowed. See cloud.google.com/dlp/docs/inspecting-structured-text# inspecting_a_table to learn more. Corresponds to the JSON property `table` @return [Google::Apis::DlpV2::GooglePrivacyDlpV2Table]

value[RW]

String data to inspect or redact. Corresponds to the JSON property `value` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dlp_v2/classes.rb, line 1026
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dlp_v2/classes.rb, line 1031
def update!(**args)
  @byte_item = args[:byte_item] if args.key?(:byte_item)
  @table = args[:table] if args.key?(:table)
  @value = args[:value] if args.key?(:value)
end